+ 7
Java ("input == null!")error[Solved]
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 :)
9 Antworten
+ 8
🅰🅹 - ɪ'ᴍ ᴄʀɪᴍɪɴᴀʟʟʏ ɢᴏᴏᴅ!
Yeah... It is not working in vscode either 🤣
I tried it in atom, and textpad... Not working
+ 7
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
+ 7
Denise Roßberg thank you, but I already checked that question... That is not working :(
+ 7
ANDRONIC done 🙂
+ 2
Mr. 🍊range I think here is your problem null! . Here should not be ! after null.
+ 1
Mr. range, it would be nice if you could release the source code to view the code and then try to solve the problem.
+ 1
Maybe this stackoverflow question helps you:
https://stackoverflow.com/questions/15424834/java-lang-illegalargumentexception-input-null-when-using-imageio-read-to-lo
+ 1
I'm glad you solved the problem. Go ahead with your project with a lot of work and dedication, congratulations.