karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] Created: (KARAF-477) Karaf console should gracefully handle errors due to the history file being read only.
Date Tue, 22 Feb 2011 03:04:38 GMT
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: 3.0.0


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.<init>(FileOutputStream.java:179)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
       at java.io.FileWriter.<init>(FileWriter.java:73)
       at jline.History.setHistoryFile(History.java:45)
       at org.apache.karaf.shell.console.jline.Console.<init>(Console.java:103)
{code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message