NullPointerException occurring while running Scalastyle0.80

23 views
Skip to first unread message

Venugopal K

unread,
Apr 27, 2016, 1:13:08 PM4/27/16
to Scalastyle users
Hi,
      While running Scalastyle0.80 I'm getting NullPointerException. It seems some prob with 2.10-0.8.0-batch.jar older version(0.40) of jar was working fine for me. I ran below cmd:
java -jar scalastyle_2.10-0.8.0-batch.jar --config /scalastyle_config_080.xml --xmlOutput scala_output.xml src/

 I'm getting below exception:
Exception in thread "main" java.lang.NullPointerException
        at org.scalastyle.XmlOutput$.printToFile(Output.scala:117)
        at org.scalastyle.XmlOutput$.save(Output.scala:109)
        at org.scalastyle.XmlOutput$.save(Output.scala:96)
        at org.scalastyle.Main$.execute(Main.scala:120)
        at org.scalastyle.Main$.main(Main.scala:99)
        at org.scalastyle.Main.main(Main.scala)

Please let me know any body faced same type of issue before.

Thanks,
Venu
Reply all
Reply to author
Forward
0 new messages