Uploaded image for project: 'NEURE'
  1. NEURE
  2. NEURE-225

LineUnavailableException with sounds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Subject Client
    • None
    • Ubuntu Linux 10.10, Firefox 3.6.13, Java 1.6.0_22

      Sounds stop too early and following error shows in console. (the task finishes normally otherwise)
      ******
      15:38:28 INFO [RunnerReadOnlyDataController.getQuestionGuideModels] taskId id=992
      javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported.
      at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:494)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.implOpen(DirectAudioDevice.java:1280)
      at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:107)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1061)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1151)
      at fi.jyu.nmi.neure.taskeditor.components.runtime.NSound.openLine(Unknown Source)
      at fi.jyu.nmi.neure.taskeditor.components.runtime.NSound.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:662)
      javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 18000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported.
      at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:494)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.implOpen(DirectAudioDevice.java:1280)
      at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:107)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1061)
      at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1151)
      at fi.jyu.nmi.neure.taskeditor.components.runtime.NSound.openLine(Unknown Source)
      at fi.jyu.nmi.neure.taskeditor.components.runtime.NSound.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:662)
      Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
      at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:358)
      at sun.awt.X11GraphicsDevice.setFullScreenWindow(X11GraphicsDevice.java:300)
      at fi.nmi.neure.subjectclient.SCMain$1$1.actionPerformed(Unknown Source)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.Component.processMouseEvent(Component.java:6267)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6032)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4630)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

            olmasl Oleksandr Maslov
            jirauser10008 user-7c936 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: