Search the web
Sign In
New User? Sign Up
xmlpull-user
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
java.io.EOFException: no more data available   Message List  
Reply | Forward Message #294 of 308 |
Hi

I'm stress testing an application that uses XPP3. I'm seeing the
following stacktrace sporadically:

java.io.EOFException: no more data available
Thread-5: at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2659)
Thread-5: at org.xmlpull.mxp1.MXParser.more(MXParser.java:2666)
Thread-5: at
org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1385)
Thread-5: at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1370)
Thread-5: at org.xmlpull.mxp1.MXParser.next(MXParser.java:1111)
Thread-5: at
com.nmss.ms.agent.api.XppStreamHandler.processDocument(XppStreamHandler.java:67)
Thread-5: at com.nmss.ms.agent.api.ApiWorker.run(ApiWorker.java:193)
Thread-5: at java.lang.Thread.run(Thread.java:534)


I have checked the XML input document and it looks fine.

My instincts tell me I've hit some kind of synchronisation issue....
but I could be wildly wrong.

Are there are known issues that produce this Exception?

Thank in anticipation

Martin




Wed Jun 6, 2007 12:32 pm

martin_woolley
Offline Offline
Send Email Send Email

Forward
Message #294 of 308 |
Expand Messages Author Sort by Date

Hi I'm stress testing an application that uses XPP3. I'm seeing the following stacktrace sporadically: java.io.EOFException: no more data available Thread-5:...
Martin Woolley
martin_woolley
Offline Send Email
Jun 6, 2007
2:41 pm

... are you using the same parser instance in multiple threads? this is not supported. as noted in docs and as it is usual for XML parser: XPP3 is not multi...
Aleksander Slominski
as10m
Offline Send Email
Jun 6, 2007
7:13 pm

... one more addition maybe it is obvious but ... you can use the same instance in multiple threads *if* you will do all synchronization to make sure no two...
Aleksander Slominski
as10m
Offline Send Email
Jun 6, 2007
7:16 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help