java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo

Atlassian JIRA | daviderickson | 5 years ago
  1. 0

    Simple to reproduce, issue the following commands: atlas-create-crowd-plugin // use defaults, then update pom.xml props to Crowd 2.3.4 atlas-debug (From another terminal) atlas-cli pi You get: {code} [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:111) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:106) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:42) at org.twdata.maven.cli.CliShell.run(CliShell.java:27) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:144) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:116) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:100) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:31) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:125) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:108) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:122) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM2.executeMojo(MojoExecutor.java:403) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:74) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:721) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:16) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:98) ... 9 more Caused by: java.lang.NullPointerException at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:362) at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:387) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:142) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:116) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:120) ... 15 more {code}

    Atlassian JIRA | 5 years ago | daviderickson
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  2. 0

    Simple to reproduce, issue the following commands: atlas-create-crowd-plugin // use defaults, then update pom.xml props to Crowd 2.3.4 atlas-debug (From another terminal) atlas-cli pi You get: {code} [ERROR] Unable to complete running command: pi java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:111) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:106) at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:42) at org.twdata.maven.cli.CliShell.run(CliShell.java:27) at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:144) at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22) at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:116) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:100) at org.twdata.maven.cli.MojoCall.run(MojoCall.java:31) at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:125) at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:108) ... 6 more Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:122) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM2.executeMojo(MojoExecutor.java:403) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:74) at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:721) at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:16) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:98) ... 9 more Caused by: java.lang.NullPointerException at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:362) at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:387) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:142) at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:116) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:120) ... 15 more {code}

    Atlassian JIRA | 5 years ago | daviderickson
    java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at com.sun.jersey.api.uri.UriBuilderImpl.queryParam()
    2. jersey-core
      UriBuilderImpl.queryParam
      1. com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:362)
      1 frame
    3. jersey-client
      WebResource.queryParam
      1. com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:387)
      1 frame
    4. com.atlassian.maven
      InstallPluginMojo.execute
      1. com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:142)
      2. com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:116)
      2 frames
    5. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
      1 frame
    6. org.twdata.maven
      MojoExecutor.executeMojo
      1. org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:120)
      2. org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM2.executeMojo(MojoExecutor.java:403)
      3. org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:74)
      3 frames
    7. com.atlassian.maven
      InstallMojo.execute
      1. com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:721)
      2. com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:16)
      2 frames
    8. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
      1 frame
    9. org.shaded.mojoexecutor
      MojoExecutor.executeMojo
      1. org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:98)
      1 frame
    10. org.twdata.maven
      AbstractCliMojo$1.run
      1. org.twdata.maven.cli.MojoCall.run(MojoCall.java:31)
      2. org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:125)
      3. org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:108)
      4. org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:106)
      5. org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:42)
      6. org.twdata.maven.cli.CliShell.run(CliShell.java:27)
      7. org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:144)
      8. org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22)
      9. org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:116)
      9 frames