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

Bug 292532

Summary: ExamplesDemo: crash on small browser-window
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2009-10-16 10:22:21 EDT
- Go to http://rap.eclipsesource.com/rapdemo/examples - works fine
- Resize your browser so there the document is very small (about 100px width)
- Press F5: After the loading-gif is gone, nothing happens
- Resize your browser back to full size
- Press F5: The follwing appears:

---------------------------------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.eclipse.swt.SWTException: Invalid thread access
	org.eclipse.swt.SWT.error(Unknown Source)
	org.eclipse.swt.SWT.error(Unknown Source)
	org.eclipse.swt.SWT.error(Unknown Source)
	org.eclipse.swt.widgets.Widget.error(Unknown Source)
	org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
	org.eclipse.swt.widgets.Decorations.getMenuBar(Unknown Source)
	org.eclipse.swt.widgets.Shell.getMenuBounds(Unknown Source)
	org.eclipse.swt.widgets.Shell.access$1(Unknown Source)
	org.eclipse.swt.widgets.Shell$1.getMenuBounds(Unknown Source)
	org.eclipse.swt.internal.widgets.shellkit.ShellLCA.preserveMenuBounds(Unknown Source)
	org.eclipse.swt.internal.widgets.shellkit.ShellLCA.readData(Unknown Source)
	org.eclipse.swt.internal.widgets.displaykit.DisplayLCA$1.doVisit(Unknown Source)
	org.eclipse.swt.internal.widgets.WidgetTreeVisitor$AllWidgetTreeVisitor.visit(Unknown Source)
	org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Unknown Source)
	org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readData(Unknown Source)
	org.eclipse.rwt.internal.lifecycle.ReadData.execute(Unknown Source)
	org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLifeCycle(Unknown Source)
	org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(Unknown Source)
	java.lang.Thread.run(Thread.java:619)
	org.eclipse.rwt.internal.lifecycle.UIThread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.

----------------------------
- Press F5 again and all is fine.
- Seems to work in all browser (i used FF3)
Comment 1 RĂ¼diger Herrmann CLA 2009-11-25 09:13:40 EST
I cannot reproduce the problem. Please re-open with further information if you can still reproduce the problem.