[
https://issues.apache.org/jira/browse/DERBY-6393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804846#comment-13804846
]
Myrna van Lunteren commented on DERBY-6393:
-------------------------------------------
The output of the repro with ibm 1.7 SR 5 is immediately:
Exception in thread "main" 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:6734)
at java.lang.Character.isLetterOrDigit(Character.java:5658)
at java.lang.Character.isLetterOrDigit(Character.java:5637)
at Derby6393Test.main(Derby6393Test.java:10)
With Oracle's 1.7 (java version "1.7.0_21" is what I have) this runs for a long
time, but doesn't give this Exception.
I will report this to the IBM JVM people, and close this issue as 'inValid'.
> at org.apache.derby.iapi.util.StringUtil.hexDump causes
> ArrayIndexOutOfBoundsException in jvm code.
> ---------------------------------------------------------------------------------------------------
>
> Key: DERBY-6393
> URL: https://issues.apache.org/jira/browse/DERBY-6393
> Project: Derby
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.11.0.0
> Reporter: Mike Matrigali
> Priority: Minor
> Attachments: Derby6393Test.java, Derby6393Test.java
>
>
> A call to at org.apache.derby.iapi.util.StringUtil.hexDump causes:
> 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:6734)
> at java.lang.Character.isLetterOrDigit(Character.java:5658)
> at java.lang.Character.isLetterOrDigit(Character.java:5637)
> 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)
--
This message was sent by Atlassian JIRA
(v6.1#6144)