<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6692684420988638932</id><updated>2011-04-21T13:49:21.929-07:00</updated><title type='text'>Champion Java</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://championjava.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6692684420988638932/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://championjava.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sachin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_hpoWLUUuwbc/SePLc4ETZMI/AAAAAAAAAZY/OrHQKzKKK9o/S220/pokemon_trainer_070813a-l.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6692684420988638932.post-1252185987808555034</id><published>2008-10-06T19:50:00.000-07:00</published><updated>2008-10-06T19:53:05.943-07:00</updated><title type='text'>getting error of java.lang.NullPointerException</title><content type='html'>I am getting error of java.lang.NullPointerException.&lt;br /&gt;&lt;br /&gt;Previously I used Tomcat 4.0 and my code is working fone...&lt;br /&gt;&lt;br /&gt;but when I upgraded my tomcat 4.0 to tomcat 6.0 it gives me the error of java.lang.NullPointerException.&lt;br /&gt;&lt;br /&gt;Please help me ....&lt;br /&gt;it gives error of on line&lt;br /&gt;int id = Integer.parseInt(cachedRS.getString("SerialNo"));&lt;br /&gt;&lt;br /&gt;Step one is to move the Java code out of the JSP and into a controller of bean class so that it follows best practices and is easier to debug.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6692684420988638932-1252185987808555034?l=championjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://championjava.blogspot.com/feeds/1252185987808555034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6692684420988638932&amp;postID=1252185987808555034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6692684420988638932/posts/default/1252185987808555034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6692684420988638932/posts/default/1252185987808555034'/><link rel='alternate' type='text/html' href='http://championjava.blogspot.com/2008/10/getting-error-of-javalangnullpointerexc.html' title='getting error of java.lang.NullPointerException'/><author><name>Sachin</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_hpoWLUUuwbc/SePLc4ETZMI/AAAAAAAAAZY/OrHQKzKKK9o/S220/pokemon_trainer_070813a-l.jpg'/></author><thr:total>0</thr:total></entry></feed>
