I am getting Error while updating a table ..the error message is
JBO-29000: Unexpected exception caught javax.ejb.EJBException, msg=Transaction was rolled back. java.lang.NullPointerException; nested exception is java.lang.NullPointerException.
Transaction was rolled back: java.lang.NullPointerException; nested exception is java.lang.NullPointerException.
I have a CMP for a table. This beans use Data Transfer Objects also to retain the session values. To update the Database and also to fetch the value.
When updating from the form DTO gets updated..but not the actual table.
Can somebody let me know why and how to fix this
Thanks in advance
-
EJB Error updating table (2 messages)
- Posted by: Shahul Hameed
- Posted on: December 16 2004 00:44 EST
Threaded Messages (2)
- check these by Balaji Komera on December 18 2004 01:01 EST
- EJB Error updating table by Shahul Hameed on December 19 2004 02:13 EST
-
check these[ Go to top ]
- Posted by: Balaji Komera
- Posted on: December 18 2004 01:01 EST
- in response to Shahul Hameed
HI,
You may be loading your DVO with values,but before inserting the values into database,youe may be loosing the data.SO just print all the values ,where you are updating the table,and check any value is coming as null.I hope this will clear your problem
Regards
Balaji -
EJB Error updating table[ Go to top ]
- Posted by: Shahul Hameed
- Posted on: December 19 2004 02:13 EST
- in response to Shahul Hameed
Now the Error has gone..But my CMP is not updating the table. How could i trace out why its not updating the table.
Any advice will be appreciated