Community
Participate
Working Groups
Build Identifier: e3.7 20110615-0604 / m2e 1.0.0.20110607-2117 See the stacktrace: !ENTRY org.eclipse.core.jobs 4 2 2011-06-26 10:03:24.597 !MESSAGE An internal error occurred during: "Updating indexes". !STACK 0 java.lang.NullPointerException at org.eclipse.m2e.core.MavenPlugin.getMavenConfiguration(MavenPlugin.java:61) at org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager.updateIndex(NexusIndexManager.java:1079) at org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager$1.run(NexusIndexManager.java:658) at org.eclipse.m2e.core.internal.index.nexus.IndexUpdaterJob.run(IndexUpdaterJob.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Reproducible: Didn't try
MavenPluginActivator.getDefault().getMavenConfiguration() is where the NPE appears. The code in stacktrace is called after MavenPluginActivator.stop() is being called and reference to the MavenPluginActivator static reference is nullified. Not sure if the proper solution is to not nullify the ref or check for null when calling MavenPluginActivator.getDefault()
Closing old/stale bugreports.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/