[
https://issues.apache.org/jira/browse/ABDERA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564419#action_12564419
]
Andrew Perepelytsya commented on ABDERA-98:
-------------------------------------------
James, this IS a bug, but a usability one. If no default parser detected, a
meaningful exception or message must be provided. There's absolutely no hint as
to where NPE came from.
> 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.