[OPNFLWPLUG-514] sal-echo.yang contains strange characters Created: 16/Jul/15  Updated: 27/Sep/21  Resolved: 16/Jul/15

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Michal Rehak Assignee: Michal Rehak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: All


External issue ID: 4004

 Description   

There are some UTF8 sequencies causing sal-echo.yang to produce java sources which crash javadoc under windows.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (attach-javadocs) on project model-flow-service: MavenReportException: Error while creating archive:

[ERROR] Exit code: 1 - C:\odldev\openflowplugin\model\model-flow-service\src\main\yang-gen-sal\org\opendaylight\yang\gen\v1\urn\opendaylight\echo\service\rev150305\SendEchoInput.java:41: error: unmappable character for encoding UTF-8

[ERROR] * Openflow echo request payload (arbirary-length data ??eld). The data ??eld

[ERROR] ^

[ERROR] C:\ odldev\openflowplugin\model\model-flow-service\src\main\yang-gen-sal\org\opendaylight\yang\gen\v1\urn\opendaylight\echo\service\rev150305\SendEchoInput.java:41: error: unmappable character for encoding UTF-8

[ERROR] * Openflow echo request payload (arbirary-length data ??eld). The data ??eld

[ERROR] ^

[ERROR]

[ERROR] Command line was: c:\ Java\jdk1.7.0_75\jre\..\bin\javadoc.exe @options @packages

[ERROR]

[ERROR] Refer to the generated Javadoc files in 'C:\\odldev\openflowplugin\model\model-flow-service\target\apidocs' dir.

[ERROR] -> [Help 1]



 Comments   
Comment by Michal Rehak [ 16/Jul/15 ]

https://git.opendaylight.org/gerrit/#/c/24191/

Comment by Michal Rehak [ 16/Jul/15 ]

please retest

Comment by Vishal Thapar [ 16/Jul/15 ]

Yep, the fix works. Note that I tested this on stable/lithium by manually applying the same changes to sal-echo.yang.

Comment by Michal Rehak [ 16/Jul/15 ]

merged

Generated at Wed Feb 07 20:32:41 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.