Messagebox.show getting serializable exception

asked 2022-05-21 13:12:07 +0800

wastemails gravatar image wastemails
130 1 2

using zk9.6.1

Getting Serializable exception when delete method is called using hazelcast.

Caused by: java.io.NotSerializableException:org.sldc.viewmodel.testing.DeleteTestVM$1

public void delete() {   
      Messagebox.show("Are you sure want to delete?", "title", new Messagebox.Button[]{Messagebox.Button.OK, Messagebox.Button.CANCEL}, Messagebox.ERROR, new EventListener<Messagebox.ClickEvent>() {
                    public void onEvent(Messagebox.ClickEvent clickEvent) throws Exception {


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-11-01 16:17:53 +0800

xsulix gravatar image xsulix
10 1

You have to use new SerializableEventListener (that implements Serializable) instead of new EventListener.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2022-05-21 13:12:07 +0800

Seen: 9 times

Last updated: Nov 01 '22

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More