You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Ronald Muller (JIRA)" <ji...@apache.org> on 2014/06/11 15:23:01 UTC
[jira] [Commented] (FOP-2386) EventProducerCollectorTask does not
work when executed by antrun maven plugin
[ https://issues.apache.org/jira/browse/FOP-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027732#comment-14027732 ]
Ronald Muller commented on FOP-2386:
------------------------------------
Without this fix you will get the mysterious NPE as previous reported by others:
Caused by: java.lang.NullPointerException
at com.thoughtworks.qdox.model.JavaMethodDelegate.getReturnType(JavaMethodDelegate.java:27)
at com.thoughtworks.qdox.model.JavaMethodDelegate.getReturnType(JavaMethodDelegate.java:166)
at org.apache.fop.tools.EventProducerCollector.createMethodModel(EventProducerCollector.java:144)
> EventProducerCollectorTask does not work when executed by antrun maven plugin
> -----------------------------------------------------------------------------
>
> Key: FOP-2386
> URL: https://issues.apache.org/jira/browse/FOP-2386
> Project: Fop
> Issue Type: Bug
> Components: unqualified
> Affects Versions: trunk
> Reporter: Ronald Muller
>
> If using qdox 1.12.x (as currently in trunk) this is easy to fix:
> Change:
> JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory);
> to:
> JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory,
> new ClassLibrary(getClass().getClassLoader()));
> in EventProducerCollector#scanFile(..)
> This also resolves reported problems with alternate builds.
> I have tested this fix with the normal ant based build and a maven build (we mavenized the project)
> Ronald
--
This message was sent by Atlassian JIRA
(v6.2#6252)