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

Bug 362248

Summary: Javascript error when using New Project wizard of Workbench Demo
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: martin.wewior
Version: unspecified   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-10-27 18:34:20 EDT
A Javascript error occurs after clicking Finish in the New Project wizard of the Workbench Demo.
Steps to reproduce:
1. open the "RAP Workbench Demo" (http://rap.eclipsesource.com/workbenchdemo/rms)
2. select Repository > Principal 0
3. richt-click to open context menu and choose New Project
4. enter some text in the project name field and press Return or click Finish
-> a Javascript error occurs
Could not evaluate javascript response:
Error: TypeError: Cannot read property 'length' of null
Script: org.eclipse.rwt.protocol.Processor.processMessage( {
"meta": {
"requestCounter": 62
},
"operations": [ {
"target": "w142",
"action": "destroy"
}, {
...
Comment 1 Ivan Furnadjiev CLA 2011-10-28 03:29:05 EDT
The problem was in DateTime.appearances.js# "calendar-weekday". For some reasons font.getFamily() returns null even the internal field Font.js#__familyFixed has the correct value. Changes are in CVS HEAD.
Comment 2 Ivan Furnadjiev CLA 2011-12-19 13:30:05 EST
*** Bug 367103 has been marked as a duplicate of this bug. ***
Comment 3 Ivan Furnadjiev CLA 2012-08-18 08:29:26 EDT
*** Bug 387532 has been marked as a duplicate of this bug. ***