Bug 277447 - Closing project generates error log
Summary: Closing project generates error log
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 2.2   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Alex Shatalin CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2009-05-22 07:34 EDT by Paul Webster CLA
Modified: 2010-07-19 12:17 EDT (History)
2 users (show)

See Also:


Attachments
Error log (508 bytes, text/plain)
2009-05-22 07:34 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-05-22 07:34:56 EDT
Created attachment 136800 [details]
Error log

I20090520-2000

I closed one project, and then another.  For each project close I get 2 errors in my error log (but no useful information).

Log attached.

PW
Comment 1 Szymon Brandys CLA 2009-05-22 08:49:48 EDT
I'm not able to reproduce locally using RC1. Paul can see the issue on SDK with EMF and WST/XML. Waiting for an update if he can see it without those extra things.
Comment 2 Paul Webster CLA 2009-05-22 09:43:09 EDT
org.eclipse.gmf.internal.xpand.migration.ui.OAWBuilderPropertyTester is calling project.getDescription().getBuildSpec() without calling project.isOpen() or project.isAccessible() first.

This is generating 100s of log entries for me simply selecting a closed project in the package explorer or closing an open project.

!ENTRY org.eclipse.core.resources 4 372 2009-05-22 09:41:24.274
!MESSAGE Resource '/z.ey' is not open.

PW
Comment 3 Paul Webster CLA 2009-05-22 09:44:29 EDT
I don't think we want to have the case where simply closing a project in the workspace fills up the error log.

PW
Comment 4 Alex Shatalin CLA 2009-05-22 11:18:29 EDT
Checking project.isOpen() in OAWBuilderPropertyTester.
Comment 5 Eclipse Webmaster CLA 2010-07-19 12:17:59 EDT
[GMF Restructure] Bug 319140 : product GMF and component
UI was the original product and component for this bug