Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "null pointer exception"
*On a programming support forum*
Guy: My compiler keeps throwing null pointer exception at line 128.
Me: Ok. Can you post your code real quick so I could figure out what is null at line 128?
Guy: No I'm not going to show my code to someone on the internet. What if you want to steal my code?
My mind: "Dude wtf why would I steal someone's code on a support forum?"
Me: *Use the next 15 minutes explaining that showing the code is necessary so that others can actually help him, and that no one on a support forum is going to steal his code.*
Guy: "You know what I'm more convinced that you want to copy my code. I might as well just try to fix this on my own."
Applying to a school for CS major, and they can't even fix their website to not have a null pointer exception...
Do I really want to go here?13
So im here with this lovely girl on my chest and all i can think of is why i got a Null Pointer exception and why in the fudge im lying here with this woman instead of fixing that.
Oh, maybe its because i spend 27 hours of the available 24 hours in a freakin day writing code whilst struggling to give her attention. She deserves this moment. She's my best Fragment...Friend, she's my best Friend.10
Google Duplex: "Hi! Uhm.. I'd like to make a dinner reservation for 3."
Restaurant: "Sure! What time would you like?"
Google Duplex: "It's, uhh.. for tomorrow May the 11th at NULL POINTER EXCEPTION."
Restaurant: "Internal Exception: Invalid parameter not satisfying: time"
Btw, hi devRant, this is my first post!!4
No. Just no. The null pointer exception didn't come from my DB, it came from your Java code, so go away and fix it.2
Me: Fuck there's a null pointer exception here... What was trying to happen here
*It's written in binary... dafuq why though*
*looks up what it says*
"Sorry bud, if you couldn't figure this out... then no one can"
Null Pointer Exception
Null Pointer Exception,
you're in a class of your own.
I will try and catch you,
each instance you're thrown.
Null objects expel you,
because you are vile.
I dread that I'll c you,
when I attempt to compile.
Like the grim reaper,
you destroy lines of code.
And so to you,
I dedicate this ode.
You have no remorse
for those who won't test.
As a result,
I need to confess.
From time to time,
when there's no time waste.
I must rely
on cut and on paste.
Although we're acquainted,
I really must mention.
You're not my friend,
Null Pointer Exception.
I think somewhere i read a quote from Gary Kasparov on his view on Chess.
He said that after certain point of mastering it, it becomes too much mental pain.
I think the same can be said about programming.
Devs really enjoy it, but sometimes, damn that Null pointer exception.1
I have had it with this motherflipping NullPointerExceptions, on my motherflipping method. Catch you tomorrow Exception, you will not have the better of my sanity today.
What hurts you the most?
2. IDE with White Background
3. HTTPS://DUCKDUCKGO.COM (Caps Url)
4. Download failed at 99%
5. NULL Pointer Exception
((Human)me).initialize(new Activity().setActivity(new Project((AndroidApp)devrant_clone, new ProgrammingLanguage ("java"))));
Brace yourself java null pointer exception is already on its way.1
How can a function cause a null pointer exception at runtime when it compiles perfectly and you haven't put it in use yet? Wtf.
There is no something more frustrating than that when you write a long code in java, and you click the debug button and that happens:
Null Pointer Exception