Exceptions in J2ME <p>I am developing an mobile application using j2me.In that i am using kxml parser.In my application i have to call an url to get the data.When i am calling that url sometimes it showing:</p> <pre><code>java.lang.IllegalStateException: update of non-existent node Exception. </code></pre> <p>My sample code is:</p> <pre><code> InputStreamReader isr=null; InputStream rssStream=null; InputStream is = null; HttpConnection conn=null; try { conn = (HttpConnection)Connector.open(rssUrl); rssStream = conn.openInputStream();----------&gt;I think exception is shown here. isr = new InputStreamReader( rssStream ); parser.setInput(isr); parser.nextTag(); </code></pre>