I am encountering an issue in my application where attempting to remove an item from the queue results in a None.get, and leaves the queue in a state where all subsequent attempts to remove an item fail.
Looking at the code, Journal.journalAfter() is called, which returns Option[String], but the result is assumed to always be defined. readerFilename.get throws the None.get exception, and results in reader still pointing to a now-closed channel.
I am encountering an issue in my application where attempting to remove an item from the queue results in a None.get, and leaves the queue in a state where all subsequent attempts to remove an item fail.
Here's the None.get:
Looking at the code, Journal.journalAfter() is called, which returns Option[String], but the result is assumed to always be defined. readerFilename.get throws the None.get exception, and results in
reader
still pointing to a now-closed channel.Subsequent remove() calls:
Unfortunately I do not know exactly how to reproduce the problem.