During the constructor of org.jboss.aesh.console.Console...
In the readFile() method of org.jboss.aesh.history.FileHistory:
if(new File(historyFile).exists()) { BufferedReader reader = new BufferedReader(new FileReader(historyFile)); ....
historyFile is a file in the home directory of the user. In an environment where this file is shared and concurrently written/deleted/created by many processes, like Hudson, it sometimes happens that File.exists() will return true, but during the BufferedReader constructor, the file will not exist anymore. The resulting FileNotFoundException should be caught and ignored instead of letting it through the call stack.
Happens to us when testing EAP 6.2
- blocks
-
WFLY-3354 Upgrade Aesh to 0.33.12
- Closed