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

scott.stark@jboss.org do-not-reply at jboss.com
Wed Nov 19 15:38:38 EST 2008


It looks like whatever the issue is, its random as often the test passes, but when it fails its failing over confusing an enum as another type. In this case it was treated as an Integer:


  | Caused by: java.lang.NumberFormatException: For input string: "ONE"
  | 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  | 	at java.lang.Integer.parseInt(Integer.java:447)
  | 	at java.lang.Integer.valueOf(Integer.java:526)
  | 	at java.lang.Integer.decode(Integer.java:919)
  | 	at org.jboss.util.propertyeditor.IntegerEditor.setAsText(IntegerEditor.java:42)
  | 	at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:139)
  | 	at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:90)
  | 	at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:75)
  | 	at org.jboss.reflect.spi.PrimitiveInfo.convertValue(PrimitiveInfo.java:228)
  | 	at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.convertValue(DefaultMetaValueFactory.java:1030)
  | 	... 33 more
  | 


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

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



More information about the jboss-dev-forums mailing list