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 125289 - NPE is thrown when generic server type is selected
Summary: NPE is thrown when generic server type is selected
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 125288 125356 125425 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-15 13:47 UTC by Petr Blaha
Modified: 2008-03-28 20:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (17.72 KB, text/plain)
2008-01-15 14:37 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2008-01-15 13:47:51 UTC
[NB build 080115]
Steps:
1) got ot Service tab
2) choose server node and try to add 'Generic server'
ERROR: the exception
java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.deployment.impl.bridge.BridgingServerWizardProvider$InstantiatingIteratorBridge.initialize(BridgingServerWizardProvider.java:116)
	at
org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.getServerIterator(AddServerInstanceWizard.java:298)
	at
org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.nextPanel(AddServerInstanceWizard.java:240)
	at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:1857)

is thrown
Comment 1 Petr Blaha 2008-01-15 14:05:24 UTC
*** Issue 125288 has been marked as a duplicate of this issue. ***
Comment 2 Petr Blaha 2008-01-15 14:37:02 UTC
Build: NetBeans IDE Dev (Build 080115)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
Try to register 'Generic server'
Comment 3 Petr Blaha 2008-01-15 14:37:05 UTC
Created attachment 55076 [details]
stacktrace
Comment 4 Petr Hejl 2008-01-15 15:43:20 UTC
Fixed.

Checking in AbstractServerLookup.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/bridge/AbstractServerLookup.java,v  <-- 
AbstractServerLookup.java
new revision: 1.2; previous revision: 1.1
done
Checking in BridgingServerWizardProvider.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/bridge/BridgingServerWizardProvider.java,v  <-- 
BridgingServerWizardProvider.java
new revision: 1.2; previous revision: 1.1
done
Comment 5 Petr Hejl 2008-01-18 13:18:31 UTC
*** Issue 125425 has been marked as a duplicate of this issue. ***
Comment 6 Petr Hejl 2008-03-28 20:32:02 UTC
*** Issue 125356 has been marked as a duplicate of this issue. ***