Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5690

J2CL code generation runtime error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • Authoring Tooling
    • None
    • False
    • False
    • Undefined

    Description

      See https://github.com/Vertispan/j2clmavenplugin/issues/73

      The code generated by the J2CL plugin throws a runtime error:-

      Uncaught TypeError: InternalJsUtil.m_getLength__jsinterop_base_JsArrayLike is not a function
          at Function.m_getLength__$devirt__jsinterop_base_JsArrayLike (marshaller-api.js:73311)
          at JsNativeXMLReader.m_removeWhitespace__elemental2_dom_Node__elemental2_dom_Node (marshaller-api.js:635825)
          at JsNativeXMLReader.$ctor__org_treblereel_gwt_xml_mapper_api_stream_impl_JsNativeXMLReader__java_lang_String (marshaller-api.js:635675)
          at Function.$create__java_lang_String (marshaller-api.js:635668)
          at DefaultXMLDeserializationContext.m_newXMLReader__java_lang_String (marshaller-api.js:636016)
          at PMML__XMLMapperImpl.m_read__java_lang_String__org_treblereel_gwt_xml_mapper_api_XMLDeserializationContext (marshaller-api.js:647935)
          at PMML__XMLMapperImpl.m_read__java_lang_String (marshaller-api.js:647931)
          at Function.load (marshaller-api.js:4498)
          at marshaller-api.js:648264
          at Object.goog.loadModule (marshaller-api.js:1090)
      

      The code throwing the exception is not part of our codebase.

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              manstis@redhat.com Michael Anstis
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: