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 171348 - NullPointerException: The key parameter cannot be null
Summary: NullPointerException: The key parameter cannot be null
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-09-02 18:26 UTC by Troy Giunipero
Modified: 2009-09-18 22:39 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157764


Attachments
stacktrace (3.28 KB, text/plain)
2009-09-02 18:26 UTC, Troy Giunipero
Details
stacktrace (1.11 KB, text/plain)
2009-09-11 21:40 UTC, silaspc
Details
stacktrace (3.21 KB, text/plain)
2009-09-16 23:40 UTC, smsmithee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Giunipero 2009-09-02 18:26:10 UTC
This issue was originally marked as duplicate of issue 165840, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909010201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments:
tgiunipero: A previous NetBeans installation included a GlassFish server named 'sges-v3-prelude'.  When running this dev build, I used settings from the already-created 6.7 profile.  Previously, the GlassFish Prelude instance was listed fine in the Servers manager.  Now, with this build, it listed "Bogus name" - and so I removed it.  But in the Services window, a GF node continues to display without any text.



Stacktrace: 
java.lang.NullPointerException: The key parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.core.output2.PairMap.add(PairMap.java:103)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:118)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:97)
        at org.netbeans.modules.j2ee.deployment.plugins.api.UISupport.getServerIO(UISupport.java:162)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.remove(ServerInstance.java:428)
Comment 1 Troy Giunipero 2009-09-02 18:26:16 UTC
Created attachment 86996 [details]
stacktrace
Comment 2 eppesuigoccas 2009-09-07 19:41:07 UTC
Same problem here: upgrading from 6.7 to 200909040632. The server (tomcat 6.0.18) cannot be started correctly and cannot
be removed. When removing it I get this error.
Comment 3 silaspc 2009-09-11 21:40:06 UTC
This issue was originally marked as duplicate of issue 165840, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, i386

User Comments: 
When start debug webproject

Stacktrace: 
java.lang.NullPointerException: The key parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.core.output2.PairMap.add(PairMap.java:103)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:118)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:97)
        at org.netbeans.modules.j2ee.deployment.plugins.api.UISupport.getServerIO(UISupport.java:162)
        at org.netbeans.modules.tomcat5.util.ServerLog.<init>(ServerLog.java:103)
Comment 4 silaspc 2009-09-11 21:40:10 UTC
Created attachment 87527 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-09-16 15:57:39 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157764
Comment 6 Petr Hejl 2009-09-16 16:03:42 UTC
In fact this is another manifestation of issue 172219.

Mentioned code is now more defensive - web-main 68e73acfb5a0.
Comment 7 smsmithee 2009-09-16 23:40:05 UTC
Build: NetBeans IDE Dev (Build 200909151512)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
Glassfish v2.1 is showin up as null on my servers list. I cannot remove it and I cannot interact with it outside of starting/stopping and deploying/undeploying.

Stacktrace: 
java.lang.NullPointerException: The key parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.core.output2.PairMap.add(PairMap.java:103)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:118)
        at org.netbeans.core.output2.NbIOProvider.getIO(NbIOProvider.java:97)
        at org.netbeans.modules.j2ee.deployment.plugins.api.UISupport.getServerIO(UISupport.java:162)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.remove(ServerInstance.java:428)
Comment 8 smsmithee 2009-09-16 23:40:11 UTC
Created attachment 87803 [details]
stacktrace
Comment 9 Exceptions Reporter 2009-09-16 23:40:16 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157764
Comment 10 Quality Engineering 2009-09-18 22:39:06 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/68e73acfb5a0
User: phejl@netbeans.org
Log: #171348 NullPointerException: The key parameter cannot be null