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 195686 - [70cat] NullPointerException at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.existsDisplayName
Summary: [70cat] NullPointerException at org.netbeans.modules.server.ui.wizard.ServerW...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 02:06 UTC by doelf
Modified: 2011-02-23 23:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176811


Attachments
stacktrace (4.91 KB, text/plain)
2011-02-19 02:06 UTC, doelf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doelf 2011-02-19 02:06:29 UTC
This bug was originally marked as duplicate of bug 156855, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

User Comments:
GUEST: when add servers, like glassfish

doelf: Adding an application server is not possible

GUEST: This beta 2 is excellent! I cannot even add a new server. Expanding the branch "Servers" fails, adding a server fails. Shall I restart everything I just installed (5 minutes ago!)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.existsDisplayName(ServerWizardVisual.java:185)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.generateDisplayName(ServerWizardVisual.java:221)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.fillDisplayName(ServerWizardVisual.java:229)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.serverListBoxValueChanged(ServerWizardVisual.java:316)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.access$300(ServerWizardVisual.java:78)
   at org.netbeans.modules.server.ui.wizard.ServerWizardVisual$3.valueChanged(ServerWizardVisual.java:269)
Comment 1 doelf 2011-02-19 02:06:33 UTC
Created attachment 106181 [details]
stacktrace
Comment 2 Petr Hejl 2011-02-19 10:09:11 UTC
This is same bug over and over again (#194962). The infrastructure won't tolerate null instances returned by ServerInstanceProviders anymore - web-main 132ba9feba7a.

I checked the j2eeserver and it looks quite ok. Vince can you check the glassfish as it is the only other implementation of this SPI?
Comment 3 Quality Engineering 2011-02-20 10:34:07 UTC
Integrated into 'main-golden', will be available in build *201102200501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/132ba9feba7a
User: Petr Hejl <phejl@netbeans.org>
Log: #195686 [70cat] NullPointerException at org.netbeans.modules.server.ui.wizard.ServerWizardVisual.existsDisplayName
Comment 4 Quality Engineering 2011-02-22 05:24:24 UTC
Integrated into 'main-golden', will be available in build *201102220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/04117caed823
User: vince kraemer <vkraemer@netbeans.org>
Log: #195686 : prevent assertions