AW: AW: NullPointerException on submitting a form in a modal window
I found the line which set the modalWindow to null. Thanks for your help Mit freundlichen Grüßen Christoph Manig -Ursprüngliche Nachricht- Von: Manfred Bergmann [mailto:m...@software-by-mabe.com] Gesendet: Mittwoch, 22. Februar 2017 14:19 An: users@wicket.apache.org Betreff: Re: AW: NullPointerException on submitting a form in a modal window It it's that line, than only the modalWindow instance variable can be null. Can you confirm that by either adding a log line or debug into there. If it is indeed null something in the surrounding of the classes you show makes it null, or cleans it up. Some concurrency going on maybe? Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-on-submitting-a-form-in-a-modal-window-tp4677161p4677167.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: NullPointerException on submitting a form in a modal window
It it's that line, than only the modalWindow instance variable can be null. Can you confirm that by either adding a log line or debug into there. If it is indeed null something in the surrounding of the classes you show makes it null, or cleans it up. Some concurrency going on maybe? Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-on-submitting-a-form-in-a-modal-window-tp4677161p4677167.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: NullPointerException on submitting a form in a modal window
The line which throws the exception is modalWindow.close(target); in AddRemarkButton. I do not copy the import statements so there are less lines in my copied code. Mit freundlichen Grüßen Christoph Manig -Ursprüngliche Nachricht- Von: Manfred Bergmann [mailto:m...@software-by-mabe.com] Gesendet: Mittwoch, 22. Februar 2017 11:41 An: users@wicket.apache.org Betreff: Re: NullPointerException on submitting a form in a modal window Maybe not all of those classes are in separate files. Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-on-submitting-a-form-in-a-modal-window-tp4677161p4677164.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org