Red Hat Bugzilla – Bug 1271823
freecol crashes at start up
Last modified: 2015-10-19 17:07:57 EDT
Description of problem:
[liveuser@localhost ~]$ freecol
Java virtual machine used: /usr/lib/jvm/jre-openjdk/bin/java
classpath used: /usr/share/java/freecol.jar:/usr/share/java/commons-cli.jar:/usr/share/java/cortado.jar:/usr/share/java/jogg.jar:/usr/share/java/jorbis.jar:/usr/share/java/miglayout-core.jar:/usr/share/java/miglayout-swing.jar
main class used: net.sf.freecol.FreeCol
options used: '-Xmx512M' '-Xincgc' '-Dsun.java2d.pmoffscreen=false'
arguments used: --freecol-data /usr/share/freecol/data
OpenJDK Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Exception in thread "main" java.lang.ClassCastException: java.io.File cannot be cast to java.lang.Class
Version-Release number of selected component (if applicable):
Seems to happen every time.
If this gets fixed soon, I'll ask for a freeze exception so that the games spin has a working version.
This bug was reported to Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798699). They claim it is fixed in th latest release, but that is what we are running. Maybe one of our patches is causing a problem.
Thanks for the bug-report. 0.11.6 was just released, I've tried updating to this, but that did not help either, so I've ended up forward porting Debian's patch to 0.11.6 (Debian is still at 0.10.7).
A new 0.11.6 package which includes the fix for this is on its way. I'm fine with requesting a freeze exception since the current package is completely unusable we cannot make matters worse in any way.
freecol-0.11.6-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fd139300f2
freecol-0.11.6-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update freecol'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-fd139300f2
0.11.6-1.fc23 works for me. Thanks.
A freeze exception is requested for freecol because it is completely broken for the games spin. The games spin is really meant to be used live so updates aren't ideal. I doubt that freecol is used for any other deliverable, so it's unlikely to break anything we would block on. freecol is not one of the 9 featured games so it isn't a disaster if it isn't working. But it would seem that it would be very low risk to take an update for.
(In reply to Bruno Wolff III from comment #6)
> 0.11.6-1.fc23 works for me. Thanks.
Can you +1 the update in bodhi as well if it works for you, please?
Discussed at 2015-10-19 freeze exception review meeting: https://meetbot.fedoraproject.org/fedora-blocker-review/2015-10-19/f23-blocker-review.2015-10-19-16.00.html . Accepted as a freeze exception issue: obviously it's good for the packages shipped on the frozen Games DVD to work, and this fix can't break anything else as the package isn't shipped on anything else.
freecol-0.11.6-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.