2017-05-07, 13:12
While downloading actor images to display, tmm (latest nightly) frequently throws the following error message:
The bug is reproducible if you quickly browse movie items with cast tab open (I don't save actor images locally). And the problem actor image remains partly greyed out.
Code:
2017-05-06 20:02:00,215 DEBUG [SwingWorker-pool-4-thread-7] org.tinymediamanager.scraper.http.Url:241 - getting https://images-na.ssl-images-amazon.com/images/M/MV5BZjNhMzU2OGMtNGQ5NC00MTA2LThmYmQtZGZjYTc3YjUwMzU1XkEyXkFqcGdeQXVyMzk3NTUwOQ@@._V1._SX400_.jpg
2017-05-06 20:02:00,832 ERROR [main] org.tinymediamanager.Log4jBackstop:37 - Uncaught exception in thread: main
java.lang.IllegalStateException: Unbalanced enter/exit
at okio.AsyncTimeout.enter(AsyncTimeout.java:72)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:236)
at okio.RealBufferedSource.read(RealBufferedSource.java:45)
at okhttp3.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:377)
at okhttp3.internal.Util.skipAll(Util.java:176)
at okhttp3.internal.Util.discard(Util.java:158)
at okhttp3.internal.http.Http1xStream$FixedLengthSource.close(Http1xStream.java:393)
at okio.RealBufferedSource.close(RealBufferedSource.java:434)
at okio.RealBufferedSource$1.close(RealBufferedSource.java:422)
at java.nio.channels.Channels$ReadableByteChannelImpl.implCloseChannel(Unknown Source)
at java.nio.channels.spi.AbstractInterruptibleChannel$1.interrupt(Unknown Source)
at java.lang.Thread.interrupt(Unknown Source)
at java.util.concurrent.FutureTask.cancel(Unknown Source)
at javax.swing.SwingWorker.cancel(Unknown Source)
at org.tinymediamanager.ui.components.ActorImageLabel.paintComponent(ActorImageLabel.java:97)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$1200(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
The bug is reproducible if you quickly browse movie items with cast tab open (I don't save actor images locally). And the problem actor image remains partly greyed out.