-
Notifications
You must be signed in to change notification settings - Fork 4
NPE while tomcat is starting #50
Comments
Hi, the configuration for Systemproperties has changed in Version 0.9.8. simply change to |
Thanks! -----Original Message----- Hi, the configuration for Systemproperties has changed in Version 0.9.8. simply change Reply to this email directly or view it on GitHub: |
Thanks Marco for the support. |
Could you please make sure that the documentation is updated when changes like this occur. We are a year later, and this document page still shows the old systemProperties section: https://github.com/t7mp/t7mp/wiki/Configuration---Overview |
Hi James, you are right. This is a problem. We will discuss that issue. Do you would say that the wiki here would be the right place or would you prefer a dedicated site? Cheers |
I think the wiki would be fine. But I would value your (the maintainers) time higher importance. So whatever is convenient. Just so long as all of the other locations point to the 'master' documentation. Much in the same way that the google-code wiki points over here in github. (though I'll also note that the readme.md (https://github.com/t7mp/t7mp) did not point me to the wiki, I got there via google). I'm happy to create a new issue against the documentation if you want to consolidate the conversation away from this (only semi-related) issue. |
Yes, feel free to create an issue for better documentation and put the points above (linking to github) so I can remember the important parts ;-). Thank you, |
I'm putting one more comment here, since this is where the conversation started. So there will be full circle back to the new issue #72 that I've just created. DOH! I had not refreshed the page, and did not know that Github was taking care of it for me. Cool. Thank you Github. |
starting with version 0.9.8 i'm getting this NPE:
[ERROR] Failed to execute goal com.googlecode.t7mp:maven-t7-plugin:0.9.9:run (start tomcat) on project bsf-system-tests: Execution start tomcat of goal com.googlecode.t7mp:maven-t7-plugin:0.9.9:run failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.t7mp:maven-t7-plugin:0.9.9:run (start tomcat) on project bsf-system-tests: Execution start tomcat of goal com.googlecode.t7mp:maven-t7-plugin:0.9.9:run failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution start tomcat of goal com.googlecode.t7mp:maven-t7-plugin:0.9.9:run failed.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.NullPointerException
at com.googlecode.t7mp.steps.resources.SetSystemPropertiesStep.replaceCatalinas(SetSystemPropertiesStep.java:44)
at com.googlecode.t7mp.steps.resources.SetSystemPropertiesStep.execute(SetSystemPropertiesStep.java:37)
at com.googlecode.t7mp.steps.DefaultStepSequence.execute(DefaultStepSequence.java:33)
at com.googlecode.t7mp.steps.deployment.SetupStepSequence.execute(SetupStepSequence.java:36)
at com.googlecode.t7mp.RunMojo.execute(RunMojo.java:49)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
my t7 configuration is:
obviously all parameters are resolved correctly in the pom. the tomcat.version is 7.0.22.
in version 0.9.8.M2 the same configuration worked just fine.
thanks,
Amir
The text was updated successfully, but these errors were encountered: