Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-203

Unsupported UTF-8 code.

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    • 7013

    Description

      When compile the controller project on Windows (7/10), an error occurs when compile the JAVA code such as 0..4294967295 that generated by yang-tools. It may because the ".." is not recognized in Windows.

      The error message is:
      [ERROR] C:\Users\sweet\git\controller\benchmark\api\target\generated-sources\mdsal-binding\org\opendaylight\yang\gen\v1\urn\opendaylight\params\xml\ns\yang\rpcbenchmark\rev150702\TestStatusOutputBuilder.java:74: 错误: 编码UTF-8的不可映射字符
      [ERROR] throw new IllegalArgumentException(String.format("Invalid range: %s, expected: [[0?E4294967295]].", value));
      [ERROR] ^

      The solution may be changing the ".." to a real two point "." .

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            sweetreg@126.com Qing Dong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: