org.onosproject.yang.compiler.api.YangCompilerException: YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"".

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Gaurav Agrawal, 6 months ago
YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"".
org.onosproject.yang.compiler.api.YangCompilerException: YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"".
at org.onosproject.yang.compiler.tool.YangCompilerManager.processYangFiles(YangCompilerManager.java:229)
at org.onosproject.yang.compiler.tool.YangCompilerManager.compileYangFiles(YangCompilerManager.java:99)
at org.onosproject.yang.compiler.plugin.buck.YangGenerator.execute(YangGenerator.java:93)
at org.onosproject.yang.compiler.plugin.buck.YangStep.execute(YangStep.java:71)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:62)
at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1240)
at com.facebook.buck.rules.CachingBuildEngine.lambda$null$0(CachingBuildEngine.java:320)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.