You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Steve Viens <sv...@attbi.com> on 2003/05/08 22:29:03 UTC

[juddi-Developers] FW: [ juddi-Bugs-734921 ] FindRelatedBusinessQuery accesses null ptr

Thanks for reporting this Andy. 

CVS has been updated.

Steve

-----Original Message-----
From: SourceForge.net [mailto:noreply@sourceforge.net] 
Sent: Thursday, May 08, 2003 11:20 PM
To: noreply@sourceforge.net
Subject: [ juddi-Bugs-734921 ] FindRelatedBusinessQuery accesses null
ptr


Bugs item #734921, was opened at 2003-05-08 22:57
Message generated for change (Comment added) made by sviens
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=734921&grou
p_id=42875

Category: Persistence
Group: Development
>Status: Closed
>Resolution: Fixed
Priority: 8
Submitted By: andy cutright (acutright)
Assigned to: Steve Viens (sviens)
Summary: FindRelatedBusinessQuery accesses null ptr

Initial Comment:
org.juddi.datastore.jdbc.FindRelatedBusinessQuery.selectWithKeyedRef

accesses a null pointer



line 273: ResultSet resultSet = null

// ... set up statement



// access resultSet.. 

line 309: while (resultSet.next())



resultSet hasn't been initialized AFAIKT. i'm not

famaliar with 

JDBC coding, but this appears to be a real bug to me.







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

>Comment By: Steve Viens (sviens)
Date: 2003-05-09 03:19

Message:
Logged In: YES 
user_id=73959

Added missing "executeQuery" at line 155.

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

Comment By: Steve Viens (sviens)
Date: 2003-05-09 03:16

Message:
Logged In: YES 
user_id=73959

Absolutely a bug.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=734921&grou
p_id=42875