eclipse-pde / eclipse.pde

Eclipse Public License 2.0
25 stars 64 forks source link

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

Open Dinesh0723 opened 1 year ago

Dinesh0723 commented 1 year ago

Steps to reproduce:

  1. Open Plugin Development Perspective
  2. Reset Plugin Development Perspective
  3. Open Error log
  4. "Referenced part does not exist yet: org.eclipse.jdt.ui.PackageExplorer." entry is logged.
iloveeclipse commented 1 year ago

Weird. I can reproduce in 4.25 / 4.29 I20230804-0220. Also error doesn't have a stack trace, to make things worse... The code that reports this error is in org.eclipse.ui.internal.e4.compatibility.ModeledPageLayout.insertStack(String, int, float, String, boolean).

I think this is a Platform UI issue, not PDE issue. @Dinesh0723 : can you please report this bug at https://github.com/eclipse-platform/eclipse.platform.ui/issues ? Thanks.

Dinesh0723 commented 1 year ago

Git repositories view is contributed to PDEPerspective and is placed relative to Package Explorer view. Since PDEPerspective is using Project Explorer view by default instead of Package Explorer view(https://bugs.eclipse.org/bugs/show_bug.cgi?id=482905), the egit plugin(org.eclipse.egit.ui) has to use the relative path to Project Explorer view(org.eclipse.ui.navigator.ProjectExplorer) This is the perspectiveExtension of org.eclipse.egit.ui for reference.

`

`