處理MyEclipse10.7安排報錯拋空指針異常成績的辦法。本站提示廣大學習愛好者:(處理MyEclipse10.7安排報錯拋空指針異常成績的辦法)文章只能為提供參考,不一定能成為您想要的結果。以下是處理MyEclipse10.7安排報錯拋空指針異常成績的辦法正文
先對成績停止描寫:
(1)在MyEclipse Servers視圖在MyEclipse 10.7.0在某些情形下,能夠沒法翻開。 試圖翻開視圖將招致NPE將被記載。
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)
以下所示:
(2)假如湧現了上述的毛病依照以下的3個步調處理:
1、起首封閉MyEclipse任務空間。
2、然後刪除任務空間下的 “/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs”
這個文件。在這個文件中存儲了一些安排項目標信息。刪了這個安排的項目標信息就沒有毛病了。
3、重啟啟動MyEclipse便可處理了。 心愛的貓貓又湧現了!
以上就是關於MyEclipse10.7安排報錯的處理計劃,願望對年夜家的進修有所贊助。