Bug#717048: freecol: Feecol tries to getAudioInputStream when --no-soundoption is set

jmg jeanmichel.123 at free.fr
Tue Jul 16 10:12:54 UTC 2013


Package: freecol
Version: 0.10.5+dfsg-1
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

Some time ago freecol was workingon this computer.
Now, it does not.
It might be related to an upgrade/install/remove of some package to current distribtion.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

As freecol was not working from gui I launched it from command line. It was not more effective.
Nonetheless I seen some exceptions related to sound.
So I tried to launch the program with no-sound option, but the exception still occurs.

The last comand line I tried was:
freecol DEBUG_WRAPPER=1 rasterizer   --windowed 400x400 --log-console --no-intro  --private --no-sound

   * What was the outcome of this action?
The output is then several audio exception like:

javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream
	at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1119)
	at net.sf.freecol.common.resources.AudioResource.<init>(AudioResource.java:63)
	at net.sf.freecol.common.resources.ResourceFactory.createResource(ResourceFactory.java:99)
	at net.sf.freecol.common.io.FreeColDataFile.getResourceMapping(FreeColDataFile.java:245)
	at net.sf.freecol.common.io.FreeColTcFile.getResourceMapping(FreeColTcFile.java:68)
	at net.sf.freecol.client.FreeColClient.<init>(FreeColClient.java:209)
	at net.sf.freecol.FreeCol.main(FreeCol.java:201)
java.util.logging.LogManager$RootLogger log
	WARNING: Uncaught exception from thread: Thread[AWT-EventQueue-0,6,main]
	Tue Jul 16 11:49:27 CEST 2013
	Thread ID: 11
	Stack trace:

It finished by:

	WARNING: Uncaught exception from thread: Thread[AWT-EventQueue-0,6,main]
	Tue Jul 16 11:49:27 CEST 2013
	Thread ID: 11
	Stack trace:
java.lang.NullPointerException
	at net.sf.freecol.client.gui.option.ListOptionUI.<init>(ListOptionUI.java:94)
	at net.sf.freecol.client.gui.option.OptionUI.getOptionUI(OptionUI.java:208)
	at net.sf.freecol.client.gui.option.OptionGroupUI.addOptionUI(OptionGroupUI.java:154)
	at net.sf.freecol.client.gui.option.OptionGroupUI.addOptionGroupUI(OptionGroupUI.java:148)
	at net.sf.freecol.client.gui.option.OptionGroupUI.<init>(OptionGroupUI.java:109)
	at net.sf.freecol.client.gui.panel.OptionsDialog.initialize(OptionsDialog.java:127)
	at net.sf.freecol.client.gui.panel.ClientOptionsDialog.<init>(ClientOptionsDialog.java:52)
	at net.sf.freecol.client.gui.Canvas.<init>(Canvas.java:382)
	at net.sf.freecol.client.gui.GUI.startGUI(GUI.java:1030)
	at net.sf.freecol.client.FreeColClient$1.run(FreeColClient.java:251)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
	at java.awt.EventQueue.access$300(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:634)
	at java.awt.EventQueue$2.run(EventQueue.java:632)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)


   * What outcome did you expect instead?

I would like the executable to work in gui mode with no sound.
....and nul exceptions to be avoided or correctly handled.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages freecol depends on:
ii  default-jre [java6-runtime]    1:1.6-47
ii  fonts-liberation               1.07.2-6
ii  java-wrappers                  0.1.25
ii  libcommons-cli-java            1.2-3
ii  libcortado-java                0.6.0-1
ii  libmiglayout-java              3.7.4-2
ii  openjdk-6-jre [java6-runtime]  6b27-1.12.5-1
ii  openjdk-7-jre [java6-runtime]  7u25-2.3.10-1~deb7u1
ii  sun-java6-jre [java6-runtime]  6.26-0squeeze1

freecol recommends no packages.

freecol suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list