Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4023568

The javadoc can't generate documentation

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      When the javadoc is run as follows, the docmentation cannot be generated
      and the following error messages are shown.
      (/export/home/src/JDK1.1 is source tree of JDK1.1new)

      javadoc -d /tmp/docs -sourcepath /export/home/src/JDK1.1/src/share/java java.lang

      Loading source files for java.lang
      java.lang.NullPointerException
              at sun.tools.javac.Main.getText(Main.java)
              at sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java)
              at sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java)
              at sun.tools.java.Environment.error(Environment.java)
              at sun.tools.java.Environment.error(Environment.java)
              at sun.tools.javac.BatchParser.importClass(BatchParser.java)
              at sun.tools.java.Parser.parseFile(Parser.java)
              at sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java)
              at sun.tools.javadoc.Main.main(Main.java:323)
      java.lang.NullPointerException
              at sun.tools.javac.Main.getText(Main.java)
              at sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java)
              at sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java)
              at sun.tools.java.Environment.error(Environment.java)
              at sun.tools.javadoc.Main.main(Main.java:385)

        Attachments

          Activity

            People

            Assignee:
            nishimur Naoyuki Ishimura (Inactive)
            Reporter:
            kuno Koji Uno
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: