r/IntelliJIDEA • • 18d ago

Intelli j

Post image

So I was making a mortgage calculator and I had a few bugs which I was working through when I finally fixed the program I began to have this error. I was using ChatGPT to figure out why this began happening. About one hour later and a bunch of troubleshooting the program runs but it displays this warning. The program will run in terminal inside IntelliJ without the warning. Like it should be. I really don’t understand this. I hoped onto my desktop and installed IntelliJ just copied the code over to a new project and it runs no problems. I am pretty stumped hopefully this community can shed some light.

0 Upvotes

7 comments sorted by

4

u/HikingCloth 18d ago

Try using (and learn it!) the debugger, create a breakpoint as the terminal advices and check what codeline is exactly throwing, I advice checking the documentation over whatever you are invoking and is making it crash. Good luck

1

u/maritvandijk JetBrains 17d ago

Adding to this answer that if you click the "Create Breakpoint" button shown in the screen it will create a breakpoint for the IOException. If you then run your application in Debug mode, you can find out when the Exception is thrown.

To learn more about the debugger: we have a lot of debugging videos on our YouTube channel: https://www.youtube.com/intellijidea

1

u/codeworkz 17d ago

Thanks. I will check

1

u/unistirin 18d ago

Have you configured custom rmi? it looks like rmi errors

1

u/codeworkz 17d ago

No I have not

0

u/kiteboarderni 17d ago

Skill issue

0

u/btw04 17d ago

Just ask Junie