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 154737 - NullPointerException at org.openide.util.lookup.InstanceContent$SimpleItem.<init>
Summary: NullPointerException at org.openide.util.lookup.InstanceContent$SimpleItem.<i...
Status: RESOLVED DUPLICATE of bug 154713
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 13:46 UTC by Filip Zamboj
Modified: 2009-06-21 13:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 143962


Attachments
stacktrace (7.35 KB, text/plain)
2008-12-05 13:46 UTC, Filip Zamboj
Details
stacktrace (614 bytes, text/plain)
2008-12-05 13:49 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2008-12-05 13:46:44 UTC
Build: NetBeans IDE Dev (Build 081204)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-9-generic, i386

User Comments:
fzamboj: ergonomic IDE
NPE when Adding Server Instance Domain 

1. Add Server
2. Download V3 Glassfish
3. Next (not finish)
4. Domain Location: domain1
5. NPE



Stacktrace: 
java.lang.NullPointerException
        at org.openide.util.lookup.InstanceContent$SimpleItem.<init>(InstanceContent.java:180)
        at org.openide.util.lookup.InstanceContent.add(InstanceContent.java:86)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:155)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:123)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:181)
        at org.netbeans.modules.glassfish.common.wizards.ServerWizardIterator.instantiate(ServerWizardIterator.java:146)
Comment 1 Filip Zamboj 2008-12-05 13:46:50 UTC
Created attachment 74596 [details]
stacktrace
Comment 2 Filip Zamboj 2008-12-05 13:49:45 UTC
Build: NetBeans IDE Dev (Build 081204)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-9-generic, i386

User Comments: 
ergonomic IDE
(could depend or be duplicate of report #144370)
Thrown right after Glassgish V3 was added with no default domain (i change to domain 2 caused I already could have domain1 registered by another instalation of NB)

1. go through the process of adding a server
2. change the domain name
3. finish 
4. NPE

Stacktrace: 
java.lang.NullPointerException
        at org.openide.util.lookup.InstanceContent$SimpleItem.<init>(InstanceContent.java:180)
        at org.openide.util.lookup.InstanceContent.add(InstanceContent.java:86)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:155)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:123)
        at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:187)
        at org.netbeans.modules.glassfish.common.CreateDomain.run(CreateDomain.java:196)
Comment 3 Filip Zamboj 2008-12-05 13:49:49 UTC
Created attachment 74597 [details]
stacktrace
Comment 4 Jaroslav Tulach 2008-12-17 17:38:21 UTC
Works for me in my build from Dec 17. Probably caused by issue 154713.

*** This issue has been marked as a duplicate of 154713 ***