Details
-
Task
-
Resolution: Done
-
Minor
-
6.0.0.Final
-
None
-
Compatibility/Configuration
-
Low
Description
When deploying my app (which works on JBoss 5.1.0.GA) under JBoss 6 AS Final, the deployment fails citing:
Caused by: java.lang.reflect.MalformedParameterizedTypeException
...non JBoss methods...
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:230) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:218) [jboss-reflect.jar:2.2.0.GA]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_23]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:217) [jboss-reflect.jar:2.2.0.GA]
It appears JBoss AS is already configured (in scanning-deployers-jboss-beans.xml) to ignore a number of such Exceptions, but not MalformedParameterizedTypeException. So I believe this one needs to be added:
<install method="addIgnored">
<parameter>java.lang.reflect.MalformedParameterizedTypeException</parameter>
</install>
Regards,
Richard.