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

Bug 135722

Summary: [Perspectives] Improve error for duplicate part in perspective
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: sean_montgomery, udo.walker
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Paul Webster CLA 2006-04-08 14:01:45 EDT
Every so often when I restart eclipse, I'll get this error in the error log.

Part already exists in page layout: org.eclipse.team.ui.GenericHistoryView.

eclipse.buildId=N20060405-0010
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments:  -data C:\eclipse\workspaces\bug133594 -os win32 -ws win32 -arch x86

PW
Comment 1 Sean Montgomery CLA 2006-04-21 16:41:17 EDT
I see this under OS X 10.4.6.  If I have both the CVS Repository Exploring and Team Synchronizing perspectives available on the whatzit bar the error will often show up when starting up Eclipse 3.2RC1.  If it doesn't I can pretty much always get it to show up by resetting the Team Synchronizing perspective.

eclipse.buildId=I20060413-1718
java.version=1.5.0_06
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Framework arguments:  -keyring /Users/sean/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch ppc -keyring /Users/sean/.eclipse_keyring -consoleLog -showlocation
Comment 2 Michael Valenta CLA 2006-04-24 15:09:21 EDT
It turns out that CVS defined a perspective extension that added the history view to the Team perspective which already defined a placeholder for it. A better error message would have been quite helpful here. Perhaps something like:

"Duplicate part <partId> added to perspective <perspectiveId> by <pluginId>"

If that was the message, I could have fixed this in 5 minutes instead of half an hour of debugging.
Comment 3 Udo Walker CLA 2015-09-24 12:34:01 EDT
Is this fixed?
Comment 4 Eclipse Genie CLA 2020-05-24 16:49:42 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.