Error in using generate javadoc for android project in eclipse

view story

http://stackoverflow.com – I have tried many solution available but unable to create javadoc for my android project. checked out the following: solution 1 solution 2 but i got the following error Building tree for all the packages and classes... java.lang.NullPointerException at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:83) at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:44) at com.sun.tools.javadoc.ClassDocImpl.superclassType(ClassDocImpl.java:496)..... Also tried ant command tool ant -f javadoc.xml But no output on console last output is null pointer exception and "BUILD SUCCESSFUL" but no (HowTos)