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 201336 - NullPointerException at org.netbeans.modules.j2ee.deployment.impl.Server.getFactory
Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.impl.Server.getF...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 18:29 UTC by sreder
Modified: 2011-10-11 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146433


Attachments
stacktrace (4.27 KB, text/plain)
2011-08-25 18:29 UTC, sreder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreder 2011-08-25 18:29:52 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 1.5.0_22-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_22-b03
OS: Windows 7

User Comments:
GUEST: attempting to add a new Web Server




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.deployment.impl.Server.getFactory(Server.java:154)
   at org.netbeans.modules.j2ee.deployment.impl.Server.getDisplayName(Server.java:194)
   at org.netbeans.modules.j2ee.deployment.impl.bridge.BridgingServerWizardProvider.getDisplayName(BridgingServerWizardProvider.java:78)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual$WizardAdapter.compareTo(ServerWizardVisual.java:383)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual$WizardAdapter.compareTo(ServerWizardVisual.java:370)
   at java.util.Arrays.mergeSort(Arrays.java:1156)
Comment 1 sreder 2011-08-25 18:29:57 UTC
Created attachment 110221 [details]
stacktrace
Comment 2 Petr Jiricka 2011-10-06 11:24:33 UTC
Happened in NB 6.8 and earlier, so I assume this is fixed by now. Petr, can you please confirm?
Comment 3 Petr Hejl 2011-10-11 13:10:33 UTC
This seems to be fixed already. Might be caused by wrong plugin.