You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/11/19 19:33:56 UTC
[Bug 60392] New: NPE JDBCSampler when catching Exceptions
https://bz.apache.org/bugzilla/show_bug.cgi?id=60392
Bug ID: 60392
Summary: NPE JDBCSampler when catching Exceptions
Product: JMeter
Version: 3.1
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: felix.schumacher@internetallee.de
Target Milestone: ---
Created attachment 34461
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34461&action=edit
Guard Exception handler against null messages
When reporting illegal arguments the H2 driver does not set a message, which
leads to a NPE and a falsely true sample result. The attached patch guards the
exception handler against this.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 60392] NPE JDBCSampler when catching Exceptions
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60392
UbikLoadPack support <su...@ubikloadpack.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
+1 for patch commiting
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 60392] NPE JDBCSampler when catching Exceptions
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60392
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Date: Tue Nov 29 19:46:58 2016
New Revision: 1771948
URL: http://svn.apache.org/viewvc?rev=1771948&view=rev
Log:
603982 Guard Exception handler of the JDBCSampler against null messages
Modified:
jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.