abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@arktan.com
Subject Java 1.5 ExceptionInInitializerError
Date Tue, 25 May 2010 04:59:59 GMT
Hi,

I am using Abdera 1.0. I am creating a Feed and writing it out to standard
output. This works fine on Java 1.6.0_02 which is my local test
environment. However on Java 1.5.0_14, which is the production
environment, I am getting the following error:

"java.lang.ExceptionInInitializerError
	org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:408)
	org.apache.abdera.parser.stax.FOMElement.writeTo(FOMElement.java:403)
	org.apache.abdera.parser.stax.FOMWriter.writeTo(FOMWriter.java:67)
	org.apache.abdera.util.AbstractWriter.writeTo(AbstractWriter.java:78)
	com.kp.app.widgets.arktanActivityStreams.ArktanActivityStreams.createASFromCFEList(ArktanActivityStreams.java:91)"

The code on line 91 on ArktanActivityStreams.java is:

"writer.writeTo(feed, System.out);"

where "Writer writer = abdera.getWriter();" and feed is an abdera Feed.

The libraries that I am using are:
abdera-1.0.jar,  axiom-api-1.2.5.jar and  axiom-impl-1.2.5.jar

I also had to pull in "jaxp-api-1.4.jar" on Java 1.5 which I didn't need
on Java 1.6.

My goal is to produce a string representation of the Feed. I first tried
writing it to a BufferedOutputStream and got the same error on Java 1.5,
while it worked on Java 1.6.

Any help will be much appreciated.

Thanks,
rahul

















Mime
View raw message