 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: NPE when launching a project on a Tomcat 6 server
Posted: Sep 29, 2008 - 05:56 PM
|
|
Joined: Sep 29, 2008
Posts: 2
|
|
I am seeing the following error when trying to "Run As -> My Eclipse Server Application -> Tomcat 6.x":
--
!ENTRY org.eclipse.core.jobs 4 2 2008-09-29 09:52:35.196
!MESSAGE An internal error occurred during: "Launching NCCPServerInABox on Tomcat 6.x".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
at org.eclipse.core.runtime.Path.initialize(Path.java:575)
at org.eclipse.core.runtime.Path.<init>(Path.java:162)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.computeDeploymentLocation(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.Ä(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.Ä(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.Ä(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:759)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:899)
at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlugin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
I have configured the Tomcat 6 instance in the Window->Preferences settings. I am able to build the war and run it on that Tomcat instance outside of Eclipse. Note: I am using Perforce with the P4WSAD plugin, so maybe there is a read-only file somewhere that MyEclipse isn't able to update? Also, I am running MyEclipse 6.5 on Mac, installed by installing Eclipse 3.3 classic and then using the MyEclipse archive update site zip file. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: NPE when launching a project on a Tomcat 6 server
Posted: Sep 29, 2008 - 08:34 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
pfishero,
Can you start the Tomcat server without issues from the server view? Maybe the P4WSAD is causing the issue here. Can you try Run As -> My Eclipse Server Application -> Tomcat 6.x without the P4WSAD plugin setup. Does it work? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2008 - 09:38 PM
|
|
Joined: Sep 29, 2008
Posts: 2
|
|
I am able to start the Tomcat server from the Servers pane. However, after doing that when I try to run my project on that server (via Run As -> My Ecliipse Server Application -> Tomcat 6) it still produces the same error.
I will try uninstalling the P4WSAD plugin, but in case that doesn't work, do you have any other tips or suggestions?
Thanks! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 30, 2008 - 06:03 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
Are you able to run your app against the MyEclipse Tomcat server(Run As -> My Ecliipse Server Application -> MyEclipse Tomcat Server)? This is also a Tomcat 6 server. Incase you app works against the MyEclipse Tomcat server then something is definitely messed up with the Tomcat 6 server your using.
Let me know what result you get after uninstalling the pulgin. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |