Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 A454B92E1 for ; Mon, 2 Apr 2012 18:37:47 +0000 (UTC) Received: (qmail 61860 invoked by uid 500); 2 Apr 2012 18:37:47 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 61812 invoked by uid 500); 2 Apr 2012 18:37:47 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 61804 invoked by uid 99); 2 Apr 2012 18:37:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 18:37:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 18:37:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E327E354399 for ; Mon, 2 Apr 2012 18:37:23 +0000 (UTC) Date: Mon, 2 Apr 2012 18:37:23 +0000 (UTC) From: "Jesse Glick (Created) (JIRA)" To: dev@felix.apache.org Message-ID: <1072884246.1891.1333391843943.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (FELIX-3420) BundleCache rethrows exceptions without root cause MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 BundleCache rethrows exceptions without root cause -------------------------------------------------- Key: FELIX-3420 URL: https://issues.apache.org/jira/browse/FELIX-3420 Project: Felix Issue Type: Bug Components: Framework Affects Versions: framework-4.0.2 Environment: Linux Reporter: Jesse Glick Priority: Minor Trying to diagnose occasional errors thrown during tests: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) Not sure what the real problem is here, but the OFLE stack trace is missing, because Felix code has catch (Exception ex) { throw new Exception("Unable to lock bundle cache: " + ex); } whereas it should be catch (Exception ex) { throw new Exception("Unable to lock bundle cache: " + ex, ex); } and similarly a few lines above. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira