You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Federico Fanton <ff...@ibc.it> on 2008/01/03 10:58:04 UTC

Re: DatePicker NaN

On Wed, 19 Sep 2007 18:19:15 +0200
"Gerolf Seitz" <ge...@gmail.com> wrote:

> ivana filed an issue today (WICKET-989) and i already attached a patch to
> it.
> so either you persuade any of the committers to apply the patch and commit
> it, or you do an svn checkout and apply the patch to your local copy of
> wicket-datetime.
> 
>   Gerolf
> 
> On 9/19/07, Philip Köster <pk...@ponton-consulting.de> wrote:
> >
> >
> >
> > ivana wrote:
> > >
> > > Hi
> > > I have a problem with the DatePicker. It works fine if the input is a
> > > valid date or if the input is very wrong, for example: ''xxx".
> > > But when the input consists of numbers and but is not a valid date, the
> > > calendar is rendered with NaN in every field.



I'm sorry, could it be that somehow this patch wasn't included in 1.3.0? I upgraded today and I'm still having the same problem.. If I write "123" in the text box and I press the calendar icon, the datepicker is full of NaNs. I checked wicket-date.js and it looks like it doesn't check for NaNs..
Thanks for your time!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: "java.lang.OutOfMemoryError: PermGen space" in tree table example

Posted by Matej Knopp <ma...@gmail.com>.
Yeah, that's what is happening on our tomcat instance @ wicketstuff.
restarting it now...

-Matej

On Jan 14, 2008 4:08 PM, Eelco Hillenius <ee...@gmail.com> wrote:
> > This message comes from the fact the JVM can't allocate enough memory
> > to start the application.
>
> Or more specifically: to load your classes (which is the typical
> case). This also often happens when you e.g. use tomcat and deploy on
> a live instance time after time.
>
> Eelco
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: "java.lang.OutOfMemoryError: PermGen space" in tree table example

Posted by Eelco Hillenius <ee...@gmail.com>.
> This message comes from the fact the JVM can't allocate enough memory
> to start the application.

Or more specifically: to load your classes (which is the typical
case). This also often happens when you e.g. use tomcat and deploy on
a live instance time after time.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: "java.lang.OutOfMemoryError: PermGen space" in tree table example

Posted by Roy van Rijn <ro...@gmail.com>.
Arseny,

This message comes from the fact the JVM can't allocate enough memory
to start the application. In some cases when I have Eclipse
auto-deploying my application I get the same message. This is party
caused by a little bug in Suns JVM.

There are a couple of solutions to fix this. What I normally do is
killing the JVM and restarting the server while developing. The second
thing is starting the JVM with -XX:MaxPermSize set higher.

The third thing a collegue told me is using something different then
Sun's JVM. He is now using JRockit's JVM instead and told me he never
gets PermGen errors since the change.

In short: This has nothing to do with Wicket I'm afraid...


On 1/14/08, Arseny <fo...@mail.ru> wrote:
> I`ve got:
>
> *type* Exception report
>
> *message*
>
> *description* _The server encountered an internal error () that
> prevented it from fulfilling this request._
>
> *exception*
>
> javax.servlet.ServletException: Filter execution threw an exception
>
> *root cause*
>
> java.lang.OutOfMemoryError: PermGen space
>
>
>
> when trying to access:
>
> http://wicketstuff.org/wicket13/ajax/tree/simple
>
> Did you see that?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


"java.lang.OutOfMemoryError: PermGen space" in tree table example

Posted by Arseny <fo...@mail.ru>.
I`ve got:

*type* Exception report

*message*

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

*exception*

javax.servlet.ServletException: Filter execution threw an exception

*root cause*

java.lang.OutOfMemoryError: PermGen space



when trying to access:

http://wicketstuff.org/wicket13/ajax/tree/simple

Did you see that?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DatePicker NaN

Posted by Nick Heudecker <nh...@gmail.com>.
One way I work around this problem is to put the following on the textfield
for the date picker:

onfocus="this.blur();"

Doing that means the user can't simply type in the date, but you don't have
the NaN problem either.

On Jan 3, 2008 3:58 AM, Federico Fanton <ff...@ibc.it> wrote:

> On Wed, 19 Sep 2007 18:19:15 +0200
> "Gerolf Seitz" <ge...@gmail.com> wrote:
>
> > ivana filed an issue today (WICKET-989) and i already attached a patch
> to
> > it.
> > so either you persuade any of the committers to apply the patch and
> commit
> > it, or you do an svn checkout and apply the patch to your local copy of
> > wicket-datetime.
> >
> >   Gerolf
> >
> > On 9/19/07, Philip Köster <pk...@ponton-consulting.de> wrote:
> > >
> > >
> > >
> > > ivana wrote:
> > > >
> > > > Hi
> > > > I have a problem with the DatePicker. It works fine if the input is
> a
> > > > valid date or if the input is very wrong, for example: ''xxx".
> > > > But when the input consists of numbers and but is not a valid date,
> the
> > > > calendar is rendered with NaN in every field.
>
>
>
> I'm sorry, could it be that somehow this patch wasn't included in 1.3.0? I
> upgraded today and I'm still having the same problem.. If I write "123" in
> the text box and I press the calendar icon, the datepicker is full of NaNs.
> I checked wicket-date.js and it looks like it doesn't check for NaNs..
> Thanks for your time!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management
http://www.eventfulhq.com

Re: DatePicker NaN

Posted by Brandon Fuller <br...@cisco.com>.
Verified fixed in 1.3.1.
-- 
View this message in context: http://www.nabble.com/DatePicker-NaN-tp12759906p15446234.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DatePicker NaN

Posted by Federico Fanton <ff...@ibc.it>.
On Thu, 3 Jan 2008 21:29:18 +0100
"Gerolf Seitz" <ge...@gmail.com> wrote:

> Federico, is it possibly that you try it with the latest trunk?
> the fix is in and it will be included in 1.3.1

I'll try it ASAP, many thanks! :)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DatePicker NaN

Posted by Gerolf Seitz <ge...@gmail.com>.
Federico, is it possibly that you try it with the latest trunk?
the fix is in and it will be included in 1.3.1

Regards,
  Gerolf

On Jan 3, 2008 10:58 AM, Federico Fanton <ff...@ibc.it> wrote:

> On Wed, 19 Sep 2007 18:19:15 +0200
> "Gerolf Seitz" <ge...@gmail.com> wrote:
>
> > ivana filed an issue today (WICKET-989) and i already attached a patch
> to
> > it.
> > so either you persuade any of the committers to apply the patch and
> commit
> > it, or you do an svn checkout and apply the patch to your local copy of
> > wicket-datetime.
> >
> >   Gerolf
> >
> > On 9/19/07, Philip Köster <pk...@ponton-consulting.de> wrote:
> > >
> > >
> > >
> > > ivana wrote:
> > > >
> > > > Hi
> > > > I have a problem with the DatePicker. It works fine if the input is
> a
> > > > valid date or if the input is very wrong, for example: ''xxx".
> > > > But when the input consists of numbers and but is not a valid date,
> the
> > > > calendar is rendered with NaN in every field.
>
>
>
> I'm sorry, could it be that somehow this patch wasn't included in 1.3.0? I
> upgraded today and I'm still having the same problem.. If I write "123" in
> the text box and I press the calendar icon, the datepicker is full of NaNs.
> I checked wicket-date.js and it looks like it doesn't check for NaNs..
> Thanks for your time!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: DatePicker NaN

Posted by Gerolf Seitz <ge...@gmail.com>.
i reopened the issue and will take a look at it tonight.
thanks for reporting it.

  Gerolf

On Jan 3, 2008 10:58 AM, Federico Fanton <ff...@ibc.it> wrote:

> On Wed, 19 Sep 2007 18:19:15 +0200
> "Gerolf Seitz" <ge...@gmail.com> wrote:
>
> > ivana filed an issue today (WICKET-989) and i already attached a patch
> to
> > it.
> > so either you persuade any of the committers to apply the patch and
> commit
> > it, or you do an svn checkout and apply the patch to your local copy of
> > wicket-datetime.
> >
> >   Gerolf
> >
> > On 9/19/07, Philip Köster <pk...@ponton-consulting.de> wrote:
> > >
> > >
> > >
> > > ivana wrote:
> > > >
> > > > Hi
> > > > I have a problem with the DatePicker. It works fine if the input is
> a
> > > > valid date or if the input is very wrong, for example: ''xxx".
> > > > But when the input consists of numbers and but is not a valid date,
> the
> > > > calendar is rendered with NaN in every field.
>
>
>
> I'm sorry, could it be that somehow this patch wasn't included in 1.3.0? I
> upgraded today and I'm still having the same problem.. If I write "123" in
> the text box and I press the calendar icon, the datepicker is full of NaNs.
> I checked wicket-date.js and it looks like it doesn't check for NaNs..
> Thanks for your time!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>