Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351875

Summary: Error "Referenced part does not exist yet: org.eclipse.jdt.ui.PackageExplorer."
Product: [Technology] EGit Reporter: Oleg Besedin <ob1.eclipse>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: pwebster
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Oleg Besedin CLA 2011-07-12 11:58:19 EDT
1. Install EGit
2. Open Resource perspective.
3. Note the error message in the log:

"Referenced part does not exist yet: org.eclipse.jdt.ui.PackageExplorer."

The bug also causes Platform/UI JUnit test failure in IWorkbenchPageTest#testOpenAndHideEditor11().

The problem is in the following code in the plugin.xml of the "org.eclipse.egit.ui" bundle:

   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="*">
         <view
               id="org.eclipse.egit.ui.RepositoriesView"
               minimized="false"
               ratio="0.6"
               relationship="bottom"
               relative="org.eclipse.jdt.ui.PackageExplorer"
               visible="false">
         </view>
      </perspectiveExtension>
   </extension>

Note that this extension applies to all perspectives ("*") and it wants to be positioned relative to the PackageExplorer.

Well, not all perspectives have PackageExplorer view. For those that do not, this extension creates a error.

I'd highly suggest removing this extension.
Comment 1 Kevin Sawicki CLA 2011-07-13 18:26:29 EDT
I believe this is a duplicate of bug350882

*** This bug has been marked as a duplicate of bug 350882 ***