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

Bug 282354

Summary: outline will throw null point exception in certain condition
Product: [Tools] GEF Reporter: Ben Xu <xufengbing>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
errorlog
none
outline1
none
outline2
none
gef file none

Description Ben Xu CLA 2009-07-03 04:37:12 EDT
Build ID: I20090611-1540

Steps To Reproduce:
1.open the attached "test.geo" file on eclipse 3.5 with GEF installed

2.open the outline view and error log view

3.change outline size to decrease its height to almost zero.
(see attached  pictures outline1.gif and outline2.gif)

4.error will throw in error log view. (see attched figure "error.gif")

More information:
1. this may be a corner case for most gef application. But it's common for our gef tool to have very big gef canvas with more than 100000 nodes. 
 
2. also appeared on eclipse 3.3.2 with  gef installed. both on linux platform.

3. the big rectange can not show correctly , this is another bug :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=146179. This bug is not related to that one.
Comment 1 Ben Xu CLA 2009-07-03 04:38:44 EDT
Created attachment 140751 [details]
errorlog
Comment 2 Ben Xu CLA 2009-07-03 04:39:23 EDT
Created attachment 140752 [details]
outline1
Comment 3 Ben Xu CLA 2009-07-03 04:39:45 EDT
Created attachment 140753 [details]
outline2
Comment 4 Ben Xu CLA 2009-07-03 04:40:13 EDT
Created attachment 140754 [details]
gef file
Comment 5 Ben Xu CLA 2009-07-03 05:22:31 EDT
The example used to reproduce is using "GMF".  I will create another bug to make reproduce more simple