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

NoSuchMethodException when a event over a textbox is thrown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.0.9
    • Fix Version/s: None
    • Component/s: Components, Databind
    • Labels:
    • Environment:

      windows x64 glassfish 3.1.1

      Description

      I´m having this exception. It is quite weird because it only happens when an event over a textbox is thrown but not when the component is created. I mean, the window runs perfect and the textbox is filled perfectly with the 'notaDecimalTexto' method. Only fails when the onChangeEvent is thrown.

      Grave: >>org.zkoss.zk.ui.UiException: java.lang.NoSuchMethodException: model.core.CalificacionProvisional: no method called notaDecimalTexto for [null]
      >>java.lang.NoSuchMethodException: model.core.CalificacionProvisional: no method called notaDecimalTexto for [null]
      >> at org.zkoss.lang.Classes.newNoSuchMethodException(Classes.java:691)
      >> at org.zkoss.lang.Classes.myGetAcsObj(Classes.java:1055)
      >> at org.zkoss.lang.Classes.getAccessibleObject(Classes.java:980)
      >> at org.zkoss.lang.reflect.Fields.set(Fields.java:144)
      >> at org.zkoss.zkplus.databind.DataBinder.setBeanAndRegisterBeanSameNodes(DataBinder.java:1122)
      >> at org.zkoss.zkplus.databind.Binding.saveAttributeValue(Binding.java:457)
      >> at org.zkoss.zkplus.databind.Binding.access$200(Binding.java:51)
      >> at org.zkoss.zkplus.databind.Binding$BaseSaveEventListener.handleEvent(Binding.java:777)
      >> at org.zkoss.zkplus.databind.Binding$SaveEventListener.onEvent(Binding.java:706)
      >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:170)
      >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138)
      >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:517)
      >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:444)

        Attachments

          Activity

            People

            Assignee:
            henrichen henrichen
            Reporter:
            eldiegos eldiegos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: