Skip to main content



      Home
Home » Newcomers » Newcomers » Java Eclipse doesn't show any error (the red bulb) but the code still can't run(Java Eclipse doesn't show any error (the red bulb) but the code still can't run)
Java Eclipse doesn't show any error (the red bulb) but the code still can't run [message #1849223] Sun, 09 January 2022 10:11 Go to next message
Eclipse UserFriend
I'm new to Java, I'm using Java Eclipse. Normally it will show the error in my code (the red bulb) but this time it doesn't. But the code still can't run.

As you can see in the photo, there is no red x (like in the upper project) but my code still can't run

I think I know what is wrong with my code and how to fix it. I just want to know why Eclipse doesn't show the small red bulb like every other time?

  • Attachment: error.png
    (Size: 178.94KB, Downloaded 329 times)
Re: Java Eclipse doesn't show any error (the red bulb) but the code still can't run [message #1849225 is a reply to message #1849223] Sun, 09 January 2022 12:20 Go to previous message
Eclipse UserFriend
You have a null pointer exception so there is a bug in your code. You'll need to fix it. That's unrelated to errors where the code doesn't compile.
Previous Topic:Java 17 Support install site not found
Next Topic:"cin cannot be resolved"
Goto Forum:
  


Current Time: Mon Jul 14 12:28:23 EDT 2025

Powered by FUDForum. Page generated in 1.10891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top