Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Delete THIS POST  (Read 1180 times)
0 Members and 1 Guest are viewing this topic.
Offline GNecro1
« Posted 2013-08-19 19:30:12 »

ERROR

Java freak! Cheesy
Offline namrog84

JGO Ninja


Medals: 46
Projects: 4


Keep programming!


« Reply #1 - Posted 2013-08-19 19:39:21 »

When I hit PLAY nothing happens, crashes

I tried running from console to see the error.

"Tileset not found"
IO exception

The size of the jar is 19kb


"Experience is what you get when you did not get what you wanted"
Offline EmanP

Junior Member


Projects: 2
Exp: 3 years


Satisfaction never guaranteed.


« Reply #2 - Posted 2013-08-19 21:15:39 »

When I hit PLAY nothing happens, crashes
I tried running from console to see the error.
"Tileset not found"
IO exception
I got the same issue,I think it's because the game is searching for the res folder in a custom directory, and not in the jar itself.

Signed- EmanP
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #3 - Posted 2013-08-20 07:19:08 »

I got an error like the others, and also 2 exceptions: 1 is IIOException, which is probably pretty obvious. 2 is a NullPointerException, which I thought was a little less obvious.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
Tileset not found
javax.imageio.IIOException: Can't read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at mScreen.init(mScreen.java:22)
        at mScreen.<init>(mScreen.java:18)
        at Main.<init>(Main.java:39)
        at Main.main(Main.java:146)
Tileset not found
javax.imageio.IIOException: Can'
t read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at mScreen.init(mScreen.java:23)
        at mScreen.<init>(mScreen.java:18)
        at Main.<init>(Main.java:39)
        at Main.main(Main.java:146)
Tileset not found
javax.imageio.IIOException: Can't read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at Enemy.<init>(Enemy.java:30)
        at Game.init(Game.java:26)
        at Game.<init>(Game.java:21)
        at mScreen.dispose(mScreen.java:48)
        at mScreen.tick(mScreen.java:33)
        at Main.tick(Main.java:48)
        at Main.run(Main.java:110)
        at java.lang.Thread.run(Unknown Source)
Tileset not found
javax.imageio.IIOException: Can'
t read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at Enemy.<init>(Enemy.java:30)
        at Game.init(Game.java:27)
        at Game.<init>(Game.java:21)
        at mScreen.dispose(mScreen.java:48)
        at mScreen.tick(mScreen.java:33)
        at Main.tick(Main.java:48)
        at Main.run(Main.java:110)
        at java.lang.Thread.run(Unknown Source)
Tileset not found
javax.imageio.IIOException: Can't read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at Enemy.<init>(Enemy.java:30)
        at Game.init(Game.java:28)
        at Game.<init>(Game.java:21)
        at mScreen.dispose(mScreen.java:48)
        at mScreen.tick(mScreen.java:33)
        at Main.tick(Main.java:48)
        at Main.run(Main.java:110)
        at java.lang.Thread.run(Unknown Source)
Tileset not found
javax.imageio.IIOException: Can'
t read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at Enemy.<init>(Enemy.java:30)
        at Game.init(Game.java:29)
        at Game.<init>(Game.java:21)
        at mScreen.dispose(mScreen.java:48)
        at mScreen.tick(mScreen.java:33)
        at Main.tick(Main.java:48)
        at Main.run(Main.java:110)
        at java.lang.Thread.run(Unknown Source)
Tileset not found
javax.imageio.IIOException: Can't read input file!
        at javax.imageio.ImageIO.read(Unknown Source)
        at ImageLoader.grabImage(ImageLoader.java:15)
        at Player.<init>(Player.java:31)
        at Game.init(Game.java:30)
        at Game.<init>(Game.java:21)
        at mScreen.dispose(mScreen.java:48)
        at mScreen.tick(mScreen.java:33)
        at Main.tick(Main.java:48)
        at Main.run(Main.java:110)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-2" java.lang.NullPointerE
        at ImageLoader.rotateMyImage(ImageLoader.java
        at Player.render(Player.java:83)
        at Game.render(Game.java:42)
        at Main.render(Main.java:63)
        at Main.draw(Main.java:85)
        at Main.run(Main.java:116)
        at java.lang.Thread.run(Unknown Source)

Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (37 views)
2014-09-24 16:13:29

Pippogeek (29 views)
2014-09-24 16:12:22

Pippogeek (18 views)
2014-09-24 16:12:06

Grunnt (42 views)
2014-09-23 14:38:19

radar3301 (24 views)
2014-09-21 23:33:17

BurntPizza (60 views)
2014-09-21 02:42:18

BurntPizza (30 views)
2014-09-21 01:30:30

moogie (36 views)
2014-09-21 00:26:15

UprightPath (49 views)
2014-09-20 20:14:06

BurntPizza (52 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!