Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 104990

Summary: [Manifest Editor] Undo crashes the editor
Product: [Eclipse Project] PDE Reporter: Martin Olsson <mnemo>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
the same screenshot as in the original report (just for archives if the link goes dead in the future) none

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 ***