[
https://issues.apache.org/jira/browse/DERBY-5850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409502#comment-13409502
]
Knut Anders Hatlen commented on DERBY-5850:
-------------------------------------------
The ArrayIndexOutOfBoundsException looks like a JVM bug, as
Character.isLetterOrDigit(char) should never throw that exception.
However, the failing call to StringUtil.hexDump() happens in an error handler
in CachedPage.changeInstanceTo(), so the ArrayIndexOutOfBoundsException hides a
StandardException that may be a problem in Derby:
catch (StandardException se)
{
if (se.getSeverity() > ExceptionSeverity.STATEMENT_SEVERITY)
{
throw se;
}
else
{
throw StandardException.newException(
SQLState.DATA_UNKNOWN_PAGE_FORMAT_2,
newIdentity,
org.apache.derby.iapi.util.StringUtil.hexDump(pageData));
}
}
> store/rollForwardRecovery fails with java.lang.ArrayIndexOutOfBoundsException
> -----------------------------------------------------------------------------
>
> Key: DERBY-5850
> URL: https://issues.apache.org/jira/browse/DERBY-5850
> Project: Derby
> Issue Type: Bug
> Environment: ava Version: 1.7.0
> Java Vendor: IBM Corporation
> Java home: /local1/cloudtst/dev/src/ibm17/jre
> OS name: Linux
> OS architecture: x86
> OS version: 2.6.32-220.7.1.el6.i686
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.7
> java.runtime.version: pxi3270sr1-20120330_01 (SR1)
> java.fullversion: JRE 1.7.0 IBM J9 2.6 Linux x86-32 20120322_106209 (JIT
> enabled, AOT enabled)
> J9VM - R26_Java726_SR1_20120322_1720_B106209
> JIT - r11_20120322_22976
> GC - R26_Java726_SR1_20120322_1720_B106209
> J9CL - 20120322_106209
> Reporter: Kathey Marsden
> Attachments: derby.log
>
>
> On trunk IBM 1.7 run on July 5 rolForwardRecovery failed with the following
> diff ...
> Failure Details:
> ********* Diff file derbyall/storeall/storemore/rollForwardRecovery.diff
> *** Start: rollForwardRecovery jdk1.7.0 storeall:storemore 2012-07-06
> 00:33:18 ***
> 730a731,732
> > ERROR XJ040: Failed to start database 'wombat' with class loader XXXX, see
> > the next exception for details.
> > ERROR XJ001: Java exception: ': java.lang.ArrayIndexOutOfBoundsException'.
> 734 del
> < A
> |B
>
> |C
>
> |D
> |E
>
>
> 735 del
> <
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 736 del
> < 1
> &|2
>
> &|3
>
> &|4
> &|5
>
> &
> 737 del
> < 10
> &|20
>
> &|30
>
> &|40
> &|50
>
> &
> 738 del
> ....
> Unfortunately things didn't get pushed out to Apache. I will follow up with
> the stack trace
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira