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

Bug 354936

Summary: Problem with perspectiveExtension relative attribute - "Referenced part does not exist yet"
Product: [Eclipse Project] PDE Reporter: public
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, public, pwebster, remy.suen, yvette.biggs
Version: 3.7   
Target Milestone: 3.8 M7   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Referenced part does not exist yet: org.eclipse.ui.views.ProblemView. none

Description public CLA 2011-08-17 06:38:28 EDT
Build Identifier: 20110615-0604

I receive the next message:

!ENTRY org.eclipse.ui 4 4 2011-08-17 14:37:12.817
!MESSAGE Referenced part does not exist yet: org.eclipse.ui.views.TaskList.


Reproducible: Always

Steps to Reproduce:
1. File -> New... -> Project
2. Plug-in Project -> Next
3. Project name: "AView" -> Next
4. ID: AView, Version: 1.0.0, Name:AView, Provider: LeoLabs, Activator: aview.Activator, This... make contribution to UI: yes, Enable API analysis: no, RCP: no -> Next
5. Plug-in with View -> Next
6. Java Package name: aview.views, View Class Name: SampleView, View name: Sample View, View Category ID: aView, Category Name: "a Sample Category", Table viewer, Add static ID: yes, Add view to the java perspective: yes, Add context help: yes -> Finish
7. Right click on AView project -> Run as.. -> Eclipse application
Comment 1 public CLA 2011-08-17 07:10:49 EDT
And the view is not where it is expected to be.


   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.jdt.ui.JavaPerspective">
         <view
               ratio="0.5"
               relative="org.eclipse.ui.views.TaskList"
               relationship="right"
               id="aview.views.SampleView">
         </view>
      </perspectiveExtension>
   </extension>
Comment 2 Remy Suen CLA 2011-08-17 07:24:58 EDT
(In reply to comment #0)
> !ENTRY org.eclipse.ui 4 4 2011-08-17 14:37:12.817
> !MESSAGE Referenced part does not exist yet: org.eclipse.ui.views.TaskList.

The 'Tasks' view is not added to the 'Java' perspective by default. You need to pick a view that the 'Java' perspective does define in its layout.
Comment 3 public CLA 2011-08-17 08:20:39 EDT
It is a standard example from Eclipse examples.
Comment 4 Remy Suen CLA 2011-08-17 08:24:27 EDT
(In reply to comment #3)
> It is a standard example from Eclipse examples.

Sorry, you're right, the template is wrong.

PDE, please modify the template so that it points to a view that actually is defined in the 'Java' perspective by default.
Comment 5 Curtis Windatt CLA 2012-03-23 12:01:11 EDT
Fixed in master.  The view will now be put relative to the problems view.
Comment 6 Curtis Windatt CLA 2012-05-08 14:26:31 EDT
Verified in I20120503-1800
Comment 7 yvette biggs CLA 2016-03-15 12:39:29 EDT
Created attachment 260316 [details]
Referenced part does not exist yet: org.eclipse.ui.views.ProblemView.