Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8425167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:11:50+00:00 2026-06-10T04:11:50+00:00

I am trying to generate JavaDoc comments in Eclipse for my Android Project, but

  • 0

I am trying to generate JavaDoc comments in Eclipse for my Android Project, but I keep getting a NullPointerException. The problem occurs only when I try to generate JavaDocs for classes that import the Android Compatibility Library (android.support), which I have attached as an external jar. I also reference Android 2.2 and several Library Projects, but those do not cause this error on their own.

C:\Users\workspace\fm\src\com\fm\camera\UploadSubmissionSubmitPhotoVideo.java:9: package android.content does not exist

import android.content.Intent;
                      ^
Standard Doclet version 1.6.0_19
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.getAllInterfaces(Util.java:386)
    at com.sun.tools.doclets.internal.toolkit.util.Util.getAllInterfaces(Util.java:424)
    at com.sun.tools.doclets.internal.toolkit.util.ClassTree.processType(ClassTree.java:162)
    at com.sun.tools.doclets.internal.toolkit.util.ClassTree.buildTree(ClassTree.java:114)
    at com.sun.tools.doclets.internal.toolkit.util.ClassTree.<init>(ClassTree.java:73)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:104)
    at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
    at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
    at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
    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 com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.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)
100 warnings
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:11:52+00:00Added an answer on June 10, 2026 at 4:11 am

    Hello I Found the solution to this question just you have to do 2 steps :

    (1) : Generate a javadoc.xml (create a new txt > save it as javadoc.xml)

    (2) : In Run > cmd > and go where you have saved your javadoc file fire a command like this : ant -f javadoc.xml

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project basedir="C:\Users\workspace\fm\src\com\fm\APIClient" default="doc" name="api docs">
    <target name="doc" description="my docs">
    <javadoc destdir="C:\Users\workspace\fm\doc" doctitle="Testing the Title" verbose="on" 
        use="true" 
        classpath="F:\android SDK and eclipse\android-sdk-windows\platforms\android-10\android.jar;C:\Users\workspace\fm\libs
    
    \android-query-full.0.22.10.jar;C:\Users\workspace\fm\libs\commons-httpclient-3.0.1.jar;C:\Users\workspace\fm\libs\gcm.jar;C:\Users\workspace\fm\libs\httpmime-4.1.jar;F:\android SDK and eclipse\android-sdk-windows\add-ons
    
    \addon_google_apis_google_inc_8\libs\maps.jar"  
        sourcepath="C:\Users\workspace\fm\src;C:\Users\workspace\fm\gen"
        packagenames="com.fm.APIClient" 
        linkoffline="http://d.android.com/reference F:\android SDK and eclipse\android-sdk-windows\docs\reference"
        stylesheetfile="F:\android SDK and eclipse\android-sdk-windows\docs\assets\android-developer-docs.css"
        >
    </javadoc>
    </target>
    </project>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to generate JavaDocs for the Android lint-cli project on Mac 10.7 Keep getting
I'm trying to generate a web service client with the eclipse Web Service Client
I'm trying to generate a jasperReport, but I receive this: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Times New
I'm trying to write a regular expression that matches the (non-javadoc) comments in the
Trying to generate Rails API documentation, but running into errors: $ rake doc:rails rake
I'm trying to write an SVN Post-Commit hook to generate javadoc on a webpage
Im trying to generate RSS page with CListView but i got additional generated html
I am trying to generate PDF417 barcode images, but I am noticing that the
I'm trying generate the Xcode project of ASSIMP using Cmake. I know there is
Im trying to generate a color gradient using ColdFusion. My current code below works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.