[
https://issues.jboss.org/browse/JBAS-8782?page=com.atlassian.jira.plugin....
]
Richard Kennard updated JBAS-8782:
----------------------------------
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.
was:
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.
scanning-deployers-jboss-beans.xml should ignore
MalformedParameterizedTypeException
------------------------------------------------------------------------------------
Key: JBAS-8782
URL:
https://issues.jboss.org/browse/JBAS-8782
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Deployers
Affects Versions: 6.0.0.Final
Environment: JBoss AS 6 Final
Reporter: Richard Kennard
Assignee: Ales Justin
Priority: Minor
Fix For: TBD-6.x
Original Estimate: 1 hour
Remaining Estimate: 1 hour
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira