com.tc.backport175.ReaderException: could not retrieve the bytecode from the bytecode provider for class [javax.ejb.Stateful]

Terracotta | toonti | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Terracotta Annotations and Seam

    Terracotta | 8 years ago | toonti
    com.tc.backport175.ReaderException: could not retrieve the bytecode from the bytecode provider for class [javax.ejb.Stateful]
  2. 0

    could not read class [org.terracotta.modules.annotations.InstrumentedClass] as byte array

    Terracotta | 8 years ago | ak
    com.tc.backport175.ReaderException: could not retrieve the bytecode from the bytecode provider for class [org.terracotta.modules.annotations.InstrumentedClass]

    Root Cause Analysis

    1. com.tc.backport175.ReaderException

      could not retrieve the bytecode from the bytecode provider for class [javax.ejb.Stateful]

      at com.tc.backport175.bytecode.AnnotationDefaults.getDefaults()
    2. com.tc.backport175
      AnnotationReader$AnnotationBuilderVisitor.visitEnd
      1. com.tc.backport175.bytecode.AnnotationDefaults.getDefaults(AnnotationDefaults.java:52)
      2. com.tc.backport175.bytecode.AnnotationReader$AnnotationBuilderVisitor.visitEnd(AnnotationReader.java:1140)
      2 frames
    3. com.tc.asm
      ClassReader.accept
      1. com.tc.asm.ClassReader.readAnnotationValues(ClassReader.java:1535)
      2. com.tc.asm.ClassReader.accept(ClassReader.java:580)
      3. com.tc.asm.ClassReader.accept(ClassReader.java:420)
      3 frames
    4. com.tc.backport175
      AnnotationReader.getReaderFor
      1. com.tc.backport175.bytecode.AnnotationReader.parse(AnnotationReader.java:944)
      2. com.tc.backport175.bytecode.AnnotationReader.<init>(AnnotationReader.java:958)
      3. com.tc.backport175.bytecode.AnnotationReader.getReaderFor(AnnotationReader.java:209)
      4. com.tc.backport175.bytecode.AnnotationReader.getReaderFor(AnnotationReader.java:193)
      4 frames
    5. com.tc.aspectwerkz
      ExpressionVisitor.match
      1. com.tc.aspectwerkz.reflect.impl.asm.AsmClassInfo.getAnnotationReader(AsmClassInfo.java:968)
      2. com.tc.aspectwerkz.reflect.impl.asm.AsmFieldInfo.getAnnotations(AsmFieldInfo.java:96)
      3. com.tc.aspectwerkz.expression.ExpressionVisitor.visitAttributes(ExpressionVisitor.java:815)
      4. com.tc.aspectwerkz.expression.ExpressionVisitor.visitAnnotatedNode(ExpressionVisitor.java:1021)
      5. com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:171)
      6. com.tc.aspectwerkz.expression.ast.ASTGet.jjtAccept(ASTGet.java:22)
      7. com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:100)
      8. com.tc.aspectwerkz.expression.ast.ASTExpression.jjtAccept(ASTExpression.java:22)
      9. com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:88)
      10. com.tc.aspectwerkz.expression.ExpressionVisitor.match(ExpressionVisitor.java:74)
      10 frames
    6. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.config.Root.matches(Root.java:94)
      2. com.tc.object.config.StandardDSOClientConfigHelperImpl.findMatchingRootDefinition(StandardDSOClientConfigHelperImpl.java:997)
      3. com.tc.object.config.StandardDSOClientConfigHelperImpl.classContainsAnyRoots(StandardDSOClientConfigHelperImpl.java:1006)
      4. com.tc.object.config.StandardDSOClientConfigHelperImpl.shouldBeAdapted(StandardDSOClientConfigHelperImpl.java:1236)
      5. com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:139)
      6. com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:170)
      7. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:678)
      7 frames
    7. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      2 frames
    8. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1819)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
      4 frames
    9. org.jboss.seam
      SeamListener.contextInitialized
      1. org.jboss.seam.deployment.ComponentDeploymentHandler.handle(ComponentDeploymentHandler.java:75)
      2. org.jboss.seam.deployment.DeploymentStrategy.handle(DeploymentStrategy.java:81)
      3. org.jboss.seam.deployment.AbstractScanner.handleItem(AbstractScanner.java:30)
      4. org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:117)
      5. org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:98)
      6. org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:81)
      7. org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:67)
      8. org.jboss.seam.init.Initialization.create(Initialization.java:102)
      9. org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
      9 frames
    10. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      18 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames