[
https://issues.jboss.org/browse/AS7-5146?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated AS7-5146:
--------------------------------
Description:
{code}
Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information
for class org.jboss.as.test.integration.osgi.resource.SimpleServlet with ClassLoader
ModuleClassLoader for Module "deployment.war-example.war:main" from Service
Module Loader
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
... 5 more
Caused by: java.lang.NoClassDefFoundError: Lorg/osgi/framework/BundleContext;
at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_33]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_33]
at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_33]
at
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
{code}
was:
{code}
Caused by: java.lang.NoClassDefFoundError: Lorg/osgi/framework/BundleContext;
at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_33]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_33]
at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_33]
at
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
{code}
@Resource injection of BundleContext failure
--------------------------------------------
Key: AS7-5146
URL:
https://issues.jboss.org/browse/AS7-5146
Project: Application Server 7
Issue Type: Bug
Components: OSGi, Web
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 7.3.0.Alpha1
{code}
Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information
for class org.jboss.as.test.integration.osgi.resource.SimpleServlet with ClassLoader
ModuleClassLoader for Module "deployment.war-example.war:main" from Service
Module Loader
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
... 5 more
Caused by: java.lang.NoClassDefFoundError: Lorg/osgi/framework/BundleContext;
at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_33]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_33]
at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_33]
at
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira