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] Resolved: (KARAF-477) Karaf console should gracefully handle errors due to the history file being read only.
Date Tue, 22 Feb 2011 17:26:45 GMT

     [ 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

        

Mime
View raw message