Aladdin - Scala Bugtracking
[#1280] project: scala-doc priority: high category: bug
submitter assigned to status date submitted
Stephane Sean fixed 2007-08-20 16:27:16.0
subject [contrib #752] scaladoc NullPointerException
code
test.scala:

   object Test

Shell:

  > scaladoc test.scala
what happened
Exception in thread "main" java.lang.NullPointerException
        at scala.tools.nsc.doc.ModelFrames$class.$init$(ModelFrames.scala:27)
        at scala.tools.nsc.doc.DocDriver.(DocDriver.scala:18)
        at scala.tools.nsc.Main$generator$1$.(Main.scala:88)
        at scala.tools.nsc.Main$.generator$0(Main.scala:88)
        at scala.tools.nsc.Main$.process(Main.scala:92)
        at scala.tools.nsc.Main$.main(Main.scala:107)
        at scala.tools.nsc.Main.main(Main.scala)
what expected Documentation to be generated.
[back to overview]
Changes of this bug report
Stephane  edited on  2007-08-20 16:28:14.0
Problem with initialization of SyntheticClasses in ModelFrames.scala
Stephane  edited on  2007-08-21 15:02:23.0
Sean  edited on  2007-08-21 16:50:31.0
Made global lazy.
Burak  edited on  2007-08-22 12:51:35.0
reopened. unfortunately, we cannot build with a lazy global, due to starr crashing in Mixin.scala
Sean  edited on  2007-08-22 14:17:38.0
Not sure how to fix. val initialize has changed, lazy val will crash the STARR, and I have no idea how to do the pre-super initialization thingy, I tried writing:
object generator extends {
  val global = ...
} DocGenerator {...}
But the compiler didn't seem to like that.
Martin  edited on  2007-08-22 16:00:31.0