org.onosproject.yangutils.translator.exception.TranslatorException: given data type is not supported. instance-identifier in 79 at 8 in /home/root1/onos/utils/test/src/main/yang/8.yang

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 Adarsh m, 1 year ago
given data type is not supported. instance-identifier in 79 at 8 in /home/root1/onos/utils/test/src/main/yang/8.yang
org.onosproject.yangutils.translator.exception.TranslatorException: given data type is not supported. instance-identifier in 79 at 8 in /home/root1/onos/utils/test/src/main/yang/8.yang
at org.onosproject.yangutils.translator.tojava.utils.StringGenerator.getParseFromStringMethod(StringGenerator.java:764)
at org.onosproject.yangutils.translator.tojava.utils.MethodsGenerator.getParsedSubString(MethodsGenerator.java:837)
at org.onosproject.yangutils.translator.tojava.utils.MethodsGenerator.getFromStringMethod(MethodsGenerator.java:806)
at org.onosproject.yangutils.translator.tojava.TempJavaFragmentFiles.addFromStringMethod(TempJavaFragmentFiles.java:1246)
at org.onosproject.yangutils.translator.tojava.TempJavaFragmentFiles.addJavaSnippetInfoToApplicableTempFiles(TempJavaFragmentFiles.java:1557)
at org.onosproject.yangutils.translator.tojava.TempJavaTypeFragmentFiles.addJavaSnippetInfoToApplicableTempFiles(TempJavaTypeFragmentFiles.java:329)
at org.onosproject.yangutils.translator.tojava.TempJavaTypeFragmentFiles.addTypeInfoToTempFiles(TempJavaTypeFragmentFiles.java:264)
at org.onosproject.yangutils.translator.tojava.TempJavaCodeFragmentFiles.addTypeInfoToTempFiles(TempJavaCodeFragmentFiles.java:195)
at org.onosproject.yangutils.translator.tojava.YangJavaModelUtils.updateTempFragmentFiles(YangJavaModelUtils.java:256)
at org.onosproject.yangutils.translator.tojava.YangJavaModelUtils.generateTempFiles(YangJavaModelUtils.java:287)
at org.onosproject.yangutils.translator.tojava.YangJavaModelUtils.generateCodeOfNode(YangJavaModelUtils.java:466)
at org.onosproject.yangutils.translator.tojava.javamodel.YangJavaTypeDefTranslator.generateCodeEntry(YangJavaTypeDefTranslator.java:136)
at org.onosproject.yangutils.translator.tojava.JavaCodeGeneratorUtil.generateCodeEntry(JavaCodeGeneratorUtil.java:156)
at org.onosproject.yangutils.translator.tojava.JavaCodeGeneratorUtil.generateJavaCode(JavaCodeGeneratorUtil.java:99)
at org.onosproject.yangutils.plugin.manager.YangUtilManager.translateToJava(YangUtilManager.java:365)
at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:211)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

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.