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

javadoc -help generates runtime exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • tools

      Here is the self-explanatory shell transcript

      $ javadoc -help
      usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [@files]
      -overview <file> Read overview documentation from HTML file
      -public Show only public classes and members
      -protected Show protected/public classes and members (default)
      -package Show package/protected/public classes and members
      -private Show all classes and members
      -help Display command line options and exit
      -doclet <class> Generate output via alternate doclet
      -docletpath <path> Specify where to find doclet class files
      -sourcepath <pathlist> Specify where to find source files
      -classpath <pathlist> Specify where to find user class files
      -exclude <pkglist> Specify a list of packages to exclude
      -subpackages <subpkglist> Specify subpackages to recursively load
      -breakiterator Compute 1st sentence with BreakIterator
      -bootclasspath <pathlist> Override location of class files loaded
      by the bootstrap class loader
      -source <release> Provide source compatibility with specified release
      -extdirs <dirlist> Override location of installed extensions
      -verbose Output messages about what Javadoc is doing
      -locale <name> Locale to be used, e.g. en_US or en_US_WIN
      -encoding <name> Source file encoding name
      -J<flag> Pass <flag> directly to the runtime system

      javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method optionLength has thrown an exception java.lang.reflect.InvocationTargetException
      java.lang.NullPointerException
      at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.printNotice(MessageRetriever.java:190)
      at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.notice(MessageRetriever.java:386)
      at com.sun.tools.doclets.formats.html.ConfigurationImpl.optionLength(ConfigurationImpl.java:291)
      at com.sun.tools.doclets.formats.html.HtmlDoclet.optionLength(HtmlDoclet.java:202)
      at com.sun.tools.doclets.standard.Standard.optionLength(Standard.java:12)
      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:324)
      at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:209)
      at com.sun.tools.javadoc.DocletInvoker.optionLength(DocletInvoker.java:115)
      at com.sun.tools.javadoc.Start.usage(Start.java:108)
      at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:204)
      at com.sun.tools.javadoc.Start.begin(Start.java:127)
      at com.sun.tools.javadoc.Main.execute(Main.java:41)
      at com.sun.tools.javadoc.Main.main(Main.java:31)
      1 error

      ###@###.### 2003-10-08

            Unassigned Unassigned
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: