Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 104990 - [Manifest Editor] Undo crashes the editor
Summary: [Manifest Editor] Undo crashes the editor
Status: RESOLVED DUPLICATE of bug 68423
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 07:03 EDT by Martin Olsson CLA
Modified: 2007-04-12 17:24 EDT (History)
0 users

See Also:


Attachments
the same screenshot as in the original report (just for archives if the link goes dead in the future) (79.62 KB, image/x-png)
2005-07-25 07:04 EDT, Martin Olsson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Olsson CLA 2005-07-25 07:03:05 EDT
I didn't even know that there was an undo feature inside the GUI editor, but 
today I accidently pressed CTRL-Z instead of CTRL-S and the undo started... and 
crashed.

Try adding some extension in the extensions page and then press CTRL-Z.

This is actually two bugs imho;

1. The details is very very poor so I really don't know what happened. A 
stacktrace would be great for debugging.

2. The undo obviously does not work correctly.


here is a screenshot of the crash:
http://mnemo.minimum.se/eclipse_crashes/eclipse_undo_crash.png


I don't have time for extensive reprod testing atm, maybe someone else can 
assist with this and see if they can get the plugin.xml editor to crash using 
weird combinations of editing and CTRL-Z undoing.
Comment 1 Martin Olsson CLA 2005-07-25 07:04:47 EDT
Created attachment 25227 [details]
the same screenshot as in the original report (just for archives if the link goes dead in the future)
Comment 2 Martin Olsson CLA 2005-07-25 07:47:20 EDT
FWIW; the GUI editor also added this weird attribute to my actionSet tag. The 
attribute said:

sibling_order="org.eclipse.pde.internal.ui.model.plugin.PluginElementNode@df3384
"

...and it seems like this is an invalid attribute (its listed as such in the 
problems tab anyway?)

Comment 3 Brian Bauman CLA 2006-09-14 16:12:16 EDT
Hi Martin, is there any way you might be able to attach a stack trace from the NullPointerException?
Comment 4 Wassim Melhem CLA 2006-09-14 16:20:01 EDT
generally speaking, Undo does not work in the manifest editor.

Symptoms may vary.
Comment 5 Mike Pawlowski CLA 2007-04-12 17:24:13 EDT

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