You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2011/02/22 18:26:45 UTC

[jira] Resolved: (KARAF-477) Karaf console should gracefully handle errors due to the history file being read only.

     [ 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.<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