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 125425 - NPE when adding generic server
Summary: NPE when adding generic server
Status: RESOLVED DUPLICATE of bug 125289
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: 2008-01-16 19:44 UTC by Lukas Jungmann
Modified: 2008-01-18 13:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 20450


Attachments
stacktrace (17.72 KB, text/plain)
2008-01-16 19:44 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-01-16 19:44:28 UTC
Build: NetBeans IDE Dev (Build 20080116163858)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
-have base Java IDE
-install RESTful ws, GlassFish, webapps and Java EE plugins
-restart IDE
-go to add server wizard
-choose Generic server and press Next

=> SEVERE [global]
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)
...
Comment 1 Lukas Jungmann 2008-01-16 19:44:35 UTC
Created attachment 55162 [details]
stacktrace
Comment 2 Lukas Jungmann 2008-01-16 19:50:00 UTC
grrr, I meant j2eeserver...
Comment 3 Petr Hejl 2008-01-16 20:14:29 UTC
Quite strange, seems to be the duplicate of the issue 125289.
Comment 4 Lukas Jungmann 2008-01-16 20:24:37 UTC
my build is quite fresh - hudson#5249 (~2,5h old...)...
Comment 5 Petr Hejl 2008-01-16 21:52:58 UTC
I would guess fresh build, however old plugins on update center. I tried with trunk build and this should really work.
Comment 6 Lukas Jungmann 2008-01-16 21:55:34 UTC
ok, will try this tomorrow and let you know...
Comment 7 Petr Hejl 2008-01-18 13:18:48 UTC
I've tested it again with fresh build and this works as expected (no generic server available). Closing as duplicate of
the issue 125289.

Feel free to reopen if it is still reproducible for you.

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