jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Parvulescu <alex.parvule...@gmail.com>
Subject Re: SegmentMK NPE in an OSGi env
Date Mon, 20 May 2013 13:11:18 GMT
a small followup on this issue,

The NPE is gone, but I currently see a different problem [0].

This only affects the Mongo-based segment only, the file-based segmentmk
doesn't have this issue.

AFAIK Jukka is working on a fix already.


best,
alex


[0]
The activate method has thrown an exception
(java.lang.IllegalStateException: String is too long: 4570418538145099520)
java.lang.IllegalStateException: String is too long: 4570418538145099520
 at
org.apache.jackrabbit.oak.plugins.segment.Segment.loadString(Segment.java:239)
at
org.apache.jackrabbit.oak.plugins.segment.Segment.access$000(Segment.java:36)
 at
org.apache.jackrabbit.oak.plugins.segment.Segment$2.load(Segment.java:116)
at
org.apache.jackrabbit.oak.plugins.segment.Segment$2.load(Segment.java:113)
 at
org.apache.jackrabbit.oak.plugins.segment.OffsetCache.get(OffsetCache.java:96)
at
org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:200)
 at
org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:209)
at
org.apache.jackrabbit.oak.plugins.segment.SegmentPropertyState.getValue(SegmentPropertyState.java:136)
 at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(SegmentWriter.java:532)
at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:691)
 at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter$1.childNodeChanged(SegmentWriter.java:668)
at
org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:348)
 at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:659)
at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter$1.childNodeChanged(SegmentWriter.java:668)
 at
org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:348)
at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:659)
 at
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreBranch.merge(SegmentNodeStoreBranch.java:87)
at
org.apache.jackrabbit.oak.spi.lifecycle.OakInitializer.initialize(OakInitializer.java:45)
 at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:247)




On Thu, May 16, 2013 at 10:15 AM, Jukka Zitting <jukka.zitting@gmail.com>wrote:

> Hi,
>
> On Wed, May 15, 2013 at 8:31 PM, Alex Parvulescu
> <alex.parvulescu@gmail.com> wrote:
> > I've noticed a NPE during the init phase of the SegmentMK [0].
>
> Good catch, thanks!
>
> > should I create an issue for this?
>
> No need, I'll just fix it under OAK-593.
>
> BR,
>
> Jukka Zitting
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message