org.onosproject.yangutils.translator.exception.TranslatorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • mcis [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building onlab-rest 1.8.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ onlab-rest --- [INFO] Deleting /home/root1/onos/utils/test/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default-prepare-agent) @ onlab-rest --- [INFO] argLine set to -javaagent:/home/root1/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/root1/onos/utils/test/target/jacoco.exec -Duser.language=en -Duser.region=US [INFO] [INFO] --- onos-yang-maven-plugin:1.9-SNAPSHOT:yang2java (default) @ onlab-rest --- 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) 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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.938 s [INFO] Finished at: 2016-10-04T14:46:49+05:30 [INFO] Final Memory: 21M/306M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.onosproject:onos-yang-maven-plugin:1.9-SNAPSHOT:yang2java (default) on project onlab-rest: Execution default of goal org.onosproject:onos-yang-maven-plugin:1.9-SNAPSHOT:yang2java failed: given data type is not supported. instance-identifier in 79 at 8 in /home/root1/onos/utils/test/src/main/yang/8.yang -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException root1@root1-HP-EliteBook-840-G2:~/onos/utils/test$
    via by Adarsh m,
    • 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) 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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    No Bugmate found.