[
https://jira.jboss.org/jira/browse/JBIDE-2646?page=com.atlassian.jira.plu...
]
Rob Stryker resolved JBIDE-2646.
--------------------------------
Resolution: Done
I was unable to replicate, but null checks have been added.
Oddly enough, the only way the Document could be null is if an exception was logged in the
error log, so I'd encourage you to check if that was the case. Either way, a null
check has been added anyway.
Exceptions when editing server
------------------------------
Key: JBIDE-2646
URL:
https://jira.jboss.org/jira/browse/JBIDE-2646
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.alpha
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Fix For: 3.0.0.beta1
Checking out JBIDE-2235 I got exceptions when trying to select elements in the combo
boxes under "Server ports"
java.lang.NullPointerException
at
org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.loadResults(XPathQuery.java:109)
at
org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.getResults(XPathQuery.java:94)
at
org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.getFirstResult(XPathQuery.java:117)
at org.jboss.ide.eclipse.as.ui.editor.PortSection.findPort(PortSection.java:93)
at
org.jboss.ide.eclipse.as.ui.editor.PortSection$SetPortCommand.execute(PortSection.java:292)
at
org.eclipse.wst.server.ui.internal.command.ServerCommand.execute(ServerCommand.java:39)
at
org.eclipse.wst.server.ui.internal.editor.GlobalCommandManager.executeCommand(GlobalCommandManager.java:327)
at
org.eclipse.wst.server.ui.internal.editor.ServerResourceCommandManager.execute(ServerResourceCommandManager.java:54)
at
org.eclipse.wst.server.ui.editor.ServerEditorSection.execute(ServerEditorSection.java:72)
at org.jboss.ide.eclipse.as.ui.editor.PortSection$1.handleEvent(PortSection.java:220)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira