java.lang.NullPointerException: Cannot invoke "java.awt.dnd.DropTarget.getFlavorMap()" because "this.currentDT" is null at java.desktop/sun.awt.dnd ...
コンパイルは通った。よし、実行。 Exception in thread "main" java.lang.NullPointerException ...何これ。 コンパイルエラーは「ここが間違ってる」と教えてくれた。 でも実行時エラーは、動かしてみないと分からない。しかも英語。しかも長い。 AIと一緒にエラーを読む ...
It doesn’t take much Java development experience to learn firsthand what the NullPointerException is about. In fact, one person has highlighted dealing with this as the number one mistake Java ...