A bug of JMF(when JMF is playing video, InterruptedException occurs) ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: A bug of JMF(when JMF is playing video, InterruptedException occurs) ?

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    5

    Question A bug of JMF(when JMF is playing video, InterruptedException occurs) ?

    A bug of JMF(when JMF is playing video, InterruptedException occurs after the "refresh" button of IE is clicked)?

    problem description:
    1. I modified the MediaPlayerSample.java of JMF_samples, to see how does it work. However, when JMF is playing video, InterruptedException occurs after the

    "refresh" button of IE is clicked:
    MediaNode event thread java.lang.InterruptedException
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    MediaNode event thread java.lang.InterruptedException
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Unknown Source)
    at java.lang.ThreadGroup.stopOrSuspend(Unknown Source)
    at java.lang.ThreadGroup.stop(Unknown Source)
    at sun.awt.AppContext.dispose(Unknown Source)
    at sun.applet.AppletClassLoader.release(Unknown Source)
    at sun.plugin.security.PluginClassLoader.release(Unknown Source)
    at sun.applet.AppletPanel.release(Unknown Source)
    at sun.applet.AppletPanel.sendEvent(Unknown Source)
    at sun.plugin.AppletViewer.onPrivateClose(Unknown Source)
    at sun.plugin.AppletViewer$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    2. I tried Firefox but this exception didn't appear.
    I searched in google but found nothing about this problem.

    My questions are:
    1. Is it a bug of JMF or IE?
    2. If it is a bug of JMF, how to correct it?

    Thanks in advance!

    The URL is http://www.cs.ualberta.ca/~taowang/t...yerSample.html
    The Java code is available at http://www.cs.ualberta.ca/~taowang/t...yerSample.java
    The AVI file is at http://www.cs.ualberta.ca/~taowang/test_jmf/1.avi

  2. #2
    Join Date
    Apr 2006
    Posts
    5

    Talking

    To correct this problem, I changed the deallocate() to close() in method destroy()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center