collab-uniba / econference4

Automatically exported from code.google.com/p/econference4
0 stars 0 forks source link

[product] An InterruptedException is raised on exit #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run eConference
2. Disconnect network [optional]
3. Exit app from File > Exit menu

The issue is related to the code that handles the library for monitoring the 
local user folder where invitation files are stored.

Exception trace:
lug 09, 2012 5:06:08 PM it.uniba.di.cdg.aspects.ExceptionLoggingAspect 
ajc$afterThrowing$it_uniba_di_cdg_aspects_ExceptionLoggingAspect$1$442fbe6f
Informazioni: Exception trace aspect [CloseableBlockingQueue.poll(..)]
java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at name.pachler.nio.file.impl.CloseableBlockingQueue.poll(CloseableBlockingQueue.java:75)
    at name.pachler.nio.file.impl.CloseableBlockingQueue.take(CloseableBlockingQueue.java:99)
    at name.pachler.nio.file.impl.WindowsPathWatchService.take(WindowsPathWatchService.java:319)
    at it.uniba.di.cdg.xcore.econference.util.FolderMonitor.run(FolderMonitor.java:75)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by calefato.uniba@gmail.com on 9 Jul 2012 at 3:09

GoogleCodeExporter commented 9 years ago
I believe that this issue might be easily fixed by calling watchService.close() 
when exiting eConference

Original comment by calefato.uniba@gmail.com on 9 Jul 2012 at 4:06