question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception is thrown when saving changes in pom.xml

See original GitHub issue

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)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dellasaviacommented, Jul 26, 2018

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

1reaction
everfluxcommented, Jun 8, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting Unknown error in line 1 of pom.xml?
1.Go to Project in toolbar -> Unchecked "Build Automatically" · 2.In POM File,Downgrade the spring-boot version to 2.1.4 RELEASE. · 3.Right Click ...
Read more >
UnresolvableModelException - Apache Maven
This error is raised when your POM inherits from a parent POM or imports another POM that Maven could not download. Possible causes...
Read more >
Error "The field exportedResources must not be defined or be ...
This article explains why error "The field exportedResources must not be defined or be empty" is thrown and way to use property in...
Read more >
JUnit 5 User Guide
You'll find appropriate build scripts (e.g., build.gradle , pom.xml , etc.) ... assertDoesNotThrow("Should not throw an exception") { calculator.divide(0, ...
Read more >
11.4. Writing a Custom Plugin
In this situation you would throw a MojoFailureException . Maven provides for different "resiliency" settings when it comes to project failure. Which are ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found