Bugs item #1023711, was opened at 2004-09-07 16:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1023711&group_id=22866

Category: JBossMQ
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: J. Engel (joengel)
Assigned to: Nobody/Anonymous (nobody)
Summary: NullPointerEx in org.jboss.mq.pm.jdbc3.PersistenceManager

Initial Comment:
org.jboss.mq.pm.jdbc3.PersistenceManager throws an
NullPointerException during startup.

Call to removeMarkedReferences in resolveAllUncommitedTXs:

1323:  // Delete all the non persistent references that
were added by the 
1324:  // CacheStore interface of this PM
1325:  removeMarkedReferences(c, null, "T");

NullPointerExeption is thrown in
removeMarkedReferences:1529 since txid ==null

1528:  stmt = c.prepareStatement(DELETE_MARKED_MESSAGES);
1529:  stmt.setLong(1, txid.longValue());
1530:  stmt.setString(2, mark);
1531:  stmt.executeUpdate();

Steps to reproduce:
1.) install jboss-4.0.0RC2
2.) deploy docs/examples/jms/postgres-jdbc3-service.xml


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1023711&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to