GWT/JAVA Uncaught exception escaped

前端 未结 2 733
被撕碎了的回忆
被撕碎了的回忆 2021-01-17 03:08

I have got a problem with my code and i cant seem to fix it. I want to add some customer data to a array list in java/GWT when submitting a button.

the form from whi

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-17 03:17

    You get a NullPointerException. This happens because you are using a reference which is null. In your case this is one of the fields in the line that you marked.

    Use a debugger, put a breakpoint on that line, and inspect which field in null.

提交回复
热议问题