tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Ozeas <gabriel.oze...@gmail.com>
Subject Someone can help me? ArrayStoreException
Date Thu, 28 Feb 2013 18:19:06 GMT
Sorry, I'm having problems with openejb. I need to test a session bean that
will be deployed in jboss. This bean has dependency with another session
bean. This last is a legacy one, is in a dependency JAR, injects Hibernate
Session class as EntityManager and uses a specific interceptor that when
injected with @Interceptors throws the exception below.

So as you can see, it would be really good if i could exclude the legacy
session bean from the scanning.

Someone can help me?

SEVERE - FATAL ERROR: Unknown error in Assembler.  Please send the
following stack trace and this message to users@openejb.apache.org :
 java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
    at
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:671)
    at
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:478)
    at
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:304)
    at
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:240)
    at
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:87)
    at
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)
    at java.lang.Class.initAnnotationsIfNecessary(Class.java:3103)
    at java.lang.Class.getAnnotation(Class.java:3060)
    at java.lang.Class.isAnnotationPresent(Class.java:3073)
    at
org.apache.xbean.finder.AnnotationFinder.findMetaAnnotatedClasses(AnnotationFinder.java:521)
    at
org.apache.xbean.finder.AnnotationFinder.findMetaAnnotatedClasses(AnnotationFinder.java:465)
    at
org.apache.openejb.config.FinderFactory$ModuleLimitedFinder.findMetaAnnotatedClasses(FinderFactory.java:256)
    at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:1326)
    at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:415)
    at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:338)
    at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:338)
    at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:827)
    at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:705)
    at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:476)
    at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:364)
    at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:343)
    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144)
    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:65)
    at org.apache.openejb.OpenEJB.init(OpenEJB.java:290)
    at org.apache.openejb.OpenEJB.init(OpenEJB.java:269)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at
org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
    at
org.apache.openejb.core.LocalInitialContextFactory.init(LocalInitialContextFactory.java:69)
    at
org.apache.openejb.core.LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
    at
org.apache.openejb.core.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:40)
    at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
    at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
    at javax.naming.InitialContext.init(InitialContext.java:240)
    at javax.naming.InitialContext.<init>(InitialContext.java:214)
    at uol.pricing.service.legacy.NativeQueryIT.setUp(NativeQueryIT.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message