Does the stored proc work in MySQL (not running it from CF)? I wonder if the problem might be the cfsqltype. You could try a different type, to narrow it down some.
> -----Original Message----- > From: Richard White [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 19, 2006 7:36 AM > > Hi, i am getting a problem when i try to use stored > procedures that are stored in the mysql database. > > the error that is coming up is java.lang.NullPointerException > > it is coming up with this error in the following cfstoredproc code: > > <cfstoredproc procedure="getStudentDetails" datasource="mydataSource"> > <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" > value="[EMAIL PROTECTED]" null="no"> > <cfprocresult name="studentDetails"> > </cfstoredproc> > > the stored procedure in the mysql database is: > > DELIMITER // > CREATE PROCEDURE getStudentDetails (IN email VARCHAR(50)) > BEGIN > SELECT studentTitle, studentFirstName, studentLastName FROM > STUDENTS WHERE studentEmail = email; > END; > // > DELIMITER ; "EMF <idahopower.com>" made the following annotations. ------------------------------------------------------------------------------ This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ============================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4