org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Exception occurred due to Internal parser error detected: Invalid holder for mandatory before processing. in /home/root1/standard_yangfiles/src/main/yang/ietf-routing.yang YANG file.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4975

  • via JIRA by sathishkumar murugesan, 11 months ago
    Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Exception occurred due to Internal parser error detected: Invalid holder for mandatory before processing. in /home/root1/standard_yangfiles/src/main/yang/ietf-routing.yang YANG file.
  • via JIRA by sathishkumar murugesan, 1 year ago
    Failed to execute goal org.onosproject:yangutils-maven-plugin:1.0.0-SNAPSHOT:yang2java (default) on project onlab-test: Exception occured due to Internal parser error detected: Invalid holder for type "bits" before processing. in /home/root1/onos/utils/test/src/main/yang/missed_states.yang YANG file.
  • via JIRA by sathishkumar murugesan, 1 year ago
    Failed to execute goal org.onosproject:yangutils-maven-plugin:1.0.0-SNAPSHOT:yang2java (default) on project onlab-test: Exception occured due to Linker error: Unable to process the derived type. in /home/root1/onos/utils/test/src/main/yang/typedef.yang YANG file.
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Exception occurred due to Internal parser error detected: Invalid holder for mandatory before processing. in /home/root1/standard_yangfiles/src/main/yang/ietf-routing.yang YANG file. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) 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) Caused by: org.apache.maven.plugin.MojoExecutionException: Exception occurred due to Internal parser error detected: Invalid holder for mandatory before processing. in /home/root1/standard_yangfiles/src/main/yang/ietf-routing.yang YANG file. at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:230) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.