Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1177

SimpleListModelSharer with ZK 6.0 is giving ERROR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.2
    • 6.0.1
    • General
    • Tomcat 7 on windows 7

      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)

            neillee neillee
            icapdev icapdev
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: