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 227947 - NullPointerException at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.getServerVersion
Summary: NullPointerException at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 226591 227225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-26 12:21 UTC by tnleeuw
Modified: 2013-04-15 11:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 198555


Attachments
stacktrace (3.85 KB, text/plain)
2013-03-26 12:21 UTC, tnleeuw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tnleeuw 2013-03-26 12:21:57 UTC
Build: NetBeans IDE Dev (Build 201303232300)
VM: Java HotSpot(TM) Client VM, 20.14-b01, Java(TM) SE Runtime Environment, 1.6.0_43-b01
OS: Windows Vista

User Comments:
tnleeuw: Right-clicked on JBoss server configuration which no longer exists on the file system (with intention to delete it from NetBeans too)

tnleeuw: As before; a JBoss instance configured in NetBeans no longer exists on the local file system.
Get this exception when clicking on it underneath the Servers node in the Services tab.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.getServerVersion(JBPluginUtils.java:739)
   at org.netbeans.modules.j2ee.jboss4.util.JBProperties.<init>(JBProperties.java:124)
   at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.getProperties(JBDeploymentManager.java:731)
   at org.netbeans.modules.j2ee.jboss4.nodes.JBManagerNode.isJB7x(JBManagerNode.java:213)
   at org.netbeans.modules.j2ee.jboss4.nodes.JBManagerNode.getActions(JBManagerNode.java:115)
   at org.netbeans.modules.j2ee.deployment.impl.ui.FilterXNode.getActions(FilterXNode.java:101)
Comment 1 tnleeuw 2013-03-26 12:21:59 UTC
Created attachment 133081 [details]
stacktrace
Comment 2 Petr Hejl 2013-04-04 09:59:11 UTC
Fixed in web-main fb84a11dc0ae.
Comment 3 Petr Hejl 2013-04-15 11:29:39 UTC
*** Bug 227225 has been marked as a duplicate of this bug. ***
Comment 4 Petr Hejl 2013-04-15 11:30:08 UTC
*** Bug 226591 has been marked as a duplicate of this bug. ***