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

Kristian Waagan resolved DERBY-2802.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0

Committed 'derby-2802.diff' to trunk with revision 546444.
The repro no longer produces the NPE.

Note that the first time I ran suites.All, I saw these two errors:
There were 2 failures:
1) 
ejbql(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure:
 Output at line 454 expected:<[0.0 ]         > but was:<[-0.0]         >
        at 
org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
        at 
org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
2) 
floattypes(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure:
 Output at line 1823 expected:<[0.0 ]         > but was:<[-0.0]         >
        at 
org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
        at 
org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

FAILURES!!!
Tests run: 6637,  Failures: 2,  Errors: 0

However, I was not able to reproduce them in later runs, and I assume they are 
intermittent failures not related to the patch for this issue.

> LOBStreamControl.replaceBytes can throw null pointer exception while trying 
> to access databytes after calling init
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2802
>                 URL: https://issues.apache.org/jira/browse/DERBY-2802
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.3.0.0
>            Reporter: Anurag Shekhar
>            Assignee: Anurag Shekhar
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2802.diff, LOBStreamControlNPE.java
>
>


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

Reply via email to