java - Gradle Build fails with Javadoc NullPointerException -
java - Gradle Build fails with Javadoc NullPointerException -
i've updated 1 of projects android l new build-tools 21.0.2 , new gradle 2.1.
now build project on scheme next exception:
import com.tundem.aboutlibraries.r; ^ symbol: class r location: bundle com.tundem.aboutlibraries java.lang.nullpointerexception @ com.sun.tools.javadoc.typemaker.gettype(typemaker.java:83) @ com.sun.tools.javadoc.typemaker.gettype(typemaker.java:44) @ com.sun.tools.javadoc.classdocimpl.superclasstype(classdocimpl.java:496) @ com.sun.tools.doclets.internal.toolkit.util.util.getallinterfaces(util.java:459) 4 warnings @ com.sun.tools.doclets.internal.toolkit.util.util.getallinterfaces(util.java:497) @ com.sun.tools.doclets.internal.toolkit.util.classtree.processtype(classtree.java:194) @ com.sun.tools.doclets.internal.toolkit.util.classtree.buildtree(classtree.java:146) @ com.sun.tools.doclets.internal.toolkit.util.classtree.<init>(classtree.java:91) @ com.sun.tools.doclets.internal.toolkit.abstractdoclet.startgeneration(abstractdoclet.java:123) @ com.sun.tools.doclets.internal.toolkit.abstractdoclet.start(abstractdoclet.java:83) @ com.sun.tools.doclets.formats.html.htmldoclet.start(htmldoclet.java:63) @ com.sun.tools.doclets.standard.standard.start(standard.java:39) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.sun.tools.javadoc.docletinvoker.invoke(docletinvoker.java:280) @ com.sun.tools.javadoc.docletinvoker.start(docletinvoker.java:160) @ com.sun.tools.javadoc.start.parseandexecute(start.java:397) @ com.sun.tools.javadoc.start.begin(start.java:167) @ com.sun.tools.javadoc.main.execute(main.java:59) @ com.sun.tools.javadoc.main.main(main.java:49) :sample:lintvitalrelease failed failure: build failed exception. * went wrong: execution failed task ':library:generatedebugjavadoc'. > javadoc generation failed. generated javadoc options file (useful troubleshooting): '/home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds/project-9/library/build/tmp/generatedebugjavadoc/javadoc.options'
if build same project in android studio there no issues. on build-server (with ubuntu)
is there way how can disable javadoc generation, or how can prepare issue.
the info found happens if there's unicode character in project, haven't added one.
i've added appcompat , back upwards library.
thanks.
the solution prepare issue remove html formatted tags within method documentations.
in of comments had self closing html elements caused issues.
but still haven't found out why they've changed newest version.
java android build gradle javadoc
Comments
Post a Comment