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

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

Samebug tips

,
Expert tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via Google Groups by Samir Madhavan, 1 year ago
could not instantiate 'com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple' with arguments '[com.protobuf.LogProtos.Logs]'
via pig-user by Serega Sheypak, 6 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via Stack Overflow by Dipas
, 6 months ago
via Apache's JIRA Issue Tracker by Jarek Jarcec Cecho, 1 year ago
could not instantiate 'AvroStorage' with arguments '[, -r]'
via pig-user by leiwangouc@gmail.com, 6 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via pig-user by Serega Sheypak, 6 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
java.lang.NoClassDefFoundError: Could not initialize class com.protobuf.LogProtos
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at com.twitter.elephantbird.util.Protobufs.getInnerClass(Protobufs.java:92)
at com.twitter.elephantbird.util.Protobufs.getInnerProtobufClass(Protobufs.java:87)
at com.twitter.elephantbird.util.Protobufs.getProtobufClass(Protobufs.java:69)
at com.twitter.elephantbird.pig.util.PigUtil.getProtobufClass(PigUtil.java:55)
at com.twitter.elephantbird.pig.util.PigUtil.getProtobufTypeRef(PigUtil.java:89)
at com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple.(ProtobufBytesToTuple.java:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:586)
at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:618)
at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:823)
at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:835)
at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:3236)
at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1315)
at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:799)
at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:517)
at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:392)
at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:184)

Users with the same issue

6 times, 7 months ago
2 times, 8 months ago
60 times, 1 year ago
3 times, 1 year ago
3 times, 1 year ago

Write tip

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