Skip to main content
Oct 16, 2015 2:28 AM UTC
Solved

AEM6 upgrade. Oak

Hello

I have upgraded my cq instance to AEM6 according to instructions, I have also installed Service Pack 2 and hotfix 6316.

When I try to get jcr:data property of node, I got exception

java.lang.IllegalStateException: String is too long: 2318850473248389347
    at org.apache.jackrabbit.oak.plugins.segment.Segment.loadString(Segment.java:362)
    at org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:329)
    at org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:323)
    at org.apache.jackrabbit.oak.plugins.segment.SegmentPropertyState.getValue(SegmentPropertyState.java:167)
    at org.apache.jackrabbit.oak.plugins.segment.SegmentPropertyState.getValue(SegmentPropertyState.java:158)
    at org.apache.jackrabbit.oak.plugins.value.ValueImpl.getValue(ValueImpl.java:381)
    at org.apache.jackrabbit.oak.plugins.value.ValueImpl.getOakString(ValueImpl.java:144)
    at org.apache.jackrabbit.oak.plugins.value.ValueImpl.getString(ValueImpl.java:287)
    at org.apache.jackrabbit.oak.jcr.session.PropertyImpl.getString(PropertyImpl.java:259)

I also have clear AEM6 instance and this problem is not reproduced on this instance.

This problem looks like OAK-2294, but as I said, I have installed hotfix 6316.

Thanks,

Denis

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

4 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

Please file a day care ticket for this:

https://helpx.adobe.com/marketing-cloud/experience-manager.html

Translate
Oct 16, 2015 2:28 AM UTC

log

Translate
Oct 16, 2015 2:28 AM UTC

I have compared oak indexes of two instances(upgraded instance and 'clear' instance), they are the same, but issue is still reproduced on upgraded instance(and is not reproduced on another one)

Translate
Sham_HC
Level 10
Oct 16, 2015 2:28 AM UTC

Hi Denis,

I do not see any relation with OAK-2294.  It seems for some reason it is retrieving a BINARY property as a String.  So there is hight probability you might have wrong index defnition. Can you attach http://localhost:4502/oak:index.-1.json or file an issue with daycare providing [1].

[1]

output of http://localhost:4502/oak:index.-1.json

all the log file

debug of org.apache.jackrabbit.oak.query

Thanks,

Sham

Translate