Bug#798699: java.lang.ClassCastException: java.io.File cannot be cast to java.lang.Class

Markus Koschany apo at gambaru.de
Fri Sep 11 19:26:49 UTC 2015


Control: severity -1 grave
Control: tags -1 stretch sid

On Fri, 11 Sep 2015 21:04:01 +0200 Emmanuel Fleury <fleury at labri.fr> wrote:
> 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.

Thanks for the report. This makes the package basically unusable.
Raising the severity accordingly. Jessie is not affected.

Regards,

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150911/d2d1bbea/attachment.sig>


More information about the Pkg-games-devel mailing list