Java build error (Minicraft by Notch)

Asked

Viewed 58 times

1

I’m having trouble running the game that Markus Person Notch created in 48 hours known as Minicraft (don’t confuse it with Minecraft), I downloaded the source code but it gives the following compilation error:

Exception in thread "Thread-0" java.lang.IllegalArgumentException: input == null!
    at javax.imageio.ImageIO.read(ImageIO.java:1348)
    at com.mojang.ld22.Game.init(Game.java:118)
    at com.mojang.ld22.Game.run(Game.java:136)
    at java.lang.Thread.run(Thread.java:745)

And the game window stays white, nothing happens.

  • 1

    Do you have access to the source code of this game? If so, what is the 118 line of the Game.java class? It seems that there was an attempt to read some image file, in which it was not found.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.