Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 59
Registered: ‎03-01-2011
My Device: Not Specified

Exception occurs java.io.IOException: Timed out while sax Parsing from URL

I am using sax parser to fetch xml data from API..

its working fine in simulator with out getting this exception but in device after getting some data Like for Index val 18 The device stop parsing and after sometimes throws 

Exception occurs java.io.IOException: Timed out Exception. And after some time resume parsing but skip data for index 18 and resume at index 19 ( these index vals are getting data in loop ) pls help out why its in device but in simulator no issue..

Contributor
Posts: 44
Registered: ‎01-12-2011
My Device: storm

Re: Exception occurs java.io.IOException: Timed out while sax Parsing from URL

hi all i am also facing same proble if anybody have solution please help us.

thnks in advance. 

 

$@/\/\!!!
Regular Contributor
Posts: 59
Registered: ‎03-01-2011
My Device: Not Specified

Re: Exception occurs java.io.IOException: Timed out while sax Parsing from URL

use System.gc(). inside loop. it will sortout