org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Failed to link /nt:network-topology/nt:topology/nt:topology-types/

JIRA | sathishkumar murugesan | 4 months ago
  1. 0

    [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.068 s [INFO] Finished at: 2016-08-16T16:44:05+05:30 [INFO] Final Memory: 19M/322M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Failed to link /nt:network-topology/nt:topology/nt:topology-types/ -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Failed to link /nt:network-topology/nt:topology/nt:topology-types/ 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: Failed to link /nt:network-topology/nt:topology/nt:topology-types/ at org.onosproject.yangutils.plugin.manager.YangUtilManager.resolveDependenciesUsingLinker(YangUtilManager.java:272) at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:201) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging.

    JIRA | 4 months ago | sathishkumar murugesan
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Failed to link /nt:network-topology/nt:topology/nt:topology-types/
  2. 0

    code: https://gerrit.onosproject.org/#/c/9249/16 Yang file: module ospf { namespace "urn:cisco:params:xml:ns:yang:ospf"; // replace with IANA namespace when assigned prefix ospf; revision 2020-10-20 { description "Initial revision."; } typedef type1 { type int8; } typedef type2 { type type1; } typedef type3 { type int16; } typedef type4 { type int32; } typedef type5 { type int64; } typedef type6 { type uint8; } typedef type7 { type uint16; } typedef type8 { type uint32; } typedef type9 { type uint64; } typedef type10 { type type1; } typedef type11 { type int8; } typedef type12 { type type1; } ///* need to impelement typedef type13 { type decimal64; } typedef type14 { type binary; } typedef type15 { type bits; } //*/ /* typedef type16 { type instance-identifier; } typedef type17 { type leafref; } typedef type18 { type identityref; } */ typedef type19 { type string; } leaf typedef1 { type type1; } leaf typedef2 { type type2; } leaf typedef3 { type type3; } leaf typedef4 { type type4; } leaf typedef5 { type type5; } leaf typedef6 { type type6; } leaf typedef7 { type type8; } leaf typedef9 { type type9; } leaf typedef10 { type type10; } leaf typedef11 { type type11; } leaf typedef12 { type type12; } leaf typedef13 { type type13; } leaf typedef14 { type type14; } leaf typedef15 { type type15; } /* leaf typedef16 { type type16; } leaf typedef17 { type type17; } leaf typedef18 { type type18; } */ leaf typedef19 { type type19; } } log: [INFO] Error in file: /home/root1/onos/utils/test/src/main/yang/typedef.yang Linker error: Unable to process the derived type. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.511 s [INFO] Finished at: 2016-05-18T17:12:28+05:30 [INFO] Final Memory: 20M/383M [INFO] ------------------------------------------------------------------------ [ERROR] 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. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: 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. 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 occured due to Linker error: Unable to process the derived type. in /home/root1/onos/utils/test/src/main/yang/typedef.yang YANG file. at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:190) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more

    JIRA | 7 months ago | sathishkumar murugesan
    org.apache.maven.lifecycle.LifecycleExecutionException: 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.
  3. 0

    typedef type15 { type bits { bit disable-nagle { position 0; } bit auto-sense-speed { position 1; } bit 10-Mb-only { position 2; } } } Log: [INFO] Error in file: /home/root1/onos/utils/test/src/main/yang/missed_states.yang Internal parser error detected: Invalid holder for type "bits" before processing. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.858 s [INFO] Finished at: 2016-05-19T16:41:56+05:30 [INFO] Final Memory: 19M/310M [INFO] ------------------------------------------------------------------------ [ERROR] 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. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: 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. 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 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. at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:190) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [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/MojoExecutionException root1@root1-HP-EliteBook-840-G2:~/onos/utils/test$

    JIRA | 7 months ago | sathishkumar murugesan
    org.apache.maven.lifecycle.LifecycleExecutionException: 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    code : https://gerrit.onosproject.org/#/c/10897 For Invalid holder for mandatory before processing, line number & postion not shown [INFO] Error in file: /home/root1/standard_yangfiles/src/main/yang/ietf-routing.yang Internal parser error detected: Invalid holder for mandatory before processing. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.293 s [INFO] Finished at: 2016-08-18T12:09:02+05:30 [INFO] Final Memory: 20M/331M [INFO] ------------------------------------------------------------------------ [ERROR] 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. -> [Help 1] 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

    JIRA | 4 months ago | sathishkumar murugesan
    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.
  6. 0

    Re: [m2e-users] Get "java.lang.NoClassDefFoundError" though the class is

    eclipse.org | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.10:wsgen (default) on project TestWebService: Failed to execute wsgen

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Failed to link /nt:network-topology/nt:topology/nt:topology-types/

      at org.onosproject.yangutils.plugin.manager.YangUtilManager.resolveDependenciesUsingLinker()
    2. org.onosproject.yangutils
      YangUtilManager.execute
      1. org.onosproject.yangutils.plugin.manager.YangUtilManager.resolveDependenciesUsingLinker(YangUtilManager.java:272)
      2. org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:201)
      2 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames