Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 309812 - [GC] JS error in Examples Demo
Summary: [GC] JS error in Examples Demo
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 10:08 EDT by Stefan Röck CLA
Modified: 2010-04-21 04:05 EDT (History)
1 user (show)

See Also:


Attachments
fix (3.12 KB, patch)
2010-04-20 11:20 EDT, Tim Buschtoens CLA
ivan: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Röck CLA 2010-04-20 10:08:12 EDT
- Start the Canvas Demo
- Switch to "Oval"
- Double-Click a point in the canvas

Could not evaluate javascript response:

[Exception... "An invalid or illegal string was specified"  code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"  location: "http://rap.eclipsesource.com/rapdemo/examples?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H-157510591 Line: 396"]

var req = org.eclipse.swt.Request.getInstance();req.setRequestCounter( "48" );var wm = org.eclipse.swt.WidgetManager.getInstance();var w = wm.findWidgetById( "w133" );var gc = w.getGC();gc.init( 463, 571, "12px Verdana, 'Lucida Sans', Arial, Helvetica, sans-serif", "#ffffff", "#000000" );gc.setProperty( "lineWidth", 2 );gc.setProperty( "background", "#15b8b9" );gc.drawArc( 281, 247, 0, 0, 0, 360, true );gc.drawArc( 281, 247, 0, 0, 0, 360, false );
Comment 1 Tim Buschtoens CLA 2010-04-20 11:20:20 EDT
Created attachment 165449 [details]
fix

fix fix
Comment 2 Ivan Furnadjiev CLA 2010-04-20 11:24:42 EDT
Applied patch to CVS HEAD.
Comment 3 Luis Carlos Moreira da Costa CLA 2010-04-20 12:50:12 EDT
- Start the Canvas Demo
- Switch to "Oval"
- Double-Click a point in the canvas

Error continue!
Comment 4 Ivan Furnadjiev CLA 2010-04-20 13:05:50 EDT
If you test the online demo... it is still not updated. The error is fixed in CVS HEAD.
Comment 5 Rüdiger Herrmann CLA 2010-04-21 04:05:22 EDT
I just re-deployed the online examples  demo. Now everything should be back to normal again.