Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+17 votes

Does anyione know how to fix this exception ?

Exception in Application start method

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
asked in CSC305 Fall 2022 by (1 point)

1 Answer

+6 votes

That error is caused by some other issue in your code. If you look deeper you should find an error that gives you more information and I would post that error in here.

answered by (2.1k points)

let me dig deeper and see what's going on ! Thanks


I think Donny is right -- the error message you posted isn't the real/informative error. Scroll further down in Eclipse to look for the "caused by ... " exceptions. Probably the last "caused by" is the one you should look carefully at.

Or, if you paste in the FULL error stack trace, we can help you find the right place to look.