Hello, I have been following the tutorial and find it very helpfull indeed. I am a little stuck on Chapter 5 with a problem however. Here goes!
The beans deployed fine but running the client produced the following output in the jboss screen: 13:06:32,406 INFO [STDOUT] Entering StoreAccessBean.ejbCreate() 13:06:32,421 INFO [STDOUT] Leaving StoreAccessBean.ejbCreate() 13:06:32,421 INFO [STDOUT] Entering StoreAccessBean 13:06:32,437 INFO [STDOUT] Leaving StoreAccessBean 13:06:32,437 INFO [STDOUT] Entering StoreAccessDAOImpl.init() 13:06:32,437 INFO [STDOUT] Entering StoreAccessDAOImpl.loginUser() 13:06:32,437 INFO [STDOUT] Userid is U2 13:06:32,437 INFO [STDOUT] Leaving StoreAccessDAOImpl.loginUser() 13:06:32,453 INFO [STDOUT] Entering StoreAccessBean.getCustomerData() 13:06:32,453 INFO [STDOUT] Entering CustomerBean.ejbFindByUserID() 13:06:32,453 INFO [STDOUT] Leaving CustomerBean.ejbFindByUserID() 13:06:32,453 INFO [STDOUT] Entering CustomerDAOImpl.init() 13:06:32,453 INFO [STDOUT] Error in CustomerDAOImpl.init() 13:06:32,453 INFO [STDOUT] Leaving CustomerDAOImpl.init() 13:06:32,453 INFO [STDOUT] Entering CustomerDAOImpl.findByUserID() 13:06:32,453 ERROR [STDERR] java.lang.NullPointerException 13:06:32,468 ERROR [STDERR] at au.com.tusc.dao.CustomerDAOImpl.findByUserID(CustomerDAOImpl.java:128) 13:06:32,468 ERROR [STDERR] at au.com.tusc.bmp.CustomerBMP.ejbFindByUserID(CustomerBMP.java:138) 13:06:32,484 ERROR [STDERR] at au.com.tusc.session.StoreAccessBean.getCustomerData(StoreAccessBean.java:99 ) 13:06:32,500 INFO [STDOUT] Error in StoreAccessBean.getCustomerData()javax.ejb.FinderException: Inside CustomerDAOImpl.findByUserID()java.lang.NullPointerException 13:06:32,500 INFO [STDOUT] Leaving StoreAccessBean.getCustomerData() As you can all see the loginUser() part is working fine but I seem to get a null pointer exception from the following line in CustomerDAOImpl.findByUserID() conn = jdbcFactory.getConnection(); Any tips or help would be greatly appreciated. Peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835819#3835819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835819 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user