You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2012/07/07 01:06:35 UTC
[jira] [Created] (DERBY-5850) store/rollForwardRecovery fails with
java.lang.ArrayIndexOutOfBoundsException
Kathey Marsden created DERBY-5850:
-------------------------------------
Summary: 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
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
[jira] [Commented] (DERBY-5850) store/rollForwardRecovery fails
with java.lang.ArrayIndexOutOfBoundsException
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (DERBY-5850) store/rollForwardRecovery fails with
java.lang.ArrayIndexOutOfBoundsException
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5850:
----------------------------------
Attachment: derby.log
Attached is the derby.log and the relvevant stack trace below.
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.CharacterDataLatin1.getProperties(CharacterDataLatin1.java:72)
at java.lang.CharacterDataLatin1.getType(CharacterDataLatin1.java:103)
at java.lang.Character.getType(Character.java:6745)
at java.lang.Character.isLetterOrDigit(Character.java:5669)
at java.lang.Character.isLetterOrDigit(Character.java:5648)
at org.apache.derby.iapi.util.StringUtil.hexDump(Unknown Source)
at org.apache.derby.impl.store.raw.data.CachedPage.changeInstanceTo(Unknown Source)
at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Source)
at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
at org.apache.derby.impl.store.raw.data.FileContainer.getAnyPage(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseContainer.getAnyPage(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAnyPage(Unknown Source)
at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)
at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
... 18 more
> 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