You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "James M Snell (JIRA)" <ji...@apache.org> on 2007/03/15 05:51:10 UTC

[jira] Closed: (ABDERA-22) Parser#parse(Reader r) always throws NPE.

     [ https://issues.apache.org/jira/browse/ABDERA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James M Snell closed ABDERA-22.
-------------------------------


> Parser#parse(Reader r) always throws NPE.
> -----------------------------------------
>
>                 Key: ABDERA-22
>                 URL: https://issues.apache.org/jira/browse/ABDERA-22
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Ugo Cei
>
> Calling the Parser#parse(Reader r) method without passing in a 'base' argument, like in Parser#parse(Reader r, String base) always throws a NullPointerException:
> Caused by: java.lang.NullPointerException
> 	at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
> 	at java.util.regex.Matcher.reset(Matcher.java:284)
> 	at java.util.regex.Matcher.<init>(Matcher.java:205)
> 	at java.util.regex.Pattern.matcher(Pattern.java:879)
> 	at org.apache.abdera.util.iri.IRI$Parser.parse(IRI.java:730)
> 	at org.apache.abdera.util.iri.IRI.parse(IRI.java:661)
> 	at org.apache.abdera.util.iri.IRI.<init>(IRI.java:72)
> 	at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:131)
> 	... 20 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.