org.apache.maven.lifecycle.LifecycleExecutionException

java.lang.NullPointerException

Solutions on the web25

  • via Terracotta by unnutz, 1 year ago
    java.lang.NullPointerException
  • via Coderanch by Trilochan Bharadwaj, 7 months ago
    java.lang.NullPointerException
  • via Spring JIRA by Oliver Lietz, 1 year ago
    Unable to create dependencies file: java.lang.NullPointerException
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: java.lang.NullPointerException at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: java.lang.NullPointerException at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:85) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 16 more Caused by: org.codehaus.groovy.maven.feature.ComponentException: java.lang.NullPointerException at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:162) at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:126) at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:73) at org.codehaus.groovy.maven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:182) at org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60) at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69) ... 18 more Caused by: java.lang.NullPointerException at org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator.interpolate(AbstractStringBasedModelInterpolator.java:214) at org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator.interpolate(AbstractStringBasedModelInterpolator.java:161) at org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator.interpolate(AbstractStringBasedModelInterpolator.java:136) at org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator.interpolate(AbstractStringBasedModelInterpolator.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) at script1239744300924.interpolatedProperties(script1239744300924.groovy:7) at script1239744300924$interpolatedProperties.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:142) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:146) at script1239744300924.run(script1239744300924.groovy:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:158) ... 23 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.