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