The Exception is caused by the the following line:
[L1325] removeMarkedReferences(c, null, "T");
which in turn causes the NullPointerException in the following mthod:
| protected void removeMarkedReferences(Connection c, Tx txid, String mark) throws
SQLException
| {
| PreparedStatement stmt = null;
| try
| {
| stmt = c.prepareStatement(DELETE_MARKED_REFERENCES);
| stmt.setLong(1, txid.longValue());
| stmt.setString(2, mark);
| stmt.executeUpdate();
| }
|
| finally
| {
| try
| {
| stmt.close();
| }
| catch (Throwable e)
| {
| }
| }
| }
|
on the line:
stmt.setLong(1, txid.longValue());
I commented out the statement // removeMarkedReferences(c, null, "T"); and ran some
tests. Everything seemed to work OK after the change.
Should I submit a patch or did I just something stupid?
chriss
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849762#3849762
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849762
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development