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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta Project Issue Tracker by Pavel Savara, 1 year ago
could not read class [javax.ejb.Stateful] as byte array
via Terracotta Project Issue Tracker by Pavel Savara, 1 year ago
could not read class [javax.ejb.Stateful] as byte array
via Terracotta by ak, 1 year ago
could not read class [org.terracotta.modules.annotations.InstrumentedClass] as byte array
via Terracotta by toonti, 1 year ago
could not read class [javax.ejb.Stateful] as byte array
java.lang.Exception: could not read class [javax.ejb.Stateful] as byte array
at com.tc.backport175.bytecode.DefaultBytecodeProvider.getBytecode(DefaultBytecodeProvider.java:42)
at com.tc.backport175.bytecode.AnnotationReader.getBytecodeFor(AnnotationReader.java:168)
at com.tc.backport175.bytecode.AnnotationDefaults.getDefaults(AnnotationDefaults.java:50)
at com.tc.backport175.bytecode.AnnotationReader$AnnotationBuilderVisitor.visitEnd(AnnotationReader.java:1140)
at com.tc.asm.ClassReader.readAnnotationValues(ClassReader.java:1535)
at com.tc.asm.ClassReader.accept(ClassReader.java:580)
at com.tc.asm.ClassReader.accept(ClassReader.java:420)
at com.tc.backport175.bytecode.AnnotationReader.parse(AnnotationReader.java:944)
at com.tc.backport175.bytecode.AnnotationReader.(AnnotationReader.java:958)
at com.tc.backport175.bytecode.AnnotationReader.getReaderFor(AnnotationReader.java:209)
at com.tc.backport175.bytecode.AnnotationReader.getReaderFor(AnnotationReader.java:193)
at com.tc.aspectwerkz.reflect.impl.asm.AsmClassInfo.getAnnotationReader(AsmClassInfo.java:968)
at com.tc.aspectwerkz.reflect.impl.asm.AsmFieldInfo.getAnnotations(AsmFieldInfo.java:96)
at com.tc.aspectwerkz.expression.ExpressionVisitor.visitAttributes(ExpressionVisitor.java:815)
at com.tc.aspectwerkz.expression.ExpressionVisitor.visitAnnotatedNode(ExpressionVisitor.java:1021)
at com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:171)
at com.tc.aspectwerkz.expression.ast.ASTGet.jjtAccept(ASTGet.java:22)
at com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:100)
at com.tc.aspectwerkz.expression.ast.ASTExpression.jjtAccept(ASTExpression.java:22)
at com.tc.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:88)
at com.tc.aspectwerkz.expression.ExpressionVisitor.match(ExpressionVisitor.java:74)
at com.tc.object.config.Root.matches(Root.java:94)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.findMatchingRootDefinition(StandardDSOClientConfigHelperImpl.java:997)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.classContainsAnyRoots(StandardDSOClientConfigHelperImpl.java:1006)
at com.tc.object.config.StandardDSOClientConfigHelperImpl.shouldBeAdapted(StandardDSOClientConfigHelperImpl.java:1236)
at com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:139)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:170)
at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:678)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.