[ 
https://issues.apache.org/jira/browse/KARAF-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jamie goodyear closed KARAF-477.
--------------------------------

    
> 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: karaf-shell
>    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.
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

        

Reply via email to