Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2591

unable to find PropertyEditor when deploying a SAR with BigDecimal attribute

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.0.2.Final, 7.1.0.Final, 7.1.1.Final
    • JMX
    • None

      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

              rhn-cservice-bbaranow Bartosz Baranowski
              rhanus Radim Hanus (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: