java.lang.Exception: Protocol error: Got ($,[B@f56b599) as initial reply byte

GitHub | matthewrj | 5 months ago
  1. 0

    GitHub comment 141#231643814

    GitHub | 5 months ago | matthewrj
    java.lang.Exception: Protocol error: Got ($,[B@f56b599) as initial reply byte
  2. 0

    RedisClientPool with timeout causing continuous protocol errors.

    GitHub | 1 year ago | howardlu0106
    java.lang.Exception: Protocol error: Got (v,[B@75106b5c) as initial reply byte
  3. 0

    eval and Type Parsing

    GitHub | 2 years ago | leonfs
    java.lang.Exception: Protocol error: Got (:,[B@3777a0ea) as initial reply byte
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Protocol error

    GitHub | 2 years ago | bruce-sha
    java.lang.Exception: Protocol error: Got (1,[B@52c7e2d4) as initial reply byte
  6. 0

    I get a lots of errors when application is trying to load various classes and check them for annotations during application start up when using jboss seam and terracotta annotations. Without tim-annotations there is no problem. Is there a way in terracotta to narrow scope where to look for annotations (typical in spring, seam and other frameworks). If we can set to look only to our package than startup will be faster and we get rid of errors as well i guess or is the problem somewhere else? There is simple war file in attachment which produces error when deployed on tomcat 6 with terracotta enabled. tc-config.xml is in WEB-INF directory. Let me know if you need any help or whole maven project. Project does nothing just starts web application with seam configured inside web.xml. No special classes or pages. Error happens at startup of application and application fails to start as result. Palko See more in forum: http://forums.terracotta.org/forums/posts/list/1526.page#9275 Example of error output 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.<init>(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)

    Terracotta Project Issue Tracker | 8 years ago | Pavel Savara
    java.lang.Exception: could not read class [javax.ejb.Stateful] as byte array

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      Protocol error: Got ($,[B@f56b599) as initial reply byte

      at com.redis.Reply$$anonfun$7.applyOrElse()
    2. RedisClient
      Reply$$anonfun$7.applyOrElse
      1. com.redis.Reply$$anonfun$7.applyOrElse(RedisProtocol.scala:105)
      2. com.redis.Reply$$anonfun$7.applyOrElse(RedisProtocol.scala:103)
      2 frames
    3. Scala
      AbstractPartialFunction.apply
      1. scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
      1 frame