[jboss-jira] [JBoss JIRA] (AS7-2591) unable to find PropertyEditor when deploying a SAR with BigDecimal attribute

Bartosz Baranowski (JIRA) jira-events at lists.jboss.org
Fri Mar 16 04:36:49 EDT 2012


     [ https://issues.jboss.org/browse/AS7-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Baranowski updated AS7-2591:
------------------------------------

                Issue Type: Enhancement  (was: Bug)
         Affects Version/s: 7.1.1.Final
    Workaround Description:   (was: tested now will be posted)
           Forum Reference: https://community.jboss.org/message/635930#635930, http://community.jboss.org/thread/174697  (was: https://community.jboss.org/message/635930#635930, http://community.jboss.org/thread/174697)

    
> unable to find PropertyEditor when deploying a SAR with BigDecimal attribute
> ----------------------------------------------------------------------------
>
>                 Key: AS7-2591
>                 URL: https://issues.jboss.org/browse/AS7-2591
>             Project: Application Server 7
>          Issue Type: Enhancement
>          Components: JMX
>    Affects Versions: 7.0.2.Final, 7.1.0.Final, 7.1.1.Final
>         Environment: jdk1.6.0._29
>            Reporter: Radim Hanus
>            Assignee: Bartosz Baranowski
>             Fix For: 7.1.2.Final
>
>         Attachments: jboss7-sar-tests.sar
>
>
> when deploying a sar with mbean attribute of java.math.BigDecimal type following warning appears in log:
> 14:14:11,010 WARN  [org.jboss.as.deployment.service] (MSC service thread 1-1) Unable to find PropertyEditor for type class java.math.BigDecimal
> and BigDecimal attribute value from jboss-service.xml descriptor is not set into mbean
> In POJO deployments:
> 13:59:54,149 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.pojo.propertysBean.CONFIGURED: org.jboss.msc.service.StartException in service jboss.pojo.propertysBean.CONFIGURED: java.lang.IllegalArgumentException: argument type mismatch
> 	at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:136)
> 	at org.jboss.as.pojo.service.ConfiguredPojoPhase.configure(ConfiguredPojoPhase.java:47)
> 	at org.jboss.as.pojo.service.ConfiguredPojoPhase.start(ConfiguredPojoPhase.java:53)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_29]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_29]
> 	at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_29]
> 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(Unknown Source) [rt.jar:1.6.0_29]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_29]
> 	at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_29]
> 	at org.jboss.as.pojo.service.MethodJoinpoint.dispatch(MethodJoinpoint.java:41)
> 	at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:202)
> 	at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:126)
> 	... 7 more

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

        


More information about the jboss-jira mailing list