AEM6 upgrade. Oak | Community
Skip to main content
October 16, 2015
Solved

AEM6 upgrade. Oak

  • October 16, 2015
  • 4 replies
  • 1630 views

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.
Best answer by smacdonald2008

Please file a day care ticket for this:

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

4 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015
October 16, 2015

log

October 16, 2015

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)

Sham_HC
Level 10
October 16, 2015

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