Results 1 to 2 of 2
  1. #1
    KenB is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default javadoc NullPointerException

    Can anyone point me in the right direction on this javadoc error?

    Thanks!

    Standard Doclet version 1.6.0_10
    Building tree for all the packages and classes...
    java.lang.NullPointerException
    at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker. java:67)
    at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker. java:29)
    at com.sun.tools.javadoc.ClassDocImpl.superclassType( ClassDocImpl.java:441)
    at com.sun.tools.doclets.internal.toolkit.util.Util.g etAllInterfaces(Util.java:386)
    at com.sun.tools.doclets.internal.toolkit.util.Util.g etAllInterfaces(Util.java:424)
    at com.sun.tools.doclets.internal.toolkit.util.ClassT ree.processType(ClassTree.java:162)
    at com.sun.tools.doclets.internal.toolkit.util.ClassT ree.buildTree(ClassTree.java:114)
    at com.sun.tools.doclets.internal.toolkit.util.ClassT ree.<init>(ClassTree.java:73)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoc let.startGeneration(AbstractDoclet.java:104)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoc let.start(AbstractDoclet.java:64)
    at com.sun.tools.doclets.formats.html.HtmlDoclet.star t(HtmlDoclet.java:42)
    at com.sun.tools.doclets.standard.Standard.start(Stan dard.java:23)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletI nvoker.java:269)
    at com.sun.tools.javadoc.DocletInvoker.start(DocletIn voker.java:143)
    at com.sun.tools.javadoc.Start.parseAndExecute(Start. java:340)
    at com.sun.tools.javadoc.Start.begin(Start.java:128)
    at com.sun.tools.javadoc.Main.execute(Main.java:41)
    at com.sun.tools.javadoc.Main.main(Main.java:31)
    2 warnings

  2. #2
    xyz
    xyz is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default Re: javadoc NullPointerException

    I was having the same problem, could not find any solution on google, but eventually found it myself.
    For me the solution was to put in the javadoc classpath every jar that application depends to. Getting rid of the "cannot find symbol" errors fixed this peculiar error.

Similar Threads

  1. HOw to run ant javadoc
    By Manfizy in forum New To Java
    Replies: 24
    Last Post: 02-18-2009, 10:59 PM
  2. Javadoc-tool
    By tskumarme in forum New To Java
    Replies: 1
    Last Post: 05-30-2008, 02:31 PM
  3. JavaDoc
    By javarishi in forum Eclipse
    Replies: 1
    Last Post: 04-10-2008, 09:41 AM
  4. JavaDoc (method)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-04-2007, 11:48 AM
  5. what can I do with javadoc
    By christina in forum Advanced Java
    Replies: 1
    Last Post: 07-26-2007, 12:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •