0

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

@Command
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>() {
                    @Override
                    public void onEvent(Messagebox.ClickEvent clickEvent) throws Exception {

                      System.out.println("testing");

                    }
                });
}
delete flag offensive retag edit
Be the first one to answer this question!
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

Follow

RSS

Stats

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

Seen: 2 times

Last updated: May 21

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