Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328038 - Controls demo list tab can crash
Summary: Controls demo list tab can crash
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Demo (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 10:03 EDT by Tim Buschtoens CLA
Modified: 2010-10-18 10:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2010-10-18 10:03:34 EDT
Enter a non-number character in the "set top index" field and click the button.
Result:

HTTP ERROR 500

Problem accessing /rap. Reason:

    For input string: "f"

Caused by:

java.lang.NumberFormatException: For input string: "f"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at org.eclipse.rap.demo.controls.ListTab$6.widgetSelected(ListTab.java:226)
	at org.eclipse.swt.events.SelectionEvent.dispatchToObserver(SelectionEvent.java:194)
	at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:44)
	at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:161)
	at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.java:201)
	at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1100)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1090)
	at org.eclipse.rap.demo.controls.ControlsDemo.createUI(ControlsDemo.java:40)
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92)
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:245)
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:114)
	at java.lang.Thread.run(Unknown Source)
	at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
Comment 1 Ivan Furnadjiev CLA 2010-10-18 10:17:03 EDT
Fixed in CVS HEAD.
Comment 2 Ivan Furnadjiev CLA 2010-10-18 10:17:16 EDT
.