Details
Description
The following error occurs when disconnecting the file system where log files are written on:
[java] java.lang.StackOverflowError
[java] at java.io.FileOutputStream.writeBytes(Native Method)
[java] at java.io.FileOutputStream.write(FileOutputStream.java:247)
[java] at quickfix.FileLog.writeTimeStamp(FileLog.java:116)
[java] at quickfix.FileLog.writeMessage(FileLog.java:97)
[java] at quickfix.FileLog.onEvent(FileLog.java:111)
[java] at quickfix.LogUtil.logThrowable(LogUtil.java:47)
[java] at quickfix.LogUtil.logThrowable(LogUtil.java:60)
[java] at quickfix.FileLog.writeMessage(FileLog.java:106)
[java] at quickfix.FileLog.onEvent(FileLog.java:111)
[java] at quickfix.LogUtil.logThrowable(LogUtil.java:47)
[java] at quickfix.LogUtil.logThrowable(LogUtil.java:60)
[java] at quickfix.FileLog.writeMessage(FileLog.java:106)
[java] at quickfix.FileLog.onEvent(FileLog.java:111)
Repro steps:
- Start quickfixj engine using a directory on a removable drive (for instance usb key) as log dir
- Disconnect removable drive while quickfixj engine is running