java.lang.reflect.InvocationTargetException: This exception has no message.

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 GitHub by java-artisan
, 2 years ago
This exception has no message.
via GitHub by marllborobro
, 2 months ago
This exception has no message.
via GitHub by balagod
, 2 years ago
This exception has no message.
via GitHub by slandelle
, 2 years ago
This exception has no message.
via GitHub by balagod
, 2 years ago
This exception has no message.
via Coderanch by Migrated From Jforum.net, 11 months ago
This exception has no message.
java.lang.NullPointerException:
at scala.tools.nsc.io.AbstractFile.toByteArray(AbstractFile.scala:155)
at scala.tools.nsc.symtab.classfile.AbstractFileReader.(AbstractFileReader.scala:26)
at scala.tools.nsc.symtab.classfile.ClassfileParser.parse(ClassfileParser.scala:86)
at scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader.doComplete(SymbolLoaders.scala:308)
at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:111)
at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.load(SymbolLoaders.scala:130)
at scala.tools.nsc.symtab.Symbols$Symbol.exists(Symbols.scala:571)
at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3740)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4178)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4376)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4203)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4376)
at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4379)
at scala.tools.nsc.typechecker.Namers$Namer.typeDefSig(Namers.scala:1102)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1215)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:551)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:549)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1385)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1381)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:730)
at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:842)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typedExistentialTypeTree(Typers.scala:2930)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4207)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4376)
at scala.tools.nsc.typechecker.Typers$Typer.typedHigherKindedType(Typers.scala:4383)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:3858)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:3857)
at scala.tools.nsc.symtab.Types$class.map2Conserve(Types.scala:4985)
at scala.tools.nsc.symtab.SymbolTable.map2Conserve(SymbolTable.scala:13)
at scala.tools.nsc.typechecker.Typers$Typer.typedAppliedTypeTree$1(Typers.scala:3856)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4199)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedTypeConstructor(Typers.scala:4393)
at scala.tools.nsc.typechecker.Typers$Typer.typedTypeConstructor(Typers.scala:4420)
at scala.tools.nsc.typechecker.Typers$Typer.typedNew$1(Typers.scala:3200)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4033)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4352)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4358)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4146)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3355)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3355)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:624)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3355)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4106)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4346)
at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:4423)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1207)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:551)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:549)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1385)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1381)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:730)
at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:842)
at scala.tools.nsc.symtab.Symbols$Symbol.annotations(Symbols.scala:73)
at scala.tools.nsc.typechecker.Typers$Typer.addGetterSetter(Typers.scala:1342)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$13.apply(Typers.scala:1510)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:76)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1510)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1278)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3912)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3908)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4333)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:94)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:86)
at scala.collection.Iterator$class.foreach(Iterator.scala:772)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:86)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:953)
at scala.tools.nsc.Global$Run.compile(Global.scala:1041)
at scala.tools.nsc.Main$.process(Main.scala:106)
at scala.tools.nsc.Main$.main(Main.scala:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)

Users with the same issue

You are the first who have seen this exception.

Write tip

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