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 157172 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getInstanceFileObject
Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerRegis...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 02:48 UTC by timmis
Modified: 2009-10-07 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 145394


Attachments
stacktrace (2.16 KB, text/plain)
2009-01-21 02:48 UTC, timmis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description timmis 2009-01-21 02:48:50 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows Vista, 6.0, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getInstanceFileObject(ServerRegistry.java:331)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDisconnectedDeploymentManager(ServerInstance.java:287)
        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:308)
Comment 1 timmis 2009-01-21 02:48:55 UTC
Created attachment 76065 [details]
stacktrace
Comment 2 Petr Hejl 2009-10-06 15:54:59 UTC
Really not sure how this could happen - no duplicate. I tried to fix it in web-main 35d58753bf84.
Comment 3 Quality Engineering 2009-10-07 12:45:02 UTC
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/35d58753bf84
User: phejl@netbeans.org
Log: #157172 NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getInstanceFileObject