Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41F531112D for ; Tue, 2 Sep 2014 04:52:21 +0000 (UTC) Received: (qmail 28580 invoked by uid 500); 2 Sep 2014 04:52:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 28520 invoked by uid 500); 2 Sep 2014 04:52:21 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 28291 invoked by uid 99); 2 Sep 2014 04:52:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 04:52:20 +0000 Date: Tue, 2 Sep 2014 04:52:20 +0000 (UTC) From: "Amit Jain (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCR-3805) LocalCache doesn't build up properly in JDK 7. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit Jain updated JCR-3805: --------------------------- Fix Version/s: (was: 2.8.1) 2.9.1 > LocalCache doesn't build up properly in JDK 7. > ----------------------------------------------- > > Key: JCR-3805 > URL: https://issues.apache.org/jira/browse/JCR-3805 > Project: Jackrabbit Content Repository > Issue Type: Bug > Affects Versions: 2.8 > Reporter: Shashank Gupta > Assignee: Amit Jain > Fix For: 2.9.1 > > Attachments: JCR-3803-3805.patch, JCR-3805-TestCase.patch > > > In JDK 7 local cache build up shows following exception. This exception leads to local cache not initializing properly and local cache exceeds its configured size and eventauly exhausting disk. > {noformat} > 17.08.2014 05:37:08.500 *INFO* [Apache Sling Job Background Loader] org.apache.sling.event Service [QueueMBean for queue Granite Workflow Queue,2420] ServiceEvent REGISTERED > 17.08.2014 05:37:08.502 *INFO* [Apache Sling Job Queue Granite Workflow Queue] org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue.Granite Workflow Queue Starting job queue Granite Workflow Queue > 17.08.2014 05:37:10.329 *ERROR* [Thread-56] org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in Thread Thread[Thread-56,5,main] > java.lang.IllegalArgumentException: Comparison method violates its general contract! > at java.util.TimSort.mergeLo(TimSort.java:747) > at java.util.TimSort.mergeAt(TimSort.java:483) > at java.util.TimSort.mergeCollapse(TimSort.java:410) > at java.util.TimSort.sort(TimSort.java:214) > at java.util.TimSort.sort(TimSort.java:173) > at java.util.Arrays.sort(Arrays.java:659) > at java.util.Collections.sort(Collections.java:217) > at org.apache.jackrabbit.core.data.LocalCache$CacheBuildJob.run(LocalCache.java:559) > at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)