Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363313 - EDT datagrid - could not render UI - 'egl.egl.javascript.Job' is null or not an object
Summary: EDT datagrid - could not render UI - 'egl.egl.javascript.Job' is null or not ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Tony Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 09:20 EST by Chris Houben CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Houben CLA 2011-11-09 09:20:00 EST
Build Identifier: 20110916-0149

I create a new RUIhandler and only drag a datagrid on the handler, using design mode. In source code, I receive no error. In design mode, I recieve error:
Could not render UI
'egl.egl.javascript.Job' is null or not an object
[CRRUI2094E] Here are the EGL function calls leading to this error:

    Div.<init>() [native JavaScript]
    Div.<init>() [native JavaScript]
    DataGrid.<init>() [native JavaScript]
    org/eclipse/edt/rui/widgets/DataGridLib.egl() at line 27
    fds.<init>() [native JavaScript]
    fds.<init>() [native JavaScript]

'egl.egl.javascript.Job' is null or not an object
khgfd/org/eclipse/edt/rui/widgets/DataGrid.js?contextKey=3:64
[CRRUI2095E] Could not find the EGL function calls leading to this error


generated source code:
handler fds type RUIhandler{initialUI =[ui
            ], onConstructionFunction = start, cssFile = "css/khgfd.css", title = "fds"}

    ui GridLayout{columns = 3, rows = 4, cellPadding = 4, children = [ DataGrid ]};
    DataGrid DataGrid{ layoutData = new GridLayoutData{ row = 2, column = 2 },
		behaviors = [ ],
		headerBehaviors = [ ],
		columns = [
			new DataGridColumn{name = "field1", displayName = "Column 1 Header", width=120},
			new DataGridColumn{name = "field2", displayName = "Column 2 Header", width=120}
		],
		data = [
			new Dictionary { field1 = "Row 1, Column 1", field2 = "Row 1, Column 2"},
			new Dictionary { field1 = "Row 2, Column 1", field2 = "Row 2, Column 2"}
		]
	};

    function start()
    end
end

Reproducible: Always

Steps to Reproduce:
1. create egl web project with services
2. create a new RUIhandler
3. drag & drop a datagrid onto the page
Comment 1 Tony Chen CLA 2011-11-09 20:55:34 EST
Chris, this was a regression problem and was fixed. Please try with the latest nightly build.
Comment 2 Lisa Lasher CLA 2012-04-04 22:17:10 EDT
This bug was fixed in 0.7.