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 Google Groups by Unknown author, 1 year ago
writer cannot be null!
via Google Groups by Younes, 1 year ago
writer cannot be null!
via Google Groups by Ben Vogan, 7 months ago
java.lang.NullPointerException: writer cannot be null!	at org.apache.avro.io.ResolvingDecoder.resolve(ResolvingDecoder.java:80)	at org.apache.avro.io.ResolvingDecoder.(ResolvingDecoder.java:49)	at org.apache.avro.io.DecoderFactory.resolvingDecoder(DecoderFactory.java:307)	at org.apache.avro.generic.GenericDatumReader.getResolver(GenericDatumReader.java:125)	at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:140)	at io.druid.data.input.avro.SchemaRepoBasedAvroBytesDecoder.parse(SchemaRepoBasedAvroBytesDecoder.java:82)	at io.druid.data.input.AvroStreamInputRowParser.parse(AvroStreamInputRowParser.java:53)	at io.druid.data.input.AvroStreamInputRowParser.parse(AvroStreamInputRowParser.java:33)	at com.metamx.tranquility.druid.DruidBeams$$anonfun$1$$anonfun$7.apply(DruidBeams.scala:177)	at com.metamx.tranquility.druid.DruidBeams$$anonfun$1$$anonfun$7.apply(DruidBeams.scala:177)	at com.metamx.tranquility.druid.DruidBeams$$anonfun$1$$anonfun$apply$1.apply(DruidBeams.scala:195)	at com.metamx.tranquility.druid.DruidBeams$$anonfun$1$$anonfun$apply$1.apply(DruidBeams.scala:195)	at com.metamx.tranquility.beam.TransformingBeam$$anonfun$sendAll$2$$anonfun$2.apply(TransformingBeam.scala:36)	at com.twitter.util.Try$.apply(Try.scala:13)	at com.metamx.tranquility.beam.TransformingBeam$$anonfun$sendAll$2.apply(TransformingBeam.scala:36)	at com.metamx.tranquility.beam.TransformingBeam$$anonfun$sendAll$2.apply(TransformingBeam.scala:35)	at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)	at scala.collection.Iterator$class.foreach(Iterator.scala:742)	at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)	at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)	at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)	at com.metamx.tranquility.beam.TransformingBeam.sendAll(TransformingBeam.scala:35)	at com.metamx.tranquility.tranquilizer.Tranquilizer.com$metamx$tranquility$tranquilizer$Tranquilizer$$sendBuffer(Tranquilizer.scala:301)	at com.metamx.tranquility.tranquilizer.Tranquilizer$$anonfun$send$1.apply(Tranquilizer.scala:202)	at com.metamx.tranquility.tranquilizer.Tranquilizer$$anonfun$send$1.apply(Tranquilizer.scala:202)	at scala.Option.foreach(Option.scala:257)	at com.metamx.tranquility.tranquilizer.Tranquilizer.send(Tranquilizer.scala:202)	at com.metamx.tranquility.kafka.writer.TranquilityEventWriter.send(TranquilityEventWriter.java:76)	at com.metamx.tranquility.kafka.KafkaConsumer$2.run(KafkaConsumer.java:231)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)