Class: org.zkoss.zkex.zul.SimpleListModelSharer
ListModelOperation(int op, int index, T value,ProxyModel<T> model)
{ this._op = op; this._index = index; this._value = value; this._model = model; <<< Following line is missing in the code. I added this and the code is working as expected. }This causes system to throw error message when the model is updated.
May 31, 2012 5:48:40 PM org.zkoss.zkex.zul.impl.OperationThread run:201
WARNING:
java.lang.NullPointerException
at org.zkoss.zkex.zul.SimpleListModelSharer.destroyProxy(SimpleListModelSharer.java:178)
at org.zkoss.zkex.zul.SimpleListModelSharer.access$100(SimpleListModelSharer.java:53)
at org.zkoss.zkex.zul.SimpleListModelSharer$ListModelOperation.failToExecute(SimpleListModelSharer.java:258)