1.0b1 bug: org.xmlpull.v1.XmlPullParserException

when i use the smack.jar built from the downloaded sources, the following exception occurs:

– snip –

caused by: org.xmlpull.v1.XmlPullParserException: Ressource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory; nested exception is:

org.xmlpull.v1.XmlPullParserException: Ressource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory

at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:272)

at org.jivesoftware.smack.PacketReader.(PacketReader.java:110)

at org.jivesoftware.smack.XMPPConnection.init(XMPPConnection.java:403)

at org.jivesoftware.smack.XMPPConnection.(XMPPConnection.java:152)

at org.jivesoftware.smack.XMPPConnection.(XMPPConnection.java:130)

java.lang.NullPointerException

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:227)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:73)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:95)

– snap –

environment:

opsys: win32

java:

java version “1.4.0”

Java™ 2 Runtime Environment, Standard Edition (build 1.4.0-b92)

Java HotSpot™ Client VM (build 1.4.0-b92, mixed mode)

regards,

earl

Earl,

Thanks for the bug report. It looks like the build process isn’‘t properly merging the JAR files together. Specifically, the contents of META-INF/services isn’‘t getting added from the xpp.jar. To fix the problem, you could manually add that directory and contents. I’'ll also post an updated build of Smack in the next few hours.

Regards,

Matt