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.

Bug 141519 - NPE at startup
Summary: NPE at startup
Status: VERIFIED DUPLICATE of bug 141888
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/analyt...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 12:13 UTC by Petr Cyhelsky
Modified: 2008-10-07 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (3.69 KB, text/plain)
2008-07-25 22:09 UTC, esmithbss
Details
stacktrace (292 bytes, text/plain)
2008-07-25 22:09 UTC, esmithbss
Details
stacktrace (1.24 KB, text/plain)
2008-07-26 15:35 UTC, chronosmark
Details
stacktrace (2.39 KB, text/plain)
2008-07-28 15:22 UTC, marcelheijmans
Details
stacktrace (2.39 KB, text/plain)
2008-07-28 15:23 UTC, marcelheijmans
Details
stacktrace (255 bytes, text/plain)
2008-07-28 19:44 UTC, tomjnsn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2008-07-24 12:13:39 UTC
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)
Comment 1 esmithbss 2008-07-25 22:09:37 UTC
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)
Comment 2 esmithbss 2008-07-25 22:09:38 UTC
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
Comment 3 esmithbss 2008-07-25 22:09:52 UTC
Created attachment 65684 [details]
stacktrace
Comment 4 esmithbss 2008-07-25 22:09:53 UTC
Created attachment 65685 [details]
stacktrace
Comment 5 chronosmark 2008-07-26 15:35:12 UTC
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)
Comment 6 chronosmark 2008-07-26 15:35:16 UTC
Created attachment 65723 [details]
stacktrace
Comment 7 marcelheijmans 2008-07-28 15:22:34 UTC
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)
Comment 8 marcelheijmans 2008-07-28 15:22:44 UTC
Created attachment 65808 [details]
stacktrace
Comment 9 marcelheijmans 2008-07-28 15:23:09 UTC
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)
Comment 10 marcelheijmans 2008-07-28 15:23:13 UTC
Created attachment 65809 [details]
stacktrace
Comment 11 tomjnsn 2008-07-28 19:44:35 UTC
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
Comment 12 tomjnsn 2008-07-28 19:44:45 UTC
Created attachment 65846 [details]
stacktrace
Comment 13 Peter Pis 2008-08-01 14:22:07 UTC
Reassigning to "j2ee" for evaluation.
Comment 14 Vince Kraemer 2008-09-23 18:59:29 UTC

*** This issue has been marked as a duplicate of 141888 ***
Comment 15 Petr Cyhelsky 2008-10-07 18:16:23 UTC
Yes #141888 is duplicate of this one. Verified