[jira] Created: (DBUTILS-40) NullPointerException occured at rethrow method

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (DBUTILS-40) NullPointerException occured at rethrow method

JIRA jira@apache.org
NullPointerException occured at rethrow method
----------------------------------------------

                 Key: DBUTILS-40
                 URL: https://issues.apache.org/jira/browse/DBUTILS-40
             Project: Commons DbUtils
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: jdk5.0, IBM DB2 Driver for JDBC and SQLJ
            Reporter: Hiroto Yagi
            Priority: Trivial


If SQLException.getMessage() is null when SQLException occured at JDBC Driver.
QueryRunner.rethrow method throws NullPointerException.

So I can't get  SQL Error code through log as log4j.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (DBUTILS-40) NullPointerException occured at rethrow method

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/DBUTILS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated DBUTILS-40:
---------------------------------

    Fix Version/s: 1.2

> NullPointerException occured at rethrow method
> ----------------------------------------------
>
>                 Key: DBUTILS-40
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-40
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: jdk5.0, IBM DB2 Driver for JDBC and SQLJ
>            Reporter: Hiroto Yagi
>            Priority: Trivial
>             Fix For: 1.2
>
>
> If SQLException.getMessage() is null when SQLException occured at JDBC Driver.
> QueryRunner.rethrow method throws NullPointerException.
> So I can't get  SQL Error code through log as log4j.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DBUTILS-40) NullPointerException occured at rethrow method

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/DBUTILS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671974#action_12671974 ]

Dan Fabulich commented on DBUTILS-40:
-------------------------------------

Fixed in "bugfixing" branch revision 742696.

> NullPointerException occured at rethrow method
> ----------------------------------------------
>
>                 Key: DBUTILS-40
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-40
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: jdk5.0, IBM DB2 Driver for JDBC and SQLJ
>            Reporter: Hiroto Yagi
>            Priority: Trivial
>             Fix For: 1.2
>
>
> If SQLException.getMessage() is null when SQLException occured at JDBC Driver.
> QueryRunner.rethrow method throws NullPointerException.
> So I can't get  SQL Error code through log as log4j.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (DBUTILS-40) NullPointerException occured at rethrow method

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/DBUTILS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed DBUTILS-40.
--------------------------------

    Resolution: Fixed

svn ci -m "Merging in Dab Fabulich's work on https://svn.apache.org/repos/asf/commons/sandbox/dbutils/bugfixing from -r741987:747723. Resolving DBUTILS-34 - DBUTILS-37 - DBUTILS-29 - DBUTILS-14 - DBUTILS-31 - DBUTILS-39 - DBUTILS-41 - DBUTILS-44 - DBUTILS-33 - DBUTILS-42 - DBUTILS-40"  

Sending        pom.xml
Sending        src/java/org/apache/commons/dbutils/BasicRowProcessor.java
Sending        src/java/org/apache/commons/dbutils/BeanProcessor.java
Sending        src/java/org/apache/commons/dbutils/QueryRunner.java
Adding         src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
Sending        src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
Sending        src/java/org/apache/commons/dbutils/handlers/BeanListHandler.java
Sending        src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
Deleting       src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java
Sending        src/java/org/apache/commons/dbutils/handlers/MapListHandler.java
Sending        src/test/org/apache/commons/dbutils/BaseTestCase.java
Adding         src/test/org/apache/commons/dbutils/QueryRunnerTest.java
Transmitting file data .........
Committed revision 747724.

> NullPointerException occured at rethrow method
> ----------------------------------------------
>
>                 Key: DBUTILS-40
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-40
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: jdk5.0, IBM DB2 Driver for JDBC and SQLJ
>            Reporter: Hiroto Yagi
>            Priority: Trivial
>             Fix For: 1.2
>
>
> If SQLException.getMessage() is null when SQLException occured at JDBC Driver.
> QueryRunner.rethrow method throws NullPointerException.
> So I can't get  SQL Error code through log as log4j.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.