GWT/JAVA Uncaught exception escaped

前端 未结 2 734
被撕碎了的回忆
被撕碎了的回忆 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.

    0 讨论(0)
  • 2021-01-17 03:32

    Since you use all the variables, only VGC can be null at this time.

    But I suspect this is a class name. My first guess is that the type VGC is part of the server API and not of the client API or something along these lines.

    0 讨论(0)
提交回复
热议问题