CKEditor requests ExecutionImpl.encodeURL with null value, causes NPE in embedded mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • 10.0.0
    • Affects Version/s: 10.0.0, 9.6.4
    • Component/s: None
    • Security Level: Jean
    • None
    • None

      Steps to Reproduce

      Run an empty ckeditor without attributes in an embedded zul file

      Current Result

      page fails to load, error stack contains NPE from ExecutionImpl.encodeURL()

      Expected Result

      Page loads

      Debug Information

      Ckeditor has a rendered attribute customConfigurationsPath which is passed through an encodeURL call
      In embedded mode, the encodeURL method calls Servlets.isUniversalURL, which checks for string length on a null value

      Workaround

      Put a default value into ckeditor's
      Attached lang-addon sets a default blank string instead of a null value

      Add lang-addon to project, add config in zk.xml

        <language-config>
      	     <addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
      	</language-config>
      

            Assignee:
            jamson
            Reporter:
            MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: