Turn Could not create the View:an unexpected exception is thrown. Problem solving

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/shuangzixing520/article/details/35225105

When I opened Myeclipse10 today, I found a bunch of problems in the server window, such as the title, and then a bunch of java.lang.NullPointerException problems on the bottom.

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.internal.PartPane.setVisible (partpane.java:313)

This problem occurs after starting MyEclipse, when Tomcat is not started, so you can troubleshoot project code problems in Tomcat. It's supposed to be myeclipse when initializing the workspace workspace.

Out of the question.

Look carefully at the error found that there is an at com.genuitec.eclipse.ast.deploy.core.Deployment. This error, so go to the D:\Workspaces\.metadata\.plugins\ under the work space The Org.eclipse.core.runtime\.settings directory below finds a name called at Com.genuitec.eclipse.ast.deploy prefs file, open the file, haha, the original inside are some of the original project information, no wonder it will be reported java.lang.NullPointerException error. Decisively delete this file, restart Myeclipse10 problem resolution

Turn Could not create the View:an unexpected exception is thrown. Problem solving

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.