Skip to content

Instantly share code, notes, and snippets.

@vmarquez
Created November 9, 2015 20:17
Show Gist options
  • Save vmarquez/5334bd715117ced87f7a to your computer and use it in GitHub Desktop.
Save vmarquez/5334bd715117ced87f7a to your computer and use it in GitHub Desktop.
[core] λ test:console
[info] Starting scala interpreter...
[info]
Loading...
Welcome to the Ammonite Repl 0.4.7
(Scala 2.10.4 Java 1.8.0_60)
@ "hello"
java.lang.NullPointerException
com.sqality.scct.IO$class.relativePath(IO.scala:74)
com.sqality.scct.IO$.relativePath(IO.scala:6)
com.sqality.scct.ScctTransformComponent.com$sqality$scct$ScctTransformComponent$$createName(ScctInstrumentPlugin.scala:251)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:315)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:311)
scala.reflect.internal.Trees$$anonfun$itraverse$3.apply$mcV$sp(Trees.scala:1111)
scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2849)
scala.reflect.internal.Trees$class.itraverse(Trees.scala:1110)
scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:13)
scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:13)
scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2825)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:319)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:311)
scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2829)
scala.reflect.internal.Trees$$anonfun$itraverse$1.apply$mcV$sp(Trees.scala:1103)
scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2849)
scala.reflect.internal.Trees$class.itraverse(Trees.scala:1102)
scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:13)
scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:13)
scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2825)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:319)
com.sqality.scct.ScctTransformComponent$ClassRegisterer.traverse(ScctInstrumentPlugin.scala:311)
scala.reflect.api.Trees$Traverser.apply(Trees.scala:2855)
com.sqality.scct.ScctTransformComponent.registerClasses(ScctInstrumentPlugin.scala:309)
com.sqality.scct.ScctTransformComponent$Instrumenter.transformUnit(ScctInstrumentPlugin.scala:97)
scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
scala.collection.Iterator$class.foreach(Iterator.scala:727)
scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)
com.sqality.scct.ScctTransformComponent$$anon$1.run(ScctInstrumentPlugin.scala:79)
scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
scala.tools.nsc.Global$Run.compileFiles(Global.scala:1651)
ammonite.repl.interp.Compiler$$anon$4.compile(Compiler.scala:243)
ammonite.repl.interp.Interpreter$$anonfun$7$$anonfun$apply$9.apply(Interpreter.scala:302)
ammonite.repl.interp.Interpreter$$anonfun$7$$anonfun$apply$9.apply(Interpreter.scala:302)
ammonite.repl.interp.Evaluator$$anon$1.ammonite$repl$interp$Evaluator$$anon$$compileClass(Evaluator.scala:104)
ammonite.repl.interp.Evaluator$$anon$1$$anonfun$processLine$1$$anonfun$apply$10.apply(Evaluator.scala:172)
ammonite.repl.interp.Evaluator$$anon$1$$anonfun$processLine$1$$anonfun$apply$10.apply(Evaluator.scala:171)
ammonite.repl.Catching.flatMap(Util.scala:66)
ammonite.repl.interp.Evaluator$$anon$1$$anonfun$processLine$1.apply(Evaluator.scala:171)
ammonite.repl.interp.Evaluator$$anon$1$$anonfun$processLine$1.apply(Evaluator.scala:170)
ammonite.repl.Res$Success.flatMap(Util.scala:22)
ammonite.repl.interp.Evaluator$$anon$1.processLine(Evaluator.scala:170)
ammonite.repl.interp.Interpreter.evaluateLine(Interpreter.scala:78)
ammonite.repl.interp.Interpreter$$anonfun$processLine$2$$anonfun$apply$2.apply(Interpreter.scala:67)
ammonite.repl.interp.Interpreter$$anonfun$processLine$2$$anonfun$apply$2.apply(Interpreter.scala:66)
ammonite.repl.Res$Success.flatMap(Util.scala:22)
ammonite.repl.interp.Interpreter$$anonfun$processLine$2.apply(Interpreter.scala:66)
ammonite.repl.interp.Interpreter$$anonfun$processLine$2.apply(Interpreter.scala:63)
ammonite.repl.Catching.flatMap(Util.scala:66)
ammonite.repl.interp.Interpreter.processLine(Interpreter.scala:63)
ammonite.repl.Repl$$anonfun$action$4$$anonfun$apply$2.apply(Repl.scala:59)
ammonite.repl.Repl$$anonfun$action$4$$anonfun$apply$2.apply(Repl.scala:58)
ammonite.repl.frontend.Scoped$$anonfun$flatMap$1.apply(Signaller.scala:43)
ammonite.repl.frontend.Signaller.apply(Signaller.scala:28)
ammonite.repl.frontend.Scoped$class.flatMap(Signaller.scala:43)
ammonite.repl.frontend.Signaller.flatMap(Signaller.scala:10)
ammonite.repl.Repl$$anonfun$action$4.apply(Repl.scala:58)
ammonite.repl.Repl$$anonfun$action$4.apply(Repl.scala:45)
ammonite.repl.Res$Success.flatMap(Util.scala:22)
ammonite.repl.Repl.action(Repl.scala:45)
ammonite.repl.Repl.loop$1(Repl.scala:78)
ammonite.repl.Repl.run(Repl.scala:96)
ammonite.repl.Repl$.run(Repl.scala:195)
$line1.$read$$iw$$iw$.<init>(<console>:8)
$line1.$read$$iw$$iw$.<clinit>(<console>:-1)
$line1.$eval$.<init>(<console>:7)
$line1.$eval$.<clinit>(<console>:-1)
$line1.$eval.$print(<console>:-1)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:734)
scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:983)
scala.tools.nsc.interpreter.IMain.loadAndRunReq$1(IMain.scala:573)
scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:604)
scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:568)
xsbt.ConsoleInterface$$anon$1.createInterpreter(ConsoleInterface.scala:60)
scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:839)
scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:837)
scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:837)
scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:135)
scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:837)
scala.tools.nsc.interpreter.ILoop.main(ILoop.scala:904)
xsbt.ConsoleInterface.run(ConsoleInterface.scala:69)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
sbt.compiler.AnalyzingCompiler.console(AnalyzingCompiler.scala:77)
sbt.Console.sbt$Console$$console0$1(Console.scala:23)
sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply$mcV$sp(Console.scala:24)
sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply(Console.scala:24)
sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply(Console.scala:24)
sbt.Logger$$anon$4.apply(Logger.scala:90)
sbt.TrapExit$App.run(TrapExit.scala:244)
java.lang.Thread.run(Thread.java:745)
Something unexpected went wrong =(
@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment