First time here? Check out the FAQ!
asked 2017-01-20 14:25:29 +0000Radoslav86
I forgot to put @WireVariable on service ,and action which wants to use it appears ZK popup window with message : "Unknown exception: java.lang.NullPointerException." but the console does not show anything . How can I figure out where's take this error or see more stack trace. I've had other such errors ZK popup window and it is difficult to understand what exactly is the problem. I use Eclipse Mars 2.
answered 2017-01-20 18:04:21 +0000Darksu
Have you checked out the following documentation?
you should use
@WireVairalbe inside a Composer/ViewModel because it's a ZK-made annotation. Only ZK processes the annotation.
If the exception is triggered by a specific action, you can set a breakpoint on related code in your composer and run the code step by step to find out the root cause.
answered 2017-02-02 08:40:27 +0000Radoslav86
Hello Darksu, I saw the link you gave me, but i do not have pom.xml I have web.xml . hawk your suggestion is good and I found the problem , but I want to see some stack trace in console who point me to the problem. I test to remove @WireVairalbe for service in different project and there throw "AbstractAnnotatedMethodInvoker.java:90".Thus I understand my problem is missing annotation somewhere . But in my project i do not have stack trace only popup window in browser with message : "Unknown exception: java.lang.NullPointerException."
Asked: 2017-01-20 14:25:29 +0000
Seen: 37 times
Last updated: Feb 02