Skip to main content

IC73190: INFORMIX JDBC: NULLPOINTEREXCEPTION APPEARS WHEN IN PARAMETER HAS NOT BEEN SET


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException appears when IN parameter has not been set.
    
    
    Problem:
    
    When an "In" parameter are missing in a java code (e.g in a
    "SELECT"- clause)  the Informix JDBC driver version 3.50.JC7 and
    JDBC 3.70.JC1 throw an exception:
    "java.sql.SQLException: System or internal error
    java.lang.NullPointerException"
    
    
    
    The older JDBC driver 3.50.JC1 does not display the
    NullPoniterException but displays this more useful exception:
    " java.sql.SQLException: IN parameter has not been set."
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using the Informix-JDBC 3.50.JCx and higher.           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * INFORMIX JDBC: NULLPOINTEREXCEPTION APPEARS WHEN IN          *
    * PARAMETER                                                    *
    * HAS NOT BEEN SET                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Informix JDBC version 3.70.JC2 when           *
    * available.                                                   *
    ****************************************************************
    

Problem conclusion

  • Fixed in IBM Informix JDBC version 3.70.JC2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC73190

  • Reported component name

    IBM JDBC

  • Reported component ID

    5724I3501

  • Reported release

    370

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-12-10

  • Closed date

    2012-10-31

  • Last modified date

    2012-11-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM JDBC

  • Fixed component ID

    5724I3501

Applicable component levels

  • R370 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Informix Tools

Informix JDBC


Software version:
370


Reference #:
IC73190


Modified date:
2012-11-01

Translate my page

Content navigation