Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread shutdown-hook-1 java.util.ConcurrentModificationException: null #122

Closed
sarxos opened this issue Jul 20, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@sarxos
Copy link
Owner

sarxos commented Jul 20, 2013

Exception is being printed only in case when webcam is disposed on JVM graceful shutdown hook.

12:07:12.788 [shutdown-hook-1] ERROR c.g.s.webcam.WebcamExceptionHandler - Exception in thread shutdown-hook-1
java.util.ConcurrentModificationException: null
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) ~[na:1.6.0_45]
    at java.util.AbstractList$Itr.next(AbstractList.java:343) ~[na:1.6.0_45]
    at com.github.sarxos.webcam.Webcam.dispose(Webcam.java:328) ~[classes/:na]
    at com.github.sarxos.webcam.WebcamShutdownHook.run(WebcamShutdownHook.java:44) ~[classes/:na]

The exception side effect is a possibility that webcam is not disposed after JVM process is down.

@ghost ghost assigned sarxos Jul 20, 2013
@sarxos sarxos closed this as completed in 23653cd Jul 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant