Bug 318959 - Flow Example: NPE when direct editing
Summary: Flow Example: NPE when direct editing
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 03:30 EDT by Daniel Hirscher CLA
Modified: 2016-12-14 11:18 EST (History)
1 user (show)

See Also:


Attachments
stack trace (4.14 KB, text/plain)
2010-07-06 03:31 EDT, Daniel Hirscher CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.