Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 67860 invoked from network); 22 Feb 2011 17:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 17:27:08 -0000 Received: (qmail 71832 invoked by uid 500); 22 Feb 2011 17:27:08 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 71774 invoked by uid 500); 22 Feb 2011 17:27:08 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 71740 invoked by uid 99); 22 Feb 2011 17:27:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 17:27:08 +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; Tue, 22 Feb 2011 17:27:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9A0631B1D3D for ; Tue, 22 Feb 2011 17:26:45 +0000 (UTC) Date: Tue, 22 Feb 2011 17:26:45 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: issues@karaf.apache.org Message-ID: <1874057459.8696.1298395605627.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2030937935.7279.1298343878810.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (KARAF-477) Karaf console should gracefully handle errors due to the history file being read only. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved KARAF-477. --------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 fix applied to trunk and 2.2.x branch > Karaf console should gracefully handle errors due to the history file being read only. > -------------------------------------------------------------------------------------- > > Key: KARAF-477 > URL: https://issues.apache.org/jira/browse/KARAF-477 > Project: Karaf > Issue Type: New Feature > Components: console > Affects Versions: 2.1.4 > Reporter: Hiram Chirino > Assignee: Hiram Chirino > Fix For: 2.2.0, 3.0.0 > > Original Estimate: 3h > Remaining Estimate: 3h > > see exception: > {code} > Exception in thread "main" java.io.FileNotFoundException: /usr/games/.karaf/karaf.history (No such file or directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(FileOutputStream.java:131) > at java.io.FileWriter.(FileWriter.java:73) > at jline.History.setHistoryFile(History.java:45) > at org.apache.karaf.shell.console.jline.Console.(Console.java:103) > {code} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira