| Issue 1: | Crash at startup under macosx | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. run go.sh on macosx What is the expected output? What do you see instead? The game should start What version of the product are you using? On what operating system? latest on macosx Please provide any additional information below. The following stacktrace is thrown: $ java -classpath ./core.jar:./lib/lwjgl.jar:./lib/lwjgl_util.jar:./lib/jinput.jar:./lib/jl1.0.1.jar:./lib/freetts.jar tf4r.Main Starting TF4R stub for macosx... Checking system capabilities... - Video: - Alpha bits: OK (8) - Depth bits: OK (24) - Stencil bits: OK (8) - Vertex Buffer Object: OK - Audio: - Vendor: Apple Computer Inc. - Renderer: Software version 1.1 Loading YELLOW_FONT image: /data/common/graphic/yellow font.png Loading BLUE_FONT image: /data/common/graphic/blue font.png Loading animation: /data/common/graphic/red_hit.png Loaded 7 animation frame(s) Downloading game archive level0.jar.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... OK Loading PLAYER SHIP FIRE image: /data/shared/graphic/player_ship_stuff.png javax.imageio.IIOException: Can't get input stream from URL! at javax.imageio.ImageIO.read(ImageIO.java:1369) at tf4r.loader.texture.TextureLoader.loadTextureRepeatX(TextureLoader.java:230) at tf4r.loader.texture.TextureLoader.loadTexture(TextureLoader.java:145) at tf4r.playership.weapons.PlayerShipWeapon.<init>(PlayerShipWeapon.java:32) at tf4r.playership.escapecapsule.EscapeCapsule.<init>(EscapeCapsule.java:28) at tf4r.playership.escapecapsule.EscapeCapsule.<init>(EscapeCapsule.java:40) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at tf4r.playership.PlayerShipManager.loadShip(PlayerShipManager.java:23) at tf4r.game.LevelManager.loadLevel(LevelManager.java:49) at tf4r.game.Game.run(Game.java:455) at tf4r.Stub.run(Stub.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at tf4r.Main.main(Main.java:27) Caused by: java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:525) at java.net.Socket.connect(Socket.java:475) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.NetworkClient.openServer(NetworkClient.java:118) at sun.net.ftp.FtpClient.openServer(FtpClient.java:488) at sun.net.ftp.FtpClient.openServer(FtpClient.java:475) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:195) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) at java.net.URL.openStream(URL.java:1010) at javax.imageio.ImageIO.read(ImageIO.java:1367) ... 20 more java.lang.IllegalStateException: Unable to load texture /data/shared/graphic/player_ship_stuff.png at tf4r.loader.texture.TextureLoader.loadTextureRepeatX(TextureLoader.java:368) at tf4r.loader.texture.TextureLoader.loadTexture(TextureLoader.java:145) at tf4r.playership.weapons.PlayerShipWeapon.<init>(PlayerShipWeapon.java:32) at tf4r.playership.escapecapsule.EscapeCapsule.<init>(EscapeCapsule.java:28) at tf4r.playership.escapecapsule.EscapeCapsule.<init>(EscapeCapsule.java:40) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at tf4r.playership.PlayerShipManager.loadShip(PlayerShipManager.java:23) at tf4r.game.LevelManager.loadLevel(LevelManager.java:49) at tf4r.game.Game.run(Game.java:455) at tf4r.Stub.run(Stub.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at tf4r.Main.main(Main.java:27) $ java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
May 26, 2010
Project Member
#1
wonderso...@gmail.com
Status:
Started
Jun 9, 2010
On windows, the URL created by the ContentLoader can be: URL=jar:file:/O:/tf4r/tf4r/deploy/./shared.jar!/data/shared/graphic/player_ship_stuff.png I suspect on Linux/Macosx, the URL would be: URL=jar:file://tf4r/tf4r/deploy/./shared.jar!/data/shared/graphic/player_ship_stuff.png Then this becomes an FTP URL which can explain the preceding stacktrace. I'll replace the code...
Jun 23, 2010
BPzeBanshee validated that tf4r runs well under MAC OS X 10.6!
Status:
Fixed
Jun 23, 2010
(No comment was entered for this change.)
Status:
Verified
|