db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-2547) possible NullPointerException in client/am/ProductLevel
Date Tue, 21 Oct 2008 17:31:46 GMT

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

Myrna van Lunteren resolved DERBY-2547.

    Resolution: Duplicate

I'm marking this one as a duplicate.
I did a simple check by adding a println to the identified line in the code, then ran DataSourceTest,
and there was no situation where there was a null productID - until I added testJira95ds in
to the client run.
So, I definitely think it's a dup of DERBY-3407 / DERBY-2498 - and those have something of
a repro described.

> possible NullPointerException in client/am/ProductLevel
> -------------------------------------------------------
>                 Key: DERBY-2547
>                 URL: https://issues.apache.org/jira/browse/DERBY-2547
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions:
>            Reporter: Myrna van Lunteren
>            Assignee: Abhilash T.G
>            Priority: Trivial
> Encountered a NPE that doesn't make it to the application/end-user when debugging test
jdbcapi/DataSourceTest in one of my eclipse workspaces;
> org/apache/derby/client/am/ProductLevel
> constructor; 
>      versionLevel_ = Integer.parseInt(productID.substring(3,5)); 
> NPE because  productID was null

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

View raw message