About MyEclipse 10.7 Department error, the solution to the exception of the null pointer

Source: Internet
Author: User


(1)in theMyEclipse ServersView inMyEclipse 10.7.0In some cases, you may not be able to open it.  attempting to open a view causesNPEwill be logged.

Could not create the View:an unexpected exception was thrown. Java.lang.NullPointerException at Com.genuitec.eclipse.ast.deploy.core.Deployment. (Unknown Source) at Com.genuitec.eclipse.ast.deploy.core.ModuleDeployment. (Unknown Source) at Com.genuitec.eclipse.ast.deploy.core.WebDeployment. (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. (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. (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) at Org.eclipse.ui.internal.ViewPane.setVisible ( viewpane.java:534) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible (presentablepart.java:180) At Org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select (presentablepartfolder.java:270) at Org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select (lefttorighttaborder.java:65) at Org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart (tabbedstackpresentation.java:473 ) at Org.eclipse.ui.internal.PartStack.refreshPresEntationselection (partstack.java:1245) at Org.eclipse.ui.internal.PartStack.createControl (partstack.java:662) at Org.eclipse.ui.internal.PartStack.createControl (partstack.java:570) at  Org.eclipse.ui.internal.PartSashContainer.createControl (partsashcontainer.java:568).

As shown below:



(2) If the above error occurs, follow the following 3 steps to resolve:

1. First, close the myeclipse working space.


2, then delete   under 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 cute cat has appeared again!


About MyEclipse 10.7 Department error, the solution to the exception of the null pointer

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.