abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ABDERA-22) Parser#parse(Reader r) always throws NPE.
Date Tue, 07 Nov 2006 16:32:52 GMT
     [ http://issues.apache.org/jira/browse/ABDERA-22?page=all ]

Garrett Rooney resolved ABDERA-22.
----------------------------------

    Resolution: Fixed

Fix committed in r472152.

> Parser#parse(Reader r) always throws NPE.
> -----------------------------------------
>
>                 Key: ABDERA-22
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message