rachavz / javadrone

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

Exception recording video #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
{{{
Jul 27, 2012 11:14:22 AM com.codeminders.controltower.config.AssignableControl 
recordVideo
SEVERE: {0}
java.io.IOException: mark/reset not supported
    at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:269)
    at java.io.FilterInputStream.reset(FilterInputStream.java:200)
    at java.io.FilterInputStream.reset(FilterInputStream.java:200)
    at com.sun.media.sound.WaveFileReader.getFMT(WaveFileReader.java:258)
    at com.sun.media.sound.WaveFileReader.getAudioInputStream(WaveFileReader.java:160)
    at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1094)
    at com.codeminders.controltower.config.AssignableControl.recordVideo(AssignableControl.java:236)
    at com.codeminders.controltower.config.AssignableControl.sendToDrone(AssignableControl.java:188)
    at com.codeminders.controltower.config.ControlMap.sendCommand(ControlMap.java:51)
    at com.codeminders.controltower.ControlTower.updateLoop(ControlTower.java:291)
    at com.codeminders.controltower.ControlTower.access$2(ControlTower.java:218)
    at com.codeminders.controltower.ControlTower$2.run(ControlTower.java:397)
    at java.lang.Thread.run(Thread.java:680)
}}}

Original issue reported on code.google.com by kroko...@gmail.com on 27 Jul 2012 at 6:15

GoogleCodeExporter commented 8 years ago
the problem is specific to Mac OS. Details:

MacOS 10.8

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

Original comment by kroko...@gmail.com on 27 Jul 2012 at 6:24

GoogleCodeExporter commented 8 years ago
http://stackoverflow.com/questions/5529754/java-io-ioexception-mark-reset-not-su
pported

Original comment by kroko...@gmail.com on 30 Jul 2012 at 8:45

GoogleCodeExporter commented 8 years ago
fixed

Original comment by kroko...@gmail.com on 30 Jul 2012 at 9:28