]
RH Bugzilla Integration updated AS7-6104:
-----------------------------------------
Bugzilla Update: Perform
Bugzilla References:
jboss-cli failed to remove PostgreSQL datasource module
NullPointerException OperationContextImpl.doRemove()
------------------------------------------------------------------------------------------------------------
Key: AS7-6104
URL:
https://issues.jboss.org/browse/AS7-6104
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, JCA
Affects Versions: 7.1.1.Final
Environment: Windows 7 Professional SP1
Reporter: Raymond Naseef
Assignee: Brian Stansberry
Labels: jboss-as7, modules, postgresql
Fix For: EAP 6.1.0.Alpha (7.2.0.Final)
NullPointerException during jboss-cli remove with command:
jboss-cli --connect
command="/subsystem=datasources/jdbc-driver=bop:remove"
Console and log below.
This happens when standalone.xml has XML entry for driver that does not exist (see
"Steps to Reproduce"). I have also seen this happen in a case where the driver
does exist; not sure how the latter happened, or how important that is.
MS-DOS Console:
{
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed:
null",
"rolled-back" => true
}
Server Log:
23:17:42,627 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 19) JBAS014612: Operation ("remove") failed -
address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "postgresql-driver")
]): java.lang.NullPointerException
at org.jboss.as.controller.OperationContextImpl.doRemove(OperationContextImpl.java:298)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.OperationContextImpl.removeService(OperationContextImpl.java:293)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.connector.subsystems.datasources.JdbcDriverRemove.performRuntime(JdbcDriverRemove.java:66)
at
org.jboss.as.controller.AbstractRemoveStepHandler$1.execute(AbstractRemoveStepHandler.java:50)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287)
[jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:487)
[jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: