Wrong error message from org.zkoss.zk.ui.metainfo.Parser

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 8.0.3
    • Affects Version/s: 7.0.6
    • Component/s: None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S2
    • None

      I type at the top of my zul:
      <?xel-method prefix="y" name="isDateFirstDayOfAMonth" class="com.myproject.MyClass"
      signature="boolean myMethod(Date)"?>

      The parser cannot find the Date class but the error message says :
      Caused by: org.zkoss.zk.ui.UiException: file:/C:/Proje...sub/valorisationGrille.zul:6:52: Class not found: com.myproject.MyClass

      When in fact it broke off at org.zkoss.lang.Classes.getMethodBySignature() when trying to get the class Date from getClassOfSignature(resolver, clsnm) art the line 653.

      The name of the class causing the ClassNotFoundException is in the DetailMessage attribut, so easy to add the correct class name causing the exception.

            Assignee:
            SEFI
            Reporter:
            WilliamBakker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h