[
https://issues.apache.org/jira/browse/ABDERA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564420#action_12564420
]
James M Snell commented on ABDERA-98:
-------------------------------------
Fix checked into trunk. The getDocument method will now check to see if the
parser is null and will throw an InvalidArgumentException if it is
> NullPointerException in AbstractClientResponse if abdera-parser jar is not in
> the classpath
> -------------------------------------------------------------------------------------------
>
> Key: ABDERA-98
> URL: https://issues.apache.org/jira/browse/ABDERA-98
> Project: Abdera
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Andrew Perepelytsya
> Fix For: 0.4.0
>
>
> ClientResponse.getDocument() causes NPE at runtime then.
> Caused by: java.lang.NullPointerException
> at
> org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:80)
> at
> org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:68)
> at
> org.mule.galaxy.bootstrap.AbderaBootstrap.bootstrap(AbderaBootstrap.java:51)
> ... 5 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.