abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joe kim" <joe....@gmail.com>
Subject Getting started with Abdera
Date Wed, 28 Jun 2006 01:52:33 GMT
I setup an eclipse workspace and checked out the abdera code from SVN.

I had some trouble running the example class
org.apache.abdera.examples.simple.Parse.  I made sure that the String
passed to getResourceAsStream() was a valid path to "simple.xml". Here
is the error I had:

Exception in thread "main" org.apache.abdera.parser.ParseException:
java.lang.NullPointerException
	at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:74)
	at org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:41)
	at org.apache.abdera.examples.simple.Parse.main(Parse.java:33)
Caused by: java.lang.NullPointerException
	at com.ctc.wstx.io.StreamBootstrapper.initialLoad(StreamBootstrapper.java:457)
	at com.ctc.wstx.io.StreamBootstrapper.resolveStreamEncoding(StreamBootstrapper.java:217)
	at com.ctc.wstx.io.StreamBootstrapper.bootstrapInput(StreamBootstrapper.java:103)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:533)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:521)
	at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:266)
	at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:61)
	at org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:96)
	at org.apache.abdera.parser.stax.FOMBuilder.<init>(FOMBuilder.java:116)
	at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:70)
	... 2 more

Any thoughts?  Are there plans to use other parsers such as JDOM?

Joe

Mime
View raw message