java.lang.RuntimeException: could not instantiate 'AvroStorage' with arguments '[, -r]'

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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, 4 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via pig-user by Serega Sheypak, 4 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via pig-user by leiwangouc@gmail.com, 1 year ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via pig-user by leiwangouc@gmail.com, 1 year ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
via pig-user by leiwangouc@gmail.com, 4 months ago
could not instantiate 'com.agrantsem.tracking.hadoop.udf.PvDataLoader' with arguments 'null'
java.lang.RuntimeException: could not instantiate 'AvroStorage' with arguments '[, -r]'
at org.apache.avro.Schema.parse(Schema.java:1072)
at org.apache.avro.Schema$Parser.parse(Schema.java:950)
at org.apache.pig.builtin.AvroStorage.(AvroStorage.java:136)
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:716)
at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:748)
at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:837)
at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:849)
at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:3479)
at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1536)
at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:1013)
at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:553)
at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:421)
at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:188)

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.

Write tip

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