tribbloid/ISpark — pull request #2 by dirceusemighini (2014-10-07 18:29:43+00:00)
Title: Avoid Interpreter NullpointerException

I tried to extend Main class and the Main class vals load got stuck.
Exception in thread "RequestsEventLoop" java.lang.NullPointerException
at org.tribbloid.ispark.ExecuteHandler.apply(Handlers.scala:147)
at org.tribbloid.ispark.Main$EventLoop$$anonfun$run$2.apply(Main.scala:112)
at org.tribbloid.ispark.Main$EventLoop$$anonfun$run$2.apply(Main.scala:110)
at scala.Option.foreach(Option.scala:236)
at org.tribbloid.ispark.Main$EventLoop.run(Main.scala:110)
This exception was trhwon because the interpreter was null at the time that ExecuteHandler was build.

The Main object in this main class is also making this extension a bit difficult, can I change it?