java.lang.RuntimeException: could not instantiate 'com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple' with arguments '[com.protobuf.LogProtos.Logs]'

Google Groups | Samir Madhavan | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and poroszd . Or join the community to write better ones.
  1. 0

    Pig Protobuf Error

    Google Groups | 4 years ago | Samir Madhavan
    java.lang.RuntimeException: could not instantiate 'com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple' with arguments '[com.protobuf.LogProtos.Logs]'
  2. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  3. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deployment error :: Oracle Identity Analytics 11.1.1.5 PS1 on Weblogic 11g

    Oracle Community | 5 years ago | 841373
    java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
  6. 0

    Create a new JDBC driver with netbeans to connect to Cassandra?

    Stack Overflow | 4 years ago | INSATien
    java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.cassandra.cql.jdbc.CassandraDriver.<clinit>(CassandraDriver.java:52)
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.NoClassDefFoundError

    Could not initialize class com.protobuf.LogProtos

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:188)
    2 frames
  3. Elephant Bird Core
    Protobufs.getProtobufClass
    1. com.twitter.elephantbird.util.Protobufs.getInnerClass(Protobufs.java:92)
    2. com.twitter.elephantbird.util.Protobufs.getInnerProtobufClass(Protobufs.java:87)
    3. com.twitter.elephantbird.util.Protobufs.getProtobufClass(Protobufs.java:69)
    4. com.twitter.elephantbird.util.Protobufs.getProtobufClass(Protobufs.java:55)
    4 frames
  4. com.twitter.elephantbird
    ProtobufBytesToTuple.<init>
    1. com.twitter.elephantbird.pig.util.PigUtil.getProtobufClass(PigUtil.java:55)
    2. com.twitter.elephantbird.pig.util.PigUtil.getProtobufTypeRef(PigUtil.java:89)
    3. com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple.<init>(ProtobufBytesToTuple.java:37)
    3 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    4 frames
  6. org.apache.pig
    QueryParserDriver.parse
    1. org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:586)
    2. org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:618)
    3. org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:823)
    4. org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:835)
    5. org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:3236)
    6. org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1315)
    7. org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:799)
    8. org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:517)
    9. org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:392)
    10. org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:184)
    10 frames