+ 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 :)

30th Nov 2019, 5:20 PM
KingDaniel2004
KingDaniel2004 - avatar
8 Answers
+ 8
🅰🅹 - ɪ'ᴍ ᴄʀɪᴍɪɴᴀʟʟʏ ɢᴏᴏᴅ! Yeah... It is not working in vscode either 🤣 I tried it in atom, and textpad... Not working
30th Nov 2019, 7:06 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 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
30th Nov 2019, 6:54 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 7
Denise Roßberg thank you, but I already checked that question... That is not working :(
30th Nov 2019, 7:02 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 7
ANDRONIC done 🙂
30th Nov 2019, 7:03 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 2
Mr. 🍊range I think here is your problem null! . Here should not be ! after null.
30th Nov 2019, 6:46 PM
A͢J
A͢J - avatar
+ 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.
30th Nov 2019, 6:22 PM
ANDRONIC
ANDRONIC - avatar
30th Nov 2019, 6:23 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
I'm glad you solved the problem. Go ahead with your project with a lot of work and dedication, congratulations.
3rd Dec 2019, 3:02 PM
ANDRONIC
ANDRONIC - avatar