Bug 283868 - [EditorMgmt] No editor descriptor for id exception should be suppressed
Summary: [EditorMgmt] No editor descriptor for id exception should be suppressed
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 12:23 EDT by Konstantin Komissarchik CLA
Modified: 2019-09-06 16:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Komissarchik CLA 2009-07-17 12:23:42 EDT
If a user uninstalls some plugins or maybe migrates to a new version and then opens a workspace which have some editors open, they can hit an exception like the following. While this exception is perhaps useful for those developing eclipse products, I would argue that it is unnecessary alarmist and confusing from user's perspective. A much better end-user behavior would be to not treat this as a failure and just skip restoring that editor. 

org.eclipse.ui.PartInitException: No editor descriptor for id                   
oracle.eclipse.tools.weblogic.ui.ddeditor.internal.WebLogicDescriptorEditor     
	at                                                                             
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:  
598)                                                                            
	at                                                                             
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)    
	at                                                                             
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.  
java:595)                                                                       
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)              
	at                                                                             
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePa  
rt.java:180)                                                                    
	at                                                                             
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Presen  
tablePartFolder.java:270)                                                       
	at                                                                             
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRi  
ghtTabOrder.java:65)                                                            
	at                                                                             
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(  
TabbedStackPresentation.java:473)                                               
	at                                                                             
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:  
1256)                                                                           
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)         
	at                                                                             
org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:  
843)                                                                            
	at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)              
	at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)          
	at                                                                             
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEve  
nt(TabbedStackPresentation.java:133)                                            
	at                                                                             
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(Abstrac  
tTabFolder.java:270)                                                            
	at                                                                             
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(Abstrac  
tTabFolder.java:279)                                                            
	at                                                                             
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.acc  
ess$1(DefaultTabFolder.java:1)                                                  
	at                                                                             
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.h  
andleEvent(DefaultTabFolder.java:87)                                            
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)            
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)                  
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)                  
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)                  
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)             
	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)        
	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)             
	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)        
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)            
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)                  
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)        
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)          
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)         
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)                
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)             
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)                 
	at                                                                             
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)    
	at                                                                             
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)     
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)        
	at                                                                             
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.ja  
va:113)                                                                         
	at                                                                             
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:19  
4)                                                                              
	at                                                                             
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ec  
lipseAppLauncher.java:110)                                                      
	at                                                                             
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppL  
auncher.java:79)                                                                
	at                                                                             
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)    
	at                                                                             
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)    
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                 
	at                                                                             
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)   
	at                                                                             
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j  
ava:25)                                                                         
	at java.lang.reflect.Method.invoke(Method.java:597)                            
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)            
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)                   
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)                       
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Comment 1 Paul Webster CLA 2009-07-19 16:00:34 EDT
Eric was looking at dealing with missing views,editors,perspectives on restart in some "graceful" manner, IIRC.

PW
Comment 2 Boris Bokowski CLA 2009-11-17 13:02:07 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:04:51 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.

If you have further information on the current state of the bug, please add it. 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.