You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2002/04/08 23:52:00 UTC

DO NOT REPLY [Bug 7855] New: - JDBC problems with INSERT, UPDATE, DELETE

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7855>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7855

JDBC problems with INSERT, UPDATE, DELETE

           Summary: JDBC problems with INSERT, UPDATE, DELETE
           Product: JMeter
           Version: 1.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: kate@rapidmoney.com


NullPointerException is thrown after any JDBC request that doesn't
produce a result set.  This is due to code in JDBCSampler that attempts
to print out a variable that is initialized only if there is result set
(i.e. SELECT).

I am attaching a diff that fixes this.

NOTE: Aside from this problem, JDBC appears to work well in JMeter 1.7.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>