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

Summary: NullPointerException at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.getServerVersion
Product: serverplugins Reporter: tnleeuw <tnleeuw>
Component: JBossAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: rdion, wklaczynski
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198555
Attachments: stacktrace

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. ***