Problems starting IDE

Hello,
since last week I have a problem starting my Arduino-IDE on my Macbook. Before last week everything worked fine, but since then I get an error. The start-screen appears and when it disappears nothing happened. The menu-bar at the top of the windows disappears also.

When I start the program via terminal, I get an error-message (shown in the attachment) "java.lang.NullPointerException". Even a new installation didn't work well.

When I start the Arduino-IDE from the terminal using "sudo..." (as admin), the environment starts, but I can't compile anything (probably a matter of a wrong path? -> see attachment).
After that a "normal" restart (non-sudo) didn't work either.
I updated Java also, but it didn't help.

I have no idea, what the problem is and as time goes by I'm more and more frustrated. All my projects won't go on at the moment.

Has anyone any idea what the solution to my problem might be?

Kind regards from Germany,
Andreas

arduino_start_java_error.jpg

arduino_start.jpg

I found a solution and want to post it here in case someone has the same problem.
I deleted the folder /Users/(username)/Library/Arduino15. When I started Arduino the next time, the folder will be created with default settings. Arduino started correctly and everything is OK.

Kind regards,
Andreas

Thanks for taking the time to share your solution.