Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-477

Karaf console should gracefully handle errors due to the history file being read only.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.2.0, 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      see exception:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              chirino Hiram Chirino
              Reporter:
              chirino Hiram Chirino
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified