Bug 276317 - [misc] deleting a project with JavaScript nature hangs
Summary: [misc] deleting a project with JavaScript nature hangs
Status: CLOSED DUPLICATE of bug 258423
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-14 10:41 EDT by Harald Finster CLA
Modified: 2010-06-22 14:09 EDT (History)
1 user (show)

See Also:


Attachments
the stacktrace of the hanging application (20.93 KB, text/plain)
2009-05-14 10:51 EDT, Harald Finster CLA
no flags Details
stacktrace of hanging "new folder" operation (32.21 KB, text/plain)
2009-05-15 04:07 EDT, Harald Finster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Finster CLA 2009-05-14 10:41:43 EDT
The following sequence of operations creates a hanging RCP application.

- create a new project with JavaScript nature (plus my own user defined nature)
- delete the project from the navigators context menu

The "Delete Resources" dialog appears. 
Confirmation with "OK" starts the delete process
and the progress bar grows to approx. 70% and then stops.
The message above the progress bar says
"Creating workspace modifications..." 

Checking or unchecking the "Delete project contents on
disk" option does not affect the behaviour.

Explicitly doing a "refresh:" (F5) on the project folder
does not affect the behaviour.

Closing and re-opening the application does not affect the behaviour. 

The problem does not occur, if I create a .js file within the project.


Please find the stackstrace attached.
Comment 1 Harald Finster CLA 2009-05-14 10:51:19 EDT
Created attachment 135788 [details]
the stacktrace of the hanging application
Comment 2 Harald Finster CLA 2009-05-15 04:07:12 EDT
Created attachment 135941 [details]
stacktrace of hanging "new folder" operation
Comment 3 Harald Finster CLA 2009-05-15 04:12:42 EDT
The following is probably related or even the same problem:

attempting to create a new folder (navigator context menue) 
shows similar symptoms, i.e. in the "New Folder" dialog
the progress bar says "Creating new folder" moves to
about 99%, the folder is created but the Dialog box does not
disappear. The "Cancel" button is still active.
Pressing "Cancel" does not seem to have any effect,
except that "Cancel" is no longer possible.

The symptom disappears when I remove the JavaScript
nature from the project.

I will attach a stacktrace. (P.S. sorry for the wrong encoding, can I fix this somehow?)
Comment 4 Nitin Dahyabhai CLA 2009-05-15 13:27:46 EDT
(In reply to comment #3)
> I will attach a stacktrace. (P.S. sorry for the wrong encoding, can I fix this
> somehow?)

Not that I'm aware of, beyond creating a new attachment and marking this one obsolete.  The mime type specification only allows for 8-bit encodings for text.  It's still usable by download, we just can't view it directly.
Comment 5 Chris Jaun CLA 2009-09-15 13:13:13 EDT
Categorizing JSDT bugzillas for planning purposes.
Comment 6 Chris Jaun CLA 2010-06-22 14:09:00 EDT

*** This bug has been marked as a duplicate of bug 258423 ***