[jboss-dev-forums] [Design the new POJO MicroContainer] - UnwrapValueUnitTestCase.testCollectionUnwrap failure on comm

scott.stark@jboss.org do-not-reply at jboss.com
Wed Nov 19 14:12:52 EST 2008


I set the testFailureIgnore to false since were tyring to get jboss-man to GA, and there is this odd failure showing up when running the mvn test phase, but not under eclipse:

  | Caused by: java.lang.IllegalArgumentException: No enum const class org.jboss.test.metatype.values.factory.support.TestEnum.org.jboss.test.metatype.values.factory.support.TestGeneric at be32
  |         at java.lang.Enum.valueOf(Enum.java:196)        at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:130)        at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:90)        at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.
  | java:75)        at org.jboss.reflect.plugins.ClassInfoImpl.convertValue(ClassInfoImpl.ja
  | va:481)
  |         at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.convertValue(DefaultMetaValueFactory.java:1029)
  |         ... 33 more
  | 

Something is munging together a class instance toString with the enum class and trying to treat that as an enum string. I'm looking into how.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190611#4190611

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190611



More information about the jboss-dev-forums mailing list