[YANGTOOLS-357] Binding Java API Generator -> ClassCastException thrown during code generation from specific yang models (casting ConcreteTypeImpl to GeneratedTransferObject) Created: 05/Nov/14 Updated: 10/Apr/22 Resolved: 10/Nov/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Ciglan | Assignee: | Martin Ciglan |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 2324 | ||||||||
| Description |
|
[ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator . Unhandled situation in BuilderTemplate.xtend, possible instanceof check missing before casting «val keyProps = new ArrayList((keyType as GeneratedTransferObject).properties)» |
| Comments |
| Comment by Martin Ciglan [ 05/Nov/14 ] |
|
fix pushed |
| Comment by Martin Ciglan [ 07/Nov/14 ] |
|
Based on discussion & findings, casting is valid, issue should be resolved before that. Finding: In progress... |