Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: getting error with example in proff. java server programming j2ee


Message #1 by "Joel Carklin" <jc@g...> on Mon, 11 Jun 2001 11:43:28
Hi,

I'm a newbi to j2ee. I have been trying the example on page 116 of Java 
Server Programming which creates a table and tries to insert data. I added 
the line movies.insertData(); to the main method, but when it tries to run 
this method it throws a nullPointerException. The code is in a do...while 
loop ( while(br.readLine() != null) ) to avoid this but it doesn't work.

Any help appreciated
Thanks
Joel   

  Return to Index