Community
Participate
Working Groups
When I switch to a new perspective that isn't a java perspective, I get this error: Referenced part does not exist yet: org.eclipse.jdt.ui.PackageExplorer. Here is the callstack that trigger this error: Status.setMessage(String) line: 225 Status.<init>(int, String, int, String, Throwable) line: 89 StatusUtil.newStatus(int, String, Throwable) line: 179 WorkbenchPlugin.log(String) line: 749 PageLayout.addPart(LayoutPart, String, int, float, String) line: 276 PageLayout.addPlaceholder(String, int, float, String) line: 305 PerspectiveExtensionReader.processView(IConfigurationElement) line: 307 PerspectiveExtensionReader.processExtension(IConfigurationElement) line: 118 PerspectiveExtensionReader.readElement(IConfigurationElement) line: 355 PerspectiveExtensionReader(RegistryReader).readElements(IConfigurationElement[]) line: 144 PerspectiveExtensionReader(RegistryReader).readExtension(IExtension) line: 155 PerspectiveExtensionReader(RegistryReader).readRegistry(IExtensionRegistry, String, String) line: 176 PerspectiveExtensionReader.extendLayout(IExtensionTracker, String, PageLayout) line: 82 Perspective.loadPredefinedPersp(PerspectiveDescriptor) line: 818 Perspective.createPresentation(PerspectiveDescriptor) line: 270 Perspective.<init>(PerspectiveDescriptor, WorkbenchPage) line: 156 Workbench3xImplementation.createPerspective(PerspectiveDescriptor, WorkbenchPage) line: 55 WorkbenchPage.createPerspective(PerspectiveDescriptor, boolean) line: 1748 WorkbenchPage.busySetPerspective(IPerspectiveDescriptor) line: 1108 WorkbenchPage.access$16(WorkbenchPage, IPerspectiveDescriptor) line: 1099 WorkbenchPage$19.run() line: 3814 BusyIndicator.showWhile(Display, Runnable) line: 70 WorkbenchPage.setPerspective(IPerspectiveDescriptor) line: 3812 ShowPerspectiveHandler.openPerspective(String, IWorkbenchWindow) line: 146 ShowPerspectiveHandler.execute(ExecutionEvent) line: 61 HandlerProxy.execute(ExecutionEvent) line: 293 Command.executeWithChecks(ExecutionEvent) line: 476 ...
I cannot reproduce this. Can you please 1. provide the build ID (is it 3.7 or 3.8?) 2. steps to reproduce 3. entire .log
1. I am using 3.7 for C/C++ Developer. 2. I simply switch perspective to resource perspective (or my custom perspective). 3. The log contains one error status without any stack, the message is "Referenced part does not exist yet: org.eclipse.jdt.ui.PackageExplorer." I am on vacation this week, if you can't reproduce it, then I'll try to reproduce it next week when I return to the office.
This is a bug in EGit: they place their org.eclipse.egit.ui.RepositoriesView relative to the Package Explorer which of course is not available in the C++ package.
EGit should not reference any JDT stuff in their plugin.xml.
This issue also appears with the scala perspective. I got this error message when I switch from java to scala perspective. Either the scala ide has placed one view relative to the package explorer, like Dani Megert said in relation to egit or it is another issue.
*** Bug 351875 has been marked as a duplicate of this bug. ***
proposed patch http://egit.eclipse.org/r/#change,3983
Fixed with 03e3e73785a6d3b462680bfc8d57e3f0ccd4a851
*** Bug 424760 has been marked as a duplicate of this bug. ***