[
https://issues.jboss.org/browse/AS7-3219?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry commented on AS7-3219:
---------------------------------------
The fix for AS7-1724 fixes this. But, I'm making a small tweak to
HornetQServerControlHandler anyway to throw an OFE instead of an NPE in case some
circumstance leads to this handler being called with the HornetQServer service is not
available.
:read-resource with include-runtime fails for messaging in HC
-------------------------------------------------------------
Key: AS7-3219
URL:
https://issues.jboss.org/browse/AS7-3219
Project: Application Server 7
Issue Type: Bug
Components: JMS
Reporter: Kabir Khan
Assignee: Brian Stansberry
Priority: Critical
Fix For: 7.1.0.Final
{code}
[domain@localhost:9999 /] :read-resource(recursive-depth=2,include-runtime=true)
{
"outcome" => "failed",
"rolled-back" => true
}
{code}
{code}
[Host Controller] 10:40:43,525 ERROR [org.jboss.as.controller.management-operation]
(management-handler-threads - 3) JBAS014612: Operation ("read-attribute") failed
- address: ([
[Host Controller] ("profile" => "ha"),
[Host Controller] ("subsystem" => "messaging"),
[Host Controller] ("hornetq-server" => "default")
[Host Controller] ]): java.lang.NullPointerException
[Host Controller] at
org.jboss.as.messaging.HornetQServerControlHandler.getServerControl(HornetQServerControlHandler.java:383)
[Host Controller] at
org.jboss.as.messaging.HornetQServerControlHandler.executeRuntimeStep(HornetQServerControlHandler.java:122)
[Host Controller] at
org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Host Controller] at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Host Controller] at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira