Okay I'm rather confused by this issue. I'm trying to run some proprietary software that seems to work for one person but not for two others. The software is throwing this exception:
Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: Invalid format at org.classpath.icedtea.pulseaudio.Stream.native_pa_stream_new(Native Method) at org.classpath.icedtea.pulseaudio.Stream.(Stream.java:263) at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.createStream(PulseAudioDataLine.java:132) at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:100) at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75) at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:90)
However, as far as I can tell, I'm running Sun Java Hotspot. I'm on Ubuntu 10.10, which I know uses pulse audio as its default audio device, but when I tried switching to ALSA, I got the same exception. Since this code runs correctly on another computer, I assume I'm running into a configuration issue rather than bad code.
What might be going wrong, and how can I fix it?