nb-springboot: Exception is thrown when saving changes in pom.xml

Hi, after saving a modification in the pom.xml a warning message and an exception is thrown:

image the message continues with the project’s directory path.

The exception is java.lang.NullPointerException at com.github.alexfalappa.nbspringboot.projects.service.impl.SpringBootServiceImpl.adjustNbActions(SpringBootServiceImpl.java:374) at com.github.alexfalappa.nbspringboot.projects.service.impl.SpringBootServiceImpl.refresh(SpringBootServiceImpl.java:122) at com.github.alexfalappa.nbspringboot.projects.service.impl.SpringBootServiceImpl$1.propertyChange(SpringBootServiceImpl.java:271) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at org.netbeans.modules.maven.api.NbMavenProject.doFireReload(NbMavenProject.java:573) at org.netbeans.modules.maven.api.NbMavenProject.access$200(NbMavenProject.java:95) at org.netbeans.modules.maven.api.NbMavenProject$AccessorImpl.doFireReload(NbMavenProject.java:141) at org.netbeans.modules.maven.NbMavenProjectImpl$1.run(NbMavenProjectImpl.java:151) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 19 (6 by maintainers)

Most upvoted comments

I just installed the update and works fine to me! Tks so much, @AlexFalappa

It seems to be triggered by performing changes to the pom.xml while the application is running.