Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1271823 - freecol crashes at start up
Summary: freecol crashes at start up
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freecol
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F23FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2015-10-14 19:50 UTC by Bruno Wolff III
Modified: 2015-10-19 21:07 UTC (History)
4 users (show)

Fixed In Version: freecol-0.11.6-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-19 21:07:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bruno Wolff III 2015-10-14 19:50:51 UTC
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
flags used: 
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
	at org.apache.commons.cli.OptionBuilder.withType(OptionBuilder.java:298)
	at net.sf.freecol.FreeCol.handleArgs(FreeCol.java:556)
	at net.sf.freecol.FreeCol.main(FreeCol.java:239)
[liveuser@localhost ~]$ 

Version-Release number of selected component (if applicable):
freecol-0.11.5-1.fc23.noarch

How reproducible:
Seems to happen every time.

Comment 1 Bruno Wolff III 2015-10-14 20:04:56 UTC
If this gets fixed soon, I'll ask for a freeze exception so that the games spin has a working version.

Comment 2 Bruno Wolff III 2015-10-15 05:24:28 UTC
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.

Comment 3 Hans de Goede 2015-10-17 13:39:37 UTC
Hi,

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.

Regards,

Hans

Comment 4 Fedora Update System 2015-10-17 13:52:42 UTC
freecol-0.11.6-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fd139300f2

Comment 5 Fedora Update System 2015-10-17 18:20:55 UTC
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

Comment 6 Bruno Wolff III 2015-10-17 23:01:57 UTC
0.11.6-1.fc23 works for me. Thanks.

Comment 7 Bruno Wolff III 2015-10-17 23:07:52 UTC
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.

Comment 8 Kalev Lember 2015-10-18 12:37:11 UTC
(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?

Comment 9 Adam Williamson 2015-10-19 20:04:03 UTC
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.

Comment 10 Fedora Update System 2015-10-19 21:07:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.