Bug 11399 - Errors on startup with closed projects and binary decorators on
Summary: Errors on startup with closed projects and binary decorators on
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-14 15:41 EST by Nick Edgar CLA
Modified: 2002-03-14 17:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-03-14 15:41:27 EST
Build 20020314

- have workspace with some closed projects
- on startup, I get an error dialog for each one
- only occurs if decorator for binary projects is on

The stack is as follows:

Thread [main] (Suspended (exception 
org.eclipse.core.internal.resources.ResourceException))
	org.eclipse.core.internal.resources.Project.checkAccessible(int) line: 
111
	org.eclipse.core.internal.resources.Project.hasNature
(java.lang.String) line: 487
	org.eclipse.pde.internal.WorkspaceModelManager.initializeWorkspacePlugi
nModels() line: 367
	org.eclipse.pde.internal.WorkspaceModelManager.reset() line: 505
	org.eclipse.pde.internal.PDEPlugin.startup() line: 423
	org.eclipse.core.internal.plugins.PluginDescriptor$1.run() line: 701
	org.eclipse.core.internal.runtime.InternalPlatform.run
(org.eclipse.core.runtime.ISafeRunnable) line: 817
	org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActi
vation() line: 713
	org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation
() line: 184
	org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin
(java.lang.String) line: 52
	org.eclipse.core.internal.plugins.PluginClassLoader.findClassParentsSel
f(java.lang.String, boolean, 
org.eclipse.core.internal.boot.DelegatingURLClassLoader, boolean) line: 130
	org.eclipse.core.internal.plugins.PluginClassLoader
(org.eclipse.core.internal.boot.DelegatingURLClassLoader).loadClass
(java.lang.String, boolean, 
org.eclipse.core.internal.boot.DelegatingURLClassLoader, java.util.Vector, 
boolean) line: 771
	org.eclipse.core.internal.plugins.PluginClassLoader
(org.eclipse.core.internal.boot.DelegatingURLClassLoader).loadClass
(java.lang.String, boolean) line: 751
	org.eclipse.core.internal.plugins.PluginClassLoader
(java.lang.ClassLoader).loadClass(java.lang.String) line: 257 [local variables 
unavailable]
	org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExte
nsion(java.lang.String, java.lang.Object, 
org.eclipse.core.runtime.IConfigurationElement, java.lang.String) line: 128
	org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExte
nsion(java.lang.String, java.lang.String, java.lang.Object, 
org.eclipse.core.runtime.IConfigurationElement, java.lang.String) line: 165
	org.eclipse.core.internal.plugins.ConfigurationElement.createExecutable
Extension(java.lang.String) line: 96
	org.eclipse.ui.internal.WorkbenchPlugin$1.run() line: 118
	org.eclipse.swt.custom.BusyIndicator.showWhile
(org.eclipse.swt.widgets.Display, java.lang.Runnable) line: 56
	org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(org.eclipse.core.runtime.IConfigurationElement, java.lang.String) line: 115
	org.eclipse.ui.internal.DecoratorDefinition.getDecorator() line: 85
	org.eclipse.ui.internal.DecoratorDefinition.setEnabled(boolean) line: 
120
	org.eclipse.ui.internal.LabelDecoratorAction.run() line: 39
	org.eclipse.ui.internal.LabelDecoratorAction
(org.eclipse.jface.action.Action).runWithEvent(org.eclipse.swt.widgets.Event) 
line: 466
	org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(org.eclipse.swt.widgets.Event) line: 407
	org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(org.eclipse.swt.widgets.Event) line: 361
	org.eclipse.jface.action.ActionContributionItem.access$0
(org.eclipse.jface.action.ActionContributionItem, 
org.eclipse.swt.widgets.Event) line: 352
	org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEv
ent(org.eclipse.swt.widgets.Event) line: 47
	org.eclipse.swt.widgets.EventTable.sendEvent
(org.eclipse.swt.widgets.Event) line: 74
	org.eclipse.swt.widgets.MenuItem
(org.eclipse.swt.widgets.Widget).notifyListeners(int, 
org.eclipse.swt.widgets.Event) line: 637
	org.eclipse.swt.widgets.Display.runDeferredEvents() line: 1420
	org.eclipse.swt.widgets.Display.readAndDispatch() line: 1208
	org.eclipse.ui.internal.Workbench.runEventLoop() line: 713
	org.eclipse.ui.internal.Workbench.run(java.lang.Object) line: 696
	org.eclipse.core.internal.boot.InternalBootLoader.run
(java.lang.String, java.net.URL, java.lang.String, java.lang.String[]) line: 
777
	org.eclipse.core.boot.BootLoader.run(java.lang.String, java.net.URL, 
java.lang.String, java.lang.String[]) line: 319
	SlimLauncher.main(java.lang.String[]) line: 14
Comment 1 Dejan Glozic CLA 2002-03-14 17:13:51 EST
Confirmed - a check 'project.isOpen' was missing in the loop. Fixed.