If the above error occurs, follow these 3 steps to resolve:
1. First, close the myeclipse working space.
2. Then delete the space under the workspace
"/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs"
this file. Some deployment project information is stored in this file. There is no error in deleting the information for this deployed project.
3, restart the myeclipse can be resolved.
The error that occurred:
An internal error occurred during: "Launching MVC on Tomcat 6.x".
java.lang.NullPointerException
found online many people asked, but no big God specific answer. Helpless!!!
Error Reporting:
java.lang.NullPointerException
At com.genuitec.eclipse.ast.deploy.core.deployment.<init> (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.moduledeployment.<init> (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.webdeployment.<init> (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.Deployment.create (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences (Unknown Source)
At Com.genuitec.eclipse.ast.deploy.core.DeploymentManager.init (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.deploymentmanager.<init> (Unknown Source)
At Com.genuitec.eclipse.ast.deploy.core.DeploymentManager.getDefault (Unknown Source)
At com.genuitec.eclipse.ast.deploy.core.ui.servertreeviewer$servertreecontentprovider.inputchanged (Unknown Source)
At org.eclipse.jface.viewers.ContentViewer.setInput (contentviewer.java:276)
At org.eclipse.jface.viewers.StructuredViewer.setInput (structuredviewer.java:1690)
At com.genuitec.eclipse.ast.deploy.core.ui.servertreeviewer.<init> (Unknown Source)
At Com.genuitec.eclipse.ast.deploy.core.ui.ServerView.createPartControl (Unknown Source)
At Org.eclipse.ui.internal.ViewReference.createPartHelper (viewreference.java:375)
At Org.eclipse.ui.internal.ViewReference.createPart (viewreference.java:229)
At Org.eclipse.ui.internal.WorkbenchPartReference.getPart (workbenchpartreference.java:595)
At Org.eclipse.ui.handlers.ShowViewHandler.openView (showviewhandler.java:145)
At Org.eclipse.ui.handlers.ShowViewHandler.execute (showviewhandler.java:76)
at org.eclipse.ui.internal.handlers.handlerproxy.execute (handlerproxy.java:293)