Bug#798699: java.lang.ClassCastException: java.io.File cannot be cast to java.lang.Class
Emmanuel Fleury
fleury at labri.fr
Fri Sep 11 19:04:01 UTC 2015
Package: freecol
Version: 0.10.7+dfsg-3
Severity: important
Just running the software leads to the following Java exception:
$> freecol
Disabling IPV6 network stack to work around bug #560056 on openjdk
If you experience problems with connecting to remote servers,
you can put it back by running Freecol this way:
freecol --enable-ipv6
Exception in thread "main" java.lang.ClassCastException: java.io.File
cannot be cast to java.lang.Class
at org.apache.commons.cli.OptionBuilder.withType(OptionBuilder.java:298)
at net.sf.freecol.FreeCol.handleArgs(FreeCol.java:338)
at net.sf.freecol.FreeCol.main(FreeCol.java:150)
^C
The process still hang afterward, I need to press Ctrl-C to stop it.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.6 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages freecol depends on:
ii default-jre [java7-runtime] 2:1.7-52
ii fonts-liberation 1.07.4-1
ii java-wrappers 0.1.28
ii libcommons-cli-java 1.3.1-2
ii libcortado-java 0.6.0-2
ii libmiglayout-java 4.2-1
ii openjdk-7-jre [java7-runtime] 7u85-2.6.1-3
ii openjdk-8-jre [java7-runtime] 8u66-b01-3
freecol recommends no packages.
freecol suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150911/a9e73d3d/attachment.sig>
More information about the Pkg-games-devel
mailing list