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.
Product Version: NetBeans IDE Dev (Build 200807240010) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: SunOS version 5.10 running on sparc; UTF-8; en_US (nb) At netbeans startup (right when the welcome screen shows) i got this NPE java.lang.NullPointerException at org.netbeans.modules.glassfish.javaee.ide.Hk2PluginProperties.getClasses(Hk2PluginProperties.java:167) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.initLibraries(Hk2JavaEEPlatformImpl.java:309) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.(Hk2JavaEEPlatformImpl.java:80) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl(Hk2JavaEEPlatformFactory.java:54) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:318) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:97) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:117) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.createResources(GlobalSourcePath.java:281) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.access$1500(GlobalSourcePath.java:81) at org.netbeans.modules.java.source.classpath.GlobalSourcePath$SourcePathImplementation.getResources(GlobalSourcePath.java:503) at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:294) at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:1324) at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:1272) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:105) at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:1269) at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:1230) at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1560) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
Build: NetBeans IDE Dev (Build 200807251401) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Linux, 2.6.24-19-generic, i386 User Comments: Booting up newly installed 200807251401 and closing the "Reference Problems" Open Project Message Box. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.glassfish.javaee.ide.Hk2PluginProperties.getClasses(Hk2PluginProperties.java:167) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.initLibraries(Hk2JavaEEPlatformImpl.java:309) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.<init>(Hk2JavaEEPlatformImpl.java:80) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl(Hk2JavaEEPlatformFactory.java:54) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:318) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:97)
Build: NetBeans IDE Dev (Build 200807251401) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Linux, 2.6.24-19-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException
Created attachment 65684 [details] stacktrace
Created attachment 65685 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807251401) VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105 OS: Windows XP, 5.1, x86 User Comments: On java program debug run Stacktrace: java.lang.NullPointerException at org.netbeans.modules.glassfish.javaee.ide.Hk2PluginProperties.getClasses(Hk2PluginProperties.java:167) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.initLibraries(Hk2JavaEEPlatformImpl.java:309) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.<init>(Hk2JavaEEPlatformImpl.java:80) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl(Hk2JavaEEPlatformFactory.java:54) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:318) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:97)
Created attachment 65723 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807251401) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b11-fastdebug, Java(TM) SE Runtime Environment, 1.6.0_10-beta-fastdebug-b22 OS: Linux, 2.6.22-14-generic, amd64 User Comments: Regarding the Eclipse import task of Jiri. When I import my Eclipse projects I get many of these exceptions (and I mean may like over 1000). Stacktrace: java.lang.NullPointerException at org.netbeans.modules.glassfish.javaee.ide.Hk2PluginProperties.getClasses(Hk2PluginProperties.java:167) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.initLibraries(Hk2JavaEEPlatformImpl.java:309) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.<init>(Hk2JavaEEPlatformImpl.java:80) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl(Hk2JavaEEPlatformFactory.java:54) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:318) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:97)
Created attachment 65808 [details] stacktrace
Created attachment 65809 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807280848) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException
Created attachment 65846 [details] stacktrace
Reassigning to "j2ee" for evaluation.
*** This issue has been marked as a duplicate of 141888 ***
Yes #141888 is duplicate of this one. Verified