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

2015-09-19 Thread Vincent Fourmond
Dear Markus, Thanks for looking at the problem and finding the fix. I had somehow missed the initial report. I was planning on packaging the latest release. Cheers, Vincent On Sat, Sep 12, 2015 at 1:30 AM, Markus Koschany wrote: > Control: tags -1 patch > >

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

2015-09-19 Thread Markus Koschany
Am 19.09.2015 um 10:04 schrieb Vincent Fourmond: > Dear Markus, > > Thanks for looking at the problem and finding the fix. I had somehow > missed the initial report. > > I was planning on packaging the latest release. Hi Vincent, Great! Packaging the new release should be

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

2015-09-11 Thread Markus Koschany
Control: severity -1 grave Control: tags -1 stretch sid On Fri, 11 Sep 2015 21:04:01 +0200 Emmanuel Fleury wrote: > Package: freecol > Version: 0.10.7+dfsg-3 > Severity: important > > Just running the software leads to the following Java exception: > > $> freecol > Disabling

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

2015-09-11 Thread Markus Koschany
Control: severity -1 grave Control: tags -1 stretch sid On Fri, 11 Sep 2015 21:04:01 +0200 Emmanuel Fleury wrote: > Package: freecol > Version: 0.10.7+dfsg-3 > Severity: important > > Just running the software leads to the following Java exception: > > $> freecol > Disabling

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

2015-09-11 Thread Emmanuel Fleury
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

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

2015-09-11 Thread Markus Koschany
Control: tags -1 patch Please find attached a patch that fixes the issue. The recent update of libcommons-cli-java to version 1.3.1 introduced some changes in OptionsBuilder.java which caused this FreeCol runtime error. In general Freecol should move away from OptionsBuilder because this class is