Re: Ajax failure: Status 500 for /mobile/browsegroups.loadingscreen: org.apache.tapestry5.runtime.ComponentEventException Communication with the server failed: org.apache.tapestry5.runtime.ComponentEv

2012-04-26 Thread derkoe
sommeralex wrote > > how can i get the stacktrace? my eclipse console does not show any errors. > I was trying to instantiate my list with an empty list if the list is > null, but the error consists: > When you are in development mode (and you're using Tapestry 5.3) the stacktrace is show in th

Re: Ajax failure: Status 500 for /mobile/browsegroups.loadingscreen: org.apache.tapestry5.runtime.ComponentEventException Communication with the server failed: org.apache.tapestry5.runtime.ComponentEv

2012-04-25 Thread sommeralex
how can i get the stacktrace? my eclipse console does not show any errors. I was trying to instantiate my list with an empty list if the list is null, but the error consists: package com.airwriting.frontend.pages.mobile; import java.util.ArrayList; import java.util.List; import org.apache.tapes

Re: Ajax failure: Status 500 for /mobile/browsegroups.loadingscreen: org.apache.tapestry5.runtime.ComponentEventException Communication with the server failed: org.apache.tapestry5.runtime.ComponentEv

2012-04-25 Thread derkoe
owsegroups.loadingscreen: > org.apache.tapestry5.runtime.ComponentEventException > Communication with the server failed: > org.apache.tapestry5.runtime.ComponentEventException > Seems like you get an Exception in your event handler onProgressiveDisplayFromLoadingScreen. I guess it's a NullPointer

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
I will try this one... Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4460300.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Taha Hafeez
Sorry wrong link. This is the correct one http://tapestry.1045711.n5.nabble.com/Tapestry-FileUploader-Integration-tp4268987p4269518.html regards Taha On Mon, Jun 6, 2011 at 7:46 PM, Taha Hafeez wrote: > For ajax you can try this > > > http://tapestry.1045711.n5.nabble.com/Modalbox-Integration-

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Taha Hafeez
For ajax you can try this http://tapestry.1045711.n5.nabble.com/Modalbox-Integration-Example-tp4248936p4369409.html regards Taha On Mon, Jun 6, 2011 at 4:46 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 06 Jun 2011 05:55:44 -0300, ael wrote: > > SIGH... >> This is

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Thiago H. de Paula Figueiredo
On Mon, 06 Jun 2011 05:55:44 -0300, ael wrote: SIGH... This is a limitation of Tapestry you cannot use AJAX in Uploading Files. How SAD!!! http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html Why? Repeating what I wrote in the thread you linked: File uploading doesn

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
SIGH... This is a limitation of Tapestry you cannot use AJAX in Uploading Files. How SAD!!! http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html Why? -- View this message in context: http

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
Already found the problem. I don't understand why file variable is null? Any idea's? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4458015.html Sent from the Tapestry - User mailing list archi

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Hi Taha, The error will occur if validate required is set in the template for uploading files. Maintenance Class /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.t5wdb.pages; import com.dash.t5wdb.daoservices.*; import com.da

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread Taha Hafeez
occurred. > >org.apache.tapestry5.runtime.ComponentEventException > >context >eventType >action >location >classpath:com/dash/t5wdb/pages/Maintenance.tml, line 133 >128 >129 >130 >131 > Add New Gues

T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Can anyone explain this? An unexpected application exception has occurred. org.apache.tapestry5.runtime.ComponentEventException context eventType action location classpath:com/dash/t5wdb/pages/Maintenance.tml, line 133 128 129

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-02 Thread Richard Hill
Yes. query the db for the id that has been created. On Wed, 2011-03-02 at 03:49 -0800, robnangle wrote: > Is it because when a new user registers there user id is set by the database > and not the java class? If so is there any way of solving the problem? > > -- > View this message in context:

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-02 Thread robnangle
Is it because when a new user registers there user id is set by the database and not the java class? If so is there any way of solving the problem? -- View this message in context: http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventException-tp3404853p3406425.html Se

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Howard Lewis Ship
On Tue, Mar 1, 2011 at 9:59 AM, robnangle wrote: > > Richard Hill-7 wrote: >> >> I haven't used the @SessionState annotation, I use the >> ApplicationStateManager directly to store SSOs but a quick look at the >> docs suggest it's doing the same thing. >> >> Firstly, I don't understand your User c

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Richard Hill-7 wrote: > > I haven't used the @SessionState annotation, I use the > ApplicationStateManager directly to store SSOs but a quick look at the > docs suggest it's doing the same thing. > > Firstly, I don't understand your User class - it seems to also contain a > User field? Sounds li

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Richard Hill
I haven't used the @SessionState annotation, I use the ApplicationStateManager directly to store SSOs but a quick look at the docs suggest it's doing the same thing. Firstly, I don't understand your User class - it seems to also contain a User field? Sounds like a stackoverflow in the making

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Rich M
If you want it to return a String, do something like this. Also, @SessionState would not be necessary in a class like this. The @SessionState in your page class(es) will maintain the object for you. public class User { private String user_id; public User getUser_id() { return user_id;

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Richard Hill-7 wrote: > > > Getting the user id depends on what public methods your user object has. > Presumably it has something like .getId() ? > > > > On Tue, 2011-03-01 at 06:44 -0800, robnangle wrote: >> Im probably wording the question wrong but that returns something like a >> memory

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Kristian Marinkovic
override the toString() implementation of your user entity... you can use apache-commons ToStringBuilder. Von:robnangle An: users@tapestry.apache.org Datum: 01.03.2011 15:44 Betreff:RE: org.apache.tapestry5.runtime.ComponentEventException Im probably wording the question

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Richard Hill
Getting the user id depends on what public methods your user object has. Presumably it has something like .getId() ? On Tue, 2011-03-01 at 06:44 -0800, robnangle wrote: > Im probably wording the question wrong but that returns something like a > memory address: Entities.User@12e7cb6 > > I want

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Im probably wording the question wrong but that returns something like a memory address: Entities.User@12e7cb6 I want to find the user_id of that user? -- View this message in context: http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventException-tp3404853p3405030.h

RE: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread WINDEY Pieter AWL-IT
>>> Hi, >>>Is there any way to convert the @Sessionstate user value to a string or a >>>readable value? Yes user.toString() ! Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg - 1130 Brussels - Belgium RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Hi, Is there any way to convert the @Sessionstate user value to a string or a readable value? -- View this message in context: http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventException-tp3404853p3405008.html Sent from the Tapestry - User mailing list archive at N

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Hi ye the craeateDb() set's all of that. Got it sorted anyway, thanks people. I didn'y fully understand the @Property annotation, that was my problem. All the elements were null. -- View this message in context: http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventExc

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Kristian Marinkovic
where is your connection (field conn) set? Von:robnangle An: users@tapestry.apache.org Datum: 01.03.2011 13:53 Betreff:Re: org.apache.tapestry5.runtime.ComponentEventException Yes stupidly I forgot to set the connection but the errors remain. The onSuccess(): public String

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Yes stupidly I forgot to set the connection but the errors remain. The onSuccess(): public String onSuccess() throws Exception { createDb(); String statement = "INSERT INTO teams(user_id, team_name, keeper, fullBack1, fullBack2, fullBack3, halfBack1, halfBack2, hal

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Thiago H. de Paula Figueiredo
On Tue, 01 Mar 2011 09:35:00 -0300, robnangle wrote: Ye I noticed that but cant see what could be wrong with that line: Line 245: String statement = "INSERT INTO teams(user_id, team_name, keeper, fullBack1, fullBack2, fullBack3, halfBack1, halfBack2, halfBack3, midfield1, midfield2, halfF

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
Ye I noticed that but cant see what could be wrong with that line: Line 245: String statement = "INSERT INTO teams(user_id, team_name, keeper, fullBack1, fullBack2, fullBack3, halfBack1, halfBack2, halfBack3, midfield1, midfield2, halfForward1, halfForward2, halfForward3, fullForward1, fullForward

Re: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread Bryan Lewis
seen a couple thru the forum but I dont think they apply to the > error > im getting. > > org.apache.tapestry5.runtime.ComponentEventException > context > eventType: > action > location: > context:SelectPlayers.tml, line 10 > 5 > 6

org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread robnangle
I have seen a couple thru the forum but I dont think they apply to the error im getting. org.apache.tapestry5.runtime.ComponentEventException context eventType: action location: context:SelectPlayers.tml, line 10 5 6 Select Player 7 8 9

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Thiago H. de Paula Figueiredo
Em Mon, 20 Oct 2008 09:36:32 -0300, Ville Virtanen <[EMAIL PROTECTED]> escreveu: I have to say that I really don't know what's going on, but it seems to originate from MatchPopulate.tml, so the answer will be found there. I agree with Ville, and maybe this "empty stack" error is related to t

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
3:31:47,978 INFO [STDOUT] [DEBUG] pages.MatchPopulate Dispatch event: > ComponentEvent[exception from newEvent] > 13:31:48,003 INFO [STDOUT] [ERROR] TapestryModule.RequestExceptionHandler > Processing of request failed with uncaught exception: Stack is empty. > org.apache.tapestry5.runti

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
? 13:31:47,978 INFO [STDOUT] [DEBUG] pages.MatchPopulate Dispatch event: ComponentEvent[exception from newEvent] 13:31:48,003 INFO [STDOUT] [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Stack is empty. org.apache.tapestry5.runtime.Componen

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
ined in MyPage, I got this error: > > org.apache.tapestry5.runtime.ComponentEventException > Stack is Empty > > I have used this practice many times, but I've never seen this error. > Can you explain me what does "Stack is empty" error mean exactly? > Where can

[T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
//www.nabble.com/-T5--org.apache.tapestry5.runtime.ComponentEventException---Stack-is-empty-tp20066468p20066468.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm