[jboss-jira] [JBoss JIRA] Created: (JBMDR-74) scanning-deployers-jboss-beans.xml should ignore MalformedParameterizedTypeException

Richard Kennard (JIRA) jira-events at lists.jboss.org
Sat Jan 1 16:55:17 EST 2011


scanning-deployers-jboss-beans.xml should ignore MalformedParameterizedTypeException
------------------------------------------------------------------------------------

                 Key: JBMDR-74
                 URL: https://issues.jboss.org/browse/JBMDR-74
             Project: JBoss MetaData Repository
          Issue Type: Bug
          Components: MetaData
         Environment: JBoss AS 6 Final
            Reporter: Richard Kennard
            Priority: Minor


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 this code 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list