ava.lang.Exception: could not read class [javax.ejb.Stateful] as byte array

Terracotta | palko | 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 anotations

    Terracotta | 8 years ago | palko
    ava.lang.Exception: could not read class [javax.ejb.Stateful] as byte array

    Root Cause Analysis

    1. ava.lang.Exception

      could not read class [javax.ejb.Stateful] as byte array

      at com.tc.backport175.bytecode.DefaultBytecodeProvider.getBytecode()
    2. com.tc.backport175
      AnnotationReader$AnnotationBuilderVisitor.visitEnd
      1. com.tc.backport175.bytecode.DefaultBytecodeProvider.getBytecode(DefaultBytecodeProvider.java:42)
      2. com.tc.backport175.bytecode.AnnotationReader.getBytecodeFor(AnnotationReader.java:168)
      3. com.tc.backport175.bytecode.AnnotationDefaults.getDefaults(AnnotationDefaults.java:50)
      4. com.tc.backport175.bytecode.AnnotationReader$AnnotationBuilderVisitor.visitEnd(AnnotationReader.java:1140)
      4 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
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      1 frame