[jboss-jira] [JBoss JIRA] (WFLY-681) Using "depends optional-attribute-name" tag towards a MBean ObjectName does not work
Tomek Adamski (JIRA)
issues at jboss.org
Sun Jan 19 17:01:28 EST 2014
[ https://issues.jboss.org/browse/WFLY-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Adamski reassigned WFLY-681:
----------------------------------
Assignee: Tomek Adamski
> Using "depends optional-attribute-name" tag towards a MBean ObjectName does not work
> ------------------------------------------------------------------------------------
>
> Key: WFLY-681
> URL: https://issues.jboss.org/browse/WFLY-681
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX
> Reporter: Anders Welen
> Assignee: Tomek Adamski
> Fix For: Awaiting Volunteers
>
>
> Using "depends optional-attribute-name" tag towards a MBean ObjectName produces the following exception at deployment:
> {noformat}
> 10:34:54,034 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.mbean.service.test:service=Test2.create: org.jboss.msc.service.StartException in service jboss.mbean.service.test:service=Test2.create: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> Caused by: org.jboss.msc.inject.InjectionException: Injection failed
> at org.jboss.msc.inject.MethodInjector.inject(MethodInjector.java:102) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1549) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl.access$1900(ServiceControllerImpl.java:49) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1780) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1741) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> ... 3 more
> Caused by: java.lang.IllegalArgumentException: argument type mismatch
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_29]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_29]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_29]
> at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_29]
> at org.jboss.msc.inject.MethodInjector.inject(MethodInjector.java:92) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> ... 7 more
> {noformat}
--
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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list