cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot invoke "String.startsWith(String)" because "prefix" is null

sake402
Associate

I just updated my STM32 plugin in eclipse and now I cant compile anymore.

```

Errors occurred during the build.

Errors running builder 'CDT Builder' on project 'STMTest'.

Cannot invoke "String.startsWith(String)" because "prefix" is null

```

Always this error and in the log file too

2 REPLIES 2
Pavel A.
Super User

I just updated my STM32 plugin in eclipse 

What is your STM32 plugin?  in which Eclipse? CubeIDE is a customized Eclipse version. Adding 3rd party plugins to it is possible (as long as it "works") - but can put you in unsupported situation.

 

TDK
Super User

Un-update it (i.e. roll back) or switch over to STM32CubeIDE.

Be wary when updating tools, especially unsupported ones, don't update unless there's a reason, and keep a fall-back plan.

If you feel a post has answered your question, please click "Accept as Solution".