java.lang.NullPointerException

Exception #2556010

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

Stack trace

  • java.lang.NullPointerException at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putType(Pickler.scala:257) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:272) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1234) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1294) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:268) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.traverse(Pickler.scala:262) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at scala.tools.nsc.symtab.classfile.Pickler$Pickle$putTreeTraverser$.put(Pickler.scala:276) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putTree(Pickler.scala:281) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putAnnotArg$1(Pickler.scala:317) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putAnnotationBody(Pickler.scala:329) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putAnnotation(Pickler.scala:304) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putSymbol(Pickler.scala:202) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putSymbols(Pickler.scala:213) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putType(Pickler.scala:241) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putSymbol(Pickler.scala:181) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putSymbols(Pickler.scala:213) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.scala$tools$nsc$symtab$classfile$Pickler$Pickle$$putType(Pickler.scala:241) at scala.tools.nsc.symtab.classfile.Pickler$Pickle.putSymbol(Pickler.scala:181) at scala.tools.nsc.symtab.classfile.Pickler$PicklePhase.add$1(Pickler.scala:40) at scala.tools.nsc.symtab.classfile.Pickler$PicklePhase.scala$tools$nsc$symtab$classfile$Pickler$PicklePhase$$pickle$1(Pickler.scala:51) at scala.tools.nsc.symtab.classfile.Pickler$PicklePhase.scala$tools$nsc$symtab$classfile$Pickler$PicklePhase$$pickle$1(Pickler.scala:47) at scala.tools.nsc.symtab.classfile.Pickler$PicklePhase.apply(Pickler.scala:60) at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:440) at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:431) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:440) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398) at scala.collection.Iterator$class.foreach(Iterator.scala:893) at scala.collection.AbstractIterator.foreach(Iterator.scala:1336) at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:398) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1501) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1486) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1481) at scala.tools.nsc.Global$Run.compile(Global.scala:1582) at xsbt.CachedCompiler0.run(CompilerInterface.scala:116) at xsbt.CachedCompiler0.run(CompilerInterface.scala:95) at xsbt.CompilerInterface.run(CompilerInterface.scala:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:50) at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:74) at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:49) at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:64) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64) at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:32) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:68) at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:67) at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:95) at sbt.inc.Incremental$.compile(Incremental.scala:67) at sbt.inc.IncrementalCompile$.apply(Compile.scala:54) at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160) at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138) at sbt.Compiler$.compile(Compiler.scala:152) at sbt.Compiler$.compile(Compiler.scala:138) at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:860) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:851) at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:849) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.