[MDSAL-209] Could not find Choice node parent AbsoluteSchemaPath Created: 28/Nov/16 Updated: 09/Mar/18 Resolved: 22/Dec/16 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | zhuweisheng | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7249 |
| Description |
|
I get a Error when trying to parse a yang file like below: list sub-option { leaf sub-option-code { } } the error is: at com.google.common.base.Preconditions.checkState(Preconditions.java:197) Why compilation of this yang failure? |
| Comments |
| Comment by Peter Kajsa [ 28/Nov/16 ] |
|
It seems to be a binding generator issue, so moved to mdsal. |
| Comment by Martin Ciglan [ 28/Nov/16 ] |
|
Hi I am able to generate Java files without any issues. As far as I haven't got more information from you, my pool-type choice sits in root of model. Please answer 2 questions: Regards Martin |
| Comment by zhuweisheng [ 29/Nov/16 ] |
|
(In reply to Martin Ciglan from comment #2) 1. ODL version is Lithium-SR1. Regards |
| Comment by Martin Ciglan [ 29/Nov/16 ] |
|
Hi Lithium and Beryylium are not supported anymore, so I recommend to switch to |
| Comment by zhuweisheng [ 29/Nov/16 ] |
|
(In reply to Martin Ciglan from comment #4) Thank you very much. |