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.
Build: NetBeans IDE Dev (Build 201002150200) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025 OS: Mac OS X User Comments: mschovanek: Started NB with some projects opened. Stacktrace: java.lang.AssertionError at org.netbeans.modules.maven.classpath.EndorsedClassPathImpl.getResources(EndorsedClassPathImpl.java:85) at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:305) at org.netbeans.api.java.classpath.ClassPath.<init>(ClassPath.java:355) at org.netbeans.api.java.classpath.ClassPath.<init>(ClassPath.java:108) at org.netbeans.api.java.classpath.ClassPath$1.createClassPath(ClassPath.java:113) at org.netbeans.spi.java.classpath.ClassPathFactory.createClassPath(ClassPathFactory.java:66)
Created attachment 94162 [details] stacktrace
Created attachment 94170 [details] stacktrace opened a maven project
This prevents me from opening any Maven projects. P1.
*** Bug 180746 has been marked as a duplicate of this bug. ***
Nothing to do with #180536. Circular definition problem; code was relying on unstated assumptions about when certain methods would be called, which then changed. Improved: core-main #bcf5d4e61572 BTW tzezula's changes (coming in jet-main I think) would also make this exception disappear.
Just out of curiosity: what's "jet-main"?
http://hg.netbeans.org/jet-main/rev/52c0bc149cd4
Created attachment 94177 [details] Save as $NBHOME/java/modules/patches/org-netbeans-modules-maven/180746.jar
I see, so the editor team (and presumably the other teams as well) uses a separate repository which gets merged into the main repository? BTW, the patch works here, although there is a disquietingly long pause at startup.
(In reply to comment #9) > so the editor team (and presumably the other teams as well) uses a > separate repository which gets merged into the main repository? main is a (deprecated) team repository; all team repos get merged into main-silver. http://wiki.netbeans.org/HgParallelProjectIntegration
*** Bug 180758 has been marked as a duplicate of this bug. ***
The problem seems to have gone away for me in the today's (or yesterday's) build, without the patch. Verified?
(In reply to comment #12) > today's (or yesterday's) build, without the patch See bug #180746 comment #2.
yup
Whoops, am I allowed to verify someone else's bug?
Thanks for the verification, it is absolutely correct. If you are able check the fix you can verify it.