[ http://jira.jboss.com/jira/browse/JBAS-1332?page=history ]
Scott M Stark moved JBMQ-105 to JBAS-1332:
------------------------------------------
Project: JBoss Application Server (was: JBoss MQ)
Key: JBAS-1332 (was: JBMQ-105)
Version: JBossAS-4.0.1 Final
> NullPointerException in JDBC3 PersistenceManager
> ------------------------------------------------
>
> Key: JBAS-1332
> URL: http://jira.jboss.com/jira/browse/JBAS-1332
> Project: JBoss Application Server
> Type: Bug
> Versions: JBossAS-4.0.1 Final
> Environment: JBoss 4.0.1 (why isn't this an option in the Version list?)
> Reporter: Tim McCune
> Priority: Critical
>
>
> http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/main/org/jboss/mq/pm/jdbc3/PersistenceManager.java?r1=1.6.4.1&r2=1.6.4.2
> ejort removed the line
> rs = stmt.executeQuery();
> so line 850 of PersistenceManager will always throw an NPE:
> Caused by: java.lang.NullPointerException
> at
> org.jboss.mq.pm.jdbc3.PersistenceManager.loadFromStorage(PersistenceManager.java:850)
> at
> org.jboss.mq.server.MessageCache.loadFromStorage(MessageCache.java:411)
> at
> org.jboss.mq.server.MessageReference.makeHard(MessageReference.java:351)
> at
> org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:156)
> at
> org.jboss.mq.server.MessageReference.getHeaders(MessageReference.java:249)
> at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:471)
> at org.jboss.mq.server.JMSQueue.receive(JMSQueue.java:136)
> I'm assuming this was just a slip-up and not intentional.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development