-
Bug
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2323
[ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator
java.lang.IllegalArgumentException: Type cannot have Package Name referenced as NULL!
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at org.opendaylight.yangtools.sal.java.api.generator.GeneratorUtil.putTypeIntoImports(GeneratorUtil.java:138)
package name cannot be null, problem with hard-coded UnionType class:
public static final class UnionType implements Type {
@Override
public String getPackageName() {
return null;
.
.
.
.
.
- blocks
-
MDSAL-40 Milestone: Implement Binding Specification v2
- Resolved
- is duplicated by
-
YANGTOOLS-401 Restricted leaf's union type - Java API generator fails with IllegalArgumentException
- Resolved