abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (ABDERA-22) Parser#parse(Reader r) always throws NPE.
Date Thu, 15 Mar 2007 04:51:10 GMT

     [ 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.


Mime
View raw message