This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was reported manually by mjanicek. It already has 26 duplicates Build: NetBeans IDE 7.3 (Build 201306052037) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Linux User Comments: GUEST: Building a maven project GUEST: I don't know the reason of this exception GUEST: errr ejvyas: JUnit with Spring GUEST: Error root not null xtecuan: Error al trabajar con GlassFish Server Open Source Edition 3.1.2.2 (build 5) en netbeans 7.3.1 GUEST: Started netbeans and the error shows up crued: Working with several maven projects, some of which depend on others. Switching back into the source view for the client of the jars produced by the others seems to cause this error. This seems to prevent other source editing features from working properly, like "Fix Imports." It seems that the IDE is completely unaware of some of the classes contained in the upstream projects. Unfortunately, I'm not exactly sure how to reproduce. It seems to get better for a little while after clearing out the cache directory under .netbeans, but then re-appears. It may be nice to skip past this condition to allow source scanning to continue properly, perhaps with reporting the error condition? Wish I had more info (maybe the trace has more) GUEST: project opening xtecuan: in maven projects abien: Problem happend during experiments with JBoss 7.1.1 hot deployment GUEST: new a web filter Stacktrace: java.lang.IllegalArgumentException: Root cannot be null. at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:85) at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:68) at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.<init>(SimplePathResourceImplementation.java:126) at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:77) at org.netbeans.modules.maven.classpath.EndorsedClassPathImpl.getResources(EndorsedClassPathImpl.java:128) at org.netbeans.modules.maven.classpath.BootClassPathImpl.getResources(BootClassPathImpl.java:97)
Created attachment 139826 [details] stacktrace
http://hg.netbeans.org/core-main/rev/2d2bb8baec34
Integrated into 'main-silver', will be available in build *201309120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2d2bb8baec34 User: Milos Kleint <mkleint@netbeans.org> Log: #235687 always check for null before passing to createResource method
*** Bug 254538 has been marked as a duplicate of this bug. ***