typhoid / apparat

Automatically exported from code.google.com/p/apparat
0 stars 0 forks source link

NPE for * names in AbcUMLExport #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://pastebin.com/uU5QV9VL

Original issue reported on code.google.com by cihan.po...@gmail.com on 21 Sep 2010 at 3:38

GoogleCodeExporter commented 9 years ago
[INFO] Apparat -- http://apparat.googlecode.com/
[INFO] Launching tool: Dump
[INFO] Writing UML graph ...
java.lang.NullPointerException
    at apparat.abc.analysis.AbcUMLExport$$anonfun$apparat$abc$analysis$AbcUMLExport$$printPackages$1.apply(AbcUMLExport.scala:126)
    at apparat.abc.analysis.AbcUMLExport$$anonfun$apparat$abc$analysis$AbcUMLExport$$printPackages$1.apply(AbcUMLExport.scala:125)
    at scala.collection.Iterator$class.foreach(Iterator.scala:631)
    at scala.collection.Iterator$$anon$19.foreach(Iterator.scala:367)
    at apparat.abc.analysis.AbcUMLExport.apparat$abc$analysis$AbcUMLExport$$printPackages(AbcUMLExport.scala:125)
    at apparat.abc.analysis.AbcUMLExport$$anonfun$to$1.apply$mcV$sp(AbcUMLExport.scala:114)
    at apparat.utils.IndentingPrintWriter.withIndent(IndentingPrintWriter.scala:44)
    at apparat.abc.analysis.AbcUMLExport.to(AbcUMLExport.scala:84)
    at apparat.abc.analysis.AbcUMLExport.to(AbcUMLExport.scala:75)
    at apparat.tools.dump.Dump$DumpTool$$anonfun$exportAbcs$1.apply(Dump.scala:111)
    at apparat.tools.dump.Dump$DumpTool$$anonfun$exportAbcs$1.apply(Dump.scala:111)
    at apparat.utils.IO$.using(IO.scala:109)
    at apparat.tools.dump.Dump$DumpTool.exportAbcs(Dump.scala:111)
    at apparat.tools.dump.Dump$DumpTool.run(Dump.scala:103)
    at apparat.tools.ApparatApplication$.apply(ApparatApplication.scala:67)
    at apparat.tools.dump.Dump$.main(Dump.scala:35)
    at apparat.tools.dump.Dump.main(Dump.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:81)
    at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24)
    at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:86)
    at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:81)
    at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:86)
    at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:83)
    at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
java.lang.NullPointerException
    at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    at java.util.regex.Matcher.reset(Matcher.java:291)
    at java.util.regex.Matcher.<init>(Matcher.java:211)
    at java.util.regex.Pattern.matcher(Pattern.java:888)
    at java.util.Formatter.parse(Formatter.java:2458)
    at java.util.Formatter.format(Formatter.java:2414)
    at java.util.Formatter.format(Formatter.java:2367)
    at java.lang.String.format(String.java:2769)
    at scala.collection.immutable.StringLike$class.format(StringLike.scala:251)
    at scala.collection.immutable.StringOps.format(StringOps.scala:31)
    at apparat.log.LoggerImpl.logIf(LoggerImpl.scala:40)
    at apparat.log.LoggerImpl.fatal(LoggerImpl.scala:31)
    at apparat.tools.ApparatApplication$.apply(ApparatApplication.scala:72)
    at apparat.tools.dump.Dump$.main(Dump.scala:35)
    at apparat.tools.dump.Dump.main(Dump.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:81)
    at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24)
    at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:86)
    at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:81)
    at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:86)
    at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:83)
    at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

Original comment by joaebert on 21 Sep 2010 at 4:09

GoogleCodeExporter commented 9 years ago

Original comment by joaebert on 6 Oct 2010 at 10:24