Well, I am making my first java game... I am trying to put spriteSheet (image) into my game...and I am getting an errors called... "Exception in thread "main" java. lang.IllegalArgumentException: input == null ! " Anyone know the solution? IF YOU NEED SORCE CODE I WILL SEND IT IN PRIVATE MESSAGE 😅 _________________________________________ [Sloved] Lol guys I imported the class name wrong real:"SpriteSheet" mine:"spriteSheet" Thanks for help y'all :)
11/30/2019 5:20:51 PM
Mr. 🍊range9 Answers
New Answer🅰🅹 - ɪ'ᴍ ᴄʀɪᴍɪɴᴀʟʟʏ ɢᴏᴏᴅ! Yeah... It is not working in vscode either 🤣 I tried it in atom, and textpad... Not working
I copied code from vscode and tried it in sololearn's playground... It's giving me new kind of errors lol... I'll post the code anyway
Denise Roßberg thank you, but I already checked that question... That is not working :(
Mr. 🍊range I think here is your problem null! . Here should not be ! after null.
Mr. range, it would be nice if you could release the source code to view the code and then try to solve the problem.
Maybe this stackoverflow question helps you: https://stackoverflow.com/questions/15424834/java-lang-illegalargumentexception-input-null-when-using-imageio-read-to-lo
I'm glad you solved the problem. Go ahead with your project with a lot of work and dedication, congratulations.
Learn Playing. Play Learning
SoloLearn Inc.
Send us a message