Consultor Eletrônico



Kbase P127738: Architect: 'Unable to create view...' & 'Unable to create this part' errors starting Architect.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/31/2011
Status: Verified

SYMPTOM(s):

Architect: 'Unable to create view...' & 'Unable to create this part' errors starting Architect.

Unable to create this part due to an internal error. Reason for the failure: Editor could not be initialized.

Unable to create view: Plug-in com.openedge.pdt.text was unable to load class com.openedge.pdt.text.explorer.OEExplorer.

Opening a Project in OpenEdge Architect.

Java STACK trace included: java.lang.NullPointerException
at com.openedge.pdt.text.project.ProjectPropath.substituteRootPath(ProjectPropath.java:399)
at com.openedge.pdt.text.project.ProjectPropath.substituteVariablesForPath(ProjectPropath.java:427)
at com.openedge.pdt.text.project.ProjectPropath.translateEntriesToPaths(ProjectPropath.java:314)
at com.openedge.pdt.text.project.ProjectPropath.updatePropath(ProjectPropath.java:239)
at com.openedge.pdt.text.project.ProjectPropath.<init>(ProjectPropath.java:65)
at com.openedge.pdt.text.OEProject.<init>(OEProject.java:184)
at com.openedge.pdt.text.OEProject.getOEProject(OEProject.java:150)
at com.openedge.pdt.text.actions.resource.OEResourceAction.isOEResourceSelected(OEResourceAction.java:77)
at com.openedge.pdt.text.actions.resource.OEResourceAction.selectionChanged(OEResourceAction.java:50)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:208)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:280)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:302)
at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.i.nvokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
.

FACT(s) (Environment):

Windows
OpenEdge 10.1x
OpenEdge 10.2x
OpenEdge 10.1B
OpenEdge 10.2B

CAUSE:

PROPATH setting was incorrectly pointing to nonexisting directories and directories from earlier OpenEdge Architect versions.

FIX:

Ensure that the PROPATH setting for the project include existing and current version files only. This can be done by manually editing the .propath file in the project directory. Alternatively, deleting the .propath file will cause the project to revert to the default settings. Doing so should allow the project to be opened within OpenEdge Architect, at which point the propath can be reconfigured via the project properties.