j2ee thread: getting error with example in proff. java server programming j2ee
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
|





