Bug 318959

Summary: Flow Example: NPE when direct editing
Product: [Tools] GEF Reporter: Daniel Hirscher <devel>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
stack trace none

Description Daniel Hirscher CLA 2010-07-06 03:30:20 EDT
Build Identifier: I20100608-0911/Helios/3.6

When direct editing any label when current value is selected leads to a NPE.

When the value is NOT selected, it works until the string is empty. Then it crashes again.

Reproducible: Always

Steps to Reproduce:
1. Install GEF Examples
2. Open Flow Example
3. Select an EditPart, e.g. an Activity
4. Press F2 -> it goes into direct editing, selecting the whole value
5. Type a character, e.g. "a"
-> NPE
Comment 1 Daniel Hirscher CLA 2010-07-06 03:31:29 EDT
Created attachment 173504 [details]
stack trace
Comment 2 Alexander Nyßen CLA 2011-04-13 17:02:56 EDT
I can reproduce this under Ubuntu 10.04. It seems to be a platform specific issue, as it is not reproducible on Mac Cocoa. It seems to be caused by receiving a verify event right after the CellEditor has already been disposed.