Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353833 - Exception when closing and opening STEM project
Summary: Exception when closing and opening STEM project
Status: RESOLVED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 1.1.2   Edit
Assignee: Stefan Edlund CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 18:49 EDT by Stefan Edlund CLA
Modified: 2011-08-03 18:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Edlund CLA 2011-08-03 18:49:00 EDT
When a project is open (expanded) in the project explorer, close the project. Then re-open it. You'll see exceptions like this:


java.lang.NullPointerException
at org.eclipse.stem.ui.views.explorer.IdentifiableContentProvider.checkScenarioDecorators(IdentifiableContentProvider.java:541)
at org.eclipse.stem.ui.views.explorer.IdentifiableContentProvider.markIndirectFiles(IdentifiableContentProvider.java:454)
at org.eclipse.stem.ui.views.explorer.IdentifiableContentProvider.visit(IdentifiableContentProvider.java:290)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at org.eclipse.stem.ui.views.explorer.IdentifiableContentProvider.resourceChanged(IdentifiableContentProvider.java:200)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Stefan Edlund CLA 2011-08-03 18:57:14 EDT
Fixed in the 1.2.1 branch