|
From: SourceForge.net <no...@so...> - 2007-12-28 04:37:00
|
Bugs item #1739439, was opened at 2007-06-19 03:15 Message generated for change (Comment added) made by cleka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101939&aid=1739439&group_id=1939 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None >Status: Open Resolution: Works For Me Priority: 5 Private: No Submitted By: Brett Lentz (wakko666) Assigned to: David Ripton (dripton) Summary: Game unplayable on newer JREs Initial Comment: When using Sun's JRE 6, the game will not create a playable fight. I can play on the mainboard just fine, but whenever a fight occurs, it spawns the battle board, but doesn't spawn any of the creature tiles. When in this state, the game is responsive. It hasn't hung. I can click on any of the menus, or right-click any of the stacks on the mainboard and receive their contents. The battle board just seems to not get populated with the needed creatures. It shows the terrain, but no creatures. I don't have this problem with JRE 1.4. So, it seems like the only difference is connected with the new JRE. If you need additional log output, please let me know. I can duplicate this problem very easily. The last log messages are always similar to this: Brown's turn, number 4 2 creatures are split off from legion Br06 (Hourglass) into new legion Br03 (Chest) Legion Br03[Gargoyle, Gargoyle] is eliminated Legion Br03 (Chest) recombined into legion Br06 (Hourglass) Phase advances to Move Brown rolls a 6 for movement Legion Br06 (Hourglass) in 135 moves to Brush hex 134 entering on Left Phase advances to Fight Br06 (Hourglass) (Brown) attacks Rd04 (Gong) (blentz) in Brush hex 134 ---------------------------------------------------------------------- >Comment By: Clemens Katzer (cleka) Date: 2007-12-28 06:36 Message: Logged In: YES user_id=1717697 Originator: NO The symptoms sounds very much the same as described in the recent entry by "Nobody" 2007-12-27 01:01 in 1813362 Battle hangs game, perhaps due to Java 1.5 ? http://sourceforge.net/tracker/index.php?func=detail&aid=1813362&group_id=1939&atid=101939 (the original creator of that bug informed me that this last entry was NOT from him.) ---clip--- ... , but none of the creatures appear. The log window shows nothing interesting( which you might want to fix ), but the Java console gives the following error: INFO: Phase advances to Fight Dec 27, 2007 8:49:35 AM net.sf.colossus.server.Battle <init> INFO: Bk10 (Skull) (augustinku) attacks Rd11 (Sword) (Red) in Brush hex 113 Exception in thread "Client Brown" java.lang.NullPointerException at net.sf.colossus.client.BattleChit.getCreatureName(BattleChit.java:148 ) at net.sf.colossus.client.BattleChit.getName(BattleChit.java:157) at com.sun.java.swing.plaf.gtk.GTKStyle.getInsets(GTKStyle.java:274) at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:876 ) at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel. java:256) ---clap--- Please read what I wrote there. In short, I suspect that the "GTK Style" is causing this. Check/compare which you use, and/or try another one. I made a "trunk build" from latest version where the code involved above check some things and prints more info to the log. Can you please run the Colossus from via this web start link: http://colossus.sf.net/trunk-head/Colossus-trunk-head.jnlp (you could find that link from http://sourceforge.net/projects/colossus => Wiki => left side "ExperimentalBuilds" => .... Trunk builds We now have a separate JNLP file Colossus-head-trunk.jnlp for running the latest ... Make sure it really says "downloading..." (and does not take old from cache), - you can tell the difference by the fact, that the new one has a "Settings" menu. This new one writes some more stuff to the log, perhaps the changes even fix it, or perhaps it throws the NPEs then somewhere else :) --- Summary: 1) check which Look&Feels your users use, try to use a different one, 2) try the experimental build above. Regards, Clemens ---------------------------------------------------------------------- Comment By: Brett Lentz (wakko666) Date: 2007-12-28 04:04 Message: Logged In: YES user_id=846608 Originator: YES Finally had a chance to narrow down the problem a little more. On my Fedora 8 workstation, the game works fine if I run javaws as root, but it does not work when run with a normal user's account. I do have NFS home directories, so that may be a complicating factor as well. ---------------------------------------------------------------------- Comment By: Peter Becker (peterbecker) Date: 2007-06-21 02:22 Message: Logged In: YES user_id=41603 Originator: NO I can confirm that it works with Sun JRE 1.6.0_00 under Kubuntu 7.04, too. I deliberately tried the Webstart version, too. ---------------------------------------------------------------------- Comment By: David Ripton (dripton) Date: 2007-06-20 05:56 Message: Logged In: YES user_id=9425 Originator: NO Works fine for me Java 6 / 1.6 (also 5 / 1.5), on Gentoo Linux, on x86. $ java -version java version "1.6.0_01" Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Server VM (build 1.6.0_01-b06, mixed mode) ---------------------------------------------------------------------- Comment By: Clemens Katzer (cleka) Date: 2007-06-19 13:36 Message: Logged In: YES user_id=1717697 Originator: NO Works fine with Java 1.6.0 on WinXP. C:\>java -version java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) ---------------------------------------------------------------------- Comment By: Brett Lentz (wakko666) Date: 2007-06-19 03:26 Message: Logged In: YES user_id=846608 Originator: YES Some additional info: $ javaws -verbose http://colossus.sourceforge.net/Colossus.jnlp Java(TM) Web Start 1.6.0_01 Launching: /usr/java/jre1.6.0_01/bin/java /usr/java/jre1.6.0_01/bin/java -Xbootclasspath/a:/usr/java/jre1.6.0_01/lib/javaws.jar:/usr/java/jre1.6.0_01/lib/deploy.jar -classpath /usr/java/jre1.6.0_01/lib/deploy.jar -Djava.security.policy=file:/usr/java/jre1.6.0_01/lib/security/javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.home=/usr/java/jre1.6.0_01/bin -Djnlpx.remove=false -Djnlpx.splashport=59008 -Djnlpx.jvm=/usr/java/jre1.6.0_01/bin/java com.sun.javaws.Main http://colossus.sourceforge.net/Colossus.jnlp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101939&aid=1739439&group_id=1939 |