Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
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 1004 times)
0 Members and 1 Guest are viewing this topic.
Offline GNecro1

Senior Member


Medals: 1
Projects: 3



« Posted 2013-08-19 21:30:12 »

ERROR
Offline namrog84

JGO Ninja


Medals: 46
Projects: 4


Keep programming!


« Reply #1 - Posted 2013-08-19 21: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 23: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: 3


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


« Reply #3 - Posted 2013-08-20 09: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  
 
 

 
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!