abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ugo Cei (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-22) Parser#parse(Reader r) always throws NPE.
Date Mon, 06 Nov 2006 13:18:37 GMT
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


View raw message