Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Strange behavoir with Text since last CVS update
Strange behavoir with Text since last CVS update [message #115349] Thu, 11 December 2008 11:09 Go to next message
Eclipse UserFriend
Hi,

today I update from CVS.
But now the Text-Widget behaves very strange.

When i click in it, type nothing and click after out of it, for example
on a button, I get a java.lang.NumberFormatException.

Here is the Stacktrace:
java.lang.NumberFormatException: For input string: "undefined"
at
java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at
org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readSel ection(TextLCAUtil.java:95)
at
org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readTex tAndSelection(TextLCAUtil.java:54)
at
org.eclipse.swt.internal.widgets.textkit.SingleTextLCA.readD ata(SingleTextLCA.java:36)
at
org.eclipse.swt.internal.widgets.textkit.TextLCA.readData(Te xtLCA.java:36)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA$1.doV isit(DisplayLCA.java:322)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor$AllWidget TreeVisitor.visit(WidgetTreeVisitor.java:28)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:59)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
at
org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readD ata(DisplayLCA.java:329)
at org.eclipse.rwt.internal.lifecycle.ReadData.execute(ReadData .java:26)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle(RWTLifeCycle.java:206)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:307)
at org.eclipse.swt.widgets.Display.sleep(Display.java:706)
at
org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(Wo rkbenchAdvisor.java:361)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2347)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:425)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:408)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
at com.mycompany.rap.Application.createUI(Application.java:15)
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
at java.lang.Thread.run(Thread.java:613)
Re: Strange behavoir with Text since last CVS update [message #115443 is a reply to message #115349] Fri, 12 December 2008 05:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Roland,

thanks for reporting this. I can reproduce the problem and opened this bug:

258632: [Text] NumberFormatException when clicking into Text
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258632

Will be fixed asap.

Ralf

Roland Siebert wrote:
> Hi,
>
> today I update from CVS.
> But now the Text-Widget behaves very strange.
>
> When i click in it, type nothing and click after out of it, for example
> on a button, I get a java.lang.NumberFormatException.
>
> Here is the Stacktrace:
> java.lang.NumberFormatException: For input string: "undefined"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
>
> at java.lang.Integer.parseInt(Integer.java:447)
> at java.lang.Integer.parseInt(Integer.java:497)
> at
> org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readSel ection(TextLCAUtil.java:95)
>
> at
> org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readTex tAndSelection(TextLCAUtil.java:54)
>
> at
> org.eclipse.swt.internal.widgets.textkit.SingleTextLCA.readD ata(SingleTextLCA.java:36)
>
> at
> org.eclipse.swt.internal.widgets.textkit.TextLCA.readData(Te xtLCA.java:36)
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA$1.doV isit(DisplayLCA.java:322)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor$AllWidget TreeVisitor.visit(WidgetTreeVisitor.java:28)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:59)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readD ata(DisplayLCA.java:329)
>
> at
> org.eclipse.rwt.internal.lifecycle.ReadData.execute(ReadData .java:26)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle(RWTLifeCycle.java:206)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:307)
>
> at org.eclipse.swt.widgets.Display.sleep(Display.java:706)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(Wo rkbenchAdvisor.java:361)
>
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2347)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 00)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:425)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:408)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
> at com.mycompany.rap.Application.createUI(Application.java:15)
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
>
> at java.lang.Thread.run(Thread.java:613)
Re: Strange behavoir with Text since last CVS update [message #115452 is a reply to message #115443] Fri, 12 December 2008 05:55 Go to previous messageGo to next message
Eclipse UserFriend
Thanks.
I hope the fix will be soon, because my project will be released next week.

Roland


Ralf Sternberg schrieb:
> Hi Roland,
>
> thanks for reporting this. I can reproduce the problem and opened this bug:
>
> 258632: [Text] NumberFormatException when clicking into Text
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=258632
>
> Will be fixed asap.
>
> Ralf
>
> Roland Siebert wrote:
>> Hi,
>>
>> today I update from CVS.
>> But now the Text-Widget behaves very strange.
>>
>> When i click in it, type nothing and click after out of it, for example
>> on a button, I get a java.lang.NumberFormatException.
>>
>> Here is the Stacktrace:
>> java.lang.NumberFormatException: For input string: "undefined"
>> at
>> java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
>>
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at
>> org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readSel ection(TextLCAUtil.java:95)
>>
>> at
>> org.eclipse.swt.internal.widgets.textkit.TextLCAUtil.readTex tAndSelection(TextLCAUtil.java:54)
>>
>> at
>> org.eclipse.swt.internal.widgets.textkit.SingleTextLCA.readD ata(SingleTextLCA.java:36)
>>
>> at
>> org.eclipse.swt.internal.widgets.textkit.TextLCA.readData(Te xtLCA.java:36)
>> at
>> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA$1.doV isit(DisplayLCA.java:322)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor$AllWidget TreeVisitor.visit(WidgetTreeVisitor.java:28)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:59)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>>
>> at
>> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:51)
>>
>> at
>> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readD ata(DisplayLCA.java:329)
>>
>> at
>> org.eclipse.rwt.internal.lifecycle.ReadData.execute(ReadData .java:26)
>> at
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle(RWTLifeCycle.java:206)
>>
>> at
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:307)
>>
>> at org.eclipse.swt.widgets.Display.sleep(Display.java:706)
>> at
>> org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(Wo rkbenchAdvisor.java:361)
>>
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2347)
>> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 00)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:425)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:408)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
>> at com.mycompany.rap.Application.createUI(Application.java:15)
>> at
>> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>>
>> at
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
>>
>> at
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
>>
>> at java.lang.Thread.run(Thread.java:613)
Re: Strange behavoir with Text since last CVS update [message #115464 is a reply to message #115443] Fri, 12 December 2008 05:56 Go to previous messageGo to next message
Eclipse UserFriend
Ralf Sternberg wrote:
> Hi Roland,
>
> thanks for reporting this. I can reproduce the problem and opened this bug:
>
> 258632: [Text] NumberFormatException when clicking into Text
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=258632
>
> Will be fixed asap.

A quick fix is in CVS.

Ralf
Re: Strange behavoir with Text since last CVS update [message #115576 is a reply to message #115464] Fri, 12 December 2008 11:58 Go to previous message
Eclipse UserFriend
Thanks Ralf.

Ralf Sternberg schrieb:
> Ralf Sternberg wrote:
>> Hi Roland,
>>
>> thanks for reporting this. I can reproduce the problem and opened this bug:
>>
>> 258632: [Text] NumberFormatException when clicking into Text
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=258632
>>
>> Will be fixed asap.
>
> A quick fix is in CVS.
>
> Ralf
Previous Topic:Problem running with RWT source code
Next Topic:Help with custom widget "example GMap"
Goto Forum:
  


Current Time: Wed Jul 30 16:09:18 EDT 2025

Powered by FUDForum. Page generated in 0.24313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top