Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473466 - games-strategy/triplea crashes as soon as play button is clicked
Summary: games-strategy/triplea crashes as soon as play button is clicked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 09:36 UTC by Jimis Hol
Modified: 2014-09-01 21:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimis Hol 2013-06-16 09:36:38 UTC
i use icedtea-bin for java. At my desktop where i have stable gentoo with dev-java/icedtea-6.1.12.5 and games-strategy/triplea-1.6.1.2 its working.

On my laptop with gentoo "testing" The dev-java/icedtea-7.2.3.9 and games-strategy/triplea-1.7.0.3 are not working. Opens up a log window that notes

triplea.engine.version.bin:1.7.0.3
Exception in thread "Triplea start thread" java.lang.ExceptionInInitializerError
	at games.strategy.engine.message.DummyMessenger.<init>(DummyMessenger.java:44)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:59)
	at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:57)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: gentoo-laptop-g62: gentoo-laptop-g62
	at games.strategy.net.Node.<clinit>(Node.java:50)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop-g62: gentoo-laptop-g62
	at java.net.InetAddress.getLocalHost(InetAddress.java:1466)
	at games.strategy.net.Node.<clinit>(Node.java:47)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop-g62
	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1462)
	... 5 more
MEvent. CASE!
MEvent. CASE!
SYSTEM PROPERTIES
awt.toolkit sun.awt.X11.XToolkit
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob
java.class.path //usr/share/games/triplea/bin/triplea.jar:/usr/share/apple-java-extensions-bin/lib/AppleJavaExtensions.jar:/usr/share/commons-codec/lib/commons-codec.jar:/usr/share/commons-httpclient-3/lib/commons-httpclient.jar:/usr/share/commons-logging/lib/commons-logging.jar:/usr/share/junit/lib/junit.jar:/usr/share/commons-logging/lib/commons-logging-adapters.jar:/usr/share/commons-logging/lib/commons-logging-api.jar
java.class.version 51.0
java.endorsed.dirs /opt/icedtea-bin-7.2.3.9/jre/lib/endorsed
java.ext.dirs /opt/icedtea-bin-7.2.3.9/jre/lib/ext:/usr/java/packages/lib/ext
java.home /opt/icedtea-bin-7.2.3.9/jre
java.io.tmpdir /tmp
java.library.path /lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.7.0_21-b02
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0_21
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 23.7-b01
line.separator 

os.arch amd64
os.name Linux
os.version 3.5.7-gentoo
path.separator :
sun.arch.data.model 64
sun.awt.enableExtraMouseButtons true
sun.awt.exception.handler games.strategy.triplea.ui.ErrorHandler
sun.boot.class.path /opt/icedtea-bin-7.2.3.9/jre/lib/resources.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/rt.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/sunrsasign.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/jsse.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/jce.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/charsets.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/netx.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/plugin.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/rhino.jar:/opt/icedtea-bin-7.2.3.9/jre/lib/jfr.jar:/opt/icedtea-bin-7.2.3.9/jre/classes
sun.boot.library.path /opt/icedtea-bin-7.2.3.9/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist 
sun.desktop gnome
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command games.strategy.engine.framework.GameRunner
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
triplea.engine.version 1.7.0.3
triplea.engine.version.bin 1.7.0.3
user.country GR

Reproducible: Always

Steps to Reproduce:
1. Start game
2.click "Start Local Game"
3.
Actual Results:  
java crashes

Expected Results:  
enjoy the game :)
Comment 1 Jimis Hol 2013-06-16 09:40:37 UTC
Actually 
Steps to Reproduce:
1. Start game
2.click "Start Local Game"
3. click "Play"
Comment 2 Jimis Hol 2013-06-29 10:01:55 UTC
neither with dev-java/icedtea-6.1.12.5
nor with dev-java/oracle-jre-bin-1.7.0.25
I managed to "Play" with triplea-1.7.0.3
Downgrading to games-strategy/triplea-1.6.1.2 isn't so easy
Comment 3 Jimis Hol 2013-07-09 14:06:16 UTC
triplea.engine.version.bin:1.6.1.2 with icedtea-6.1.12.5 does NOT work on laptop with same results

The exact same versions of java and triplea do work on desktop where for online play just ask to update triplea. I was almost sure that it should work but it doesn't. I have

eselect java-vm list
Available Java Virtual Machines:
  [1]   gcj-jdk 
  [2]   icedtea-6  system-vm user-vm
  [3]   icedtea-7 
In comment(2) i mean I didnt managed to "Play" with triplea-1.7.0.3 and as it seems nor with 1.6.12.5
Comment 4 Jimis Hol 2013-09-02 10:54:37 UTC
few weeks ago i emerged dev-java/icedtea-7.2.4.1 and triplea-1.7.0.3 is working once again!!
Comment 5 Jimis Hol 2014-09-01 21:27:47 UTC
Unfortunately problem appeared again with

triplea.engine.version.bin:1.7.0.3
Exception in thread "Triplea start thread" java.lang.ExceptionInInitializerError
	at games.strategy.engine.message.DummyMessenger.<init>(DummyMessenger.java:44)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:59)
	at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:57)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: gentoo-laptop: gentoo-laptop
	at games.strategy.net.Node.<clinit>(Node.java:50)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop: gentoo-laptop
	at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
	at games.strategy.net.Node.<clinit>(Node.java:47)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop
	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
	... 5 more

with dev-java/icedtea-7.2.4.1

I updated to dev-java/icedtea-7.2.4.7
with same crash of triplea.engine.version.bin:1.7.0.3

I downloaded triplea 1.8.0.3 that isn't in testing gentoo. There was the same crash with
triplea.engine.version.bin:1.8.0.3
MEvent. CASE!
MEvent. CASE!
Exception in thread "Triplea start thread" java.lang.ExceptionInInitializerError
	at games.strategy.engine.message.DummyMessenger.<init>(DummyMessenger.java:44)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:60)
	at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:57)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: gentoo-laptop: gentoo-laptop
	at games.strategy.net.Node.<clinit>(Node.java:50)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop: gentoo-laptop
	at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
	at games.strategy.net.Node.<clinit>(Node.java:47)
	... 4 more
Caused by: java.net.UnknownHostException: gentoo-laptop
	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
	... 5 more