Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-28760

‘%s’ directive argument is null in Ubuntu 22.10 build

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.10.12
    • 8.10.16
    • WS-ECL
    • None
    • Ubuntu 22.10

    Description

      CE Platform build error:
      11:27:32 In function ‘void buildRestURL(StringArray&, StringArray&, IXmlType*, StringBuffer&, const char*, unsigned int, unsigned int)’,
      11:27:32 inlined from ‘int CWsEclBinding::getRestURL(IEspContext*, CHttpRequest*, CHttpResponse*, WsEclWuInfo&, IProperties*)’ at /var/lib/jenkins/workspace/CE-Candidate-8.10.12-kinetic/CE/ubuntu-22-10/HPCC-Platform/esp/services/ws_ecl/ws_ecl_service.cpp:2467:25:
      11:27:32 /var/lib/jenkins/workspace/CE-Candidate-8.10.12-kinetic/CE/ubuntu-22-10/HPCC-Platform/esp/services/ws_ecl/ws_ecl_service.cpp:836:38: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      11:27:32 836 | throw MakeStringException(-1,"*** Invalid array definition: tag=%s, itemName=%s", tag, itemName?itemName:"NULL");
      11:27:33 cc1plus: some warnings being treated as errors
      11:27:34 make[2]: *** [esp/services/ws_ecl/CMakeFiles/ws_ecl.dir/build.make:90: esp/services/ws_ecl/CMakeFiles/ws_ecl.dir/ws_ecl_service.cpp.o] Error 1

      Attachments

        Activity

          People

            wangkx Kevin Wang
            xwang2713 Xiaoming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: