Re: Custom exception report for AJAX requests

2015-01-25 Thread Ilya Obshadko
Ended up with something like this: https://gist.github.com/xfyre/12612d45bccf16422050 Kind of a brutal approach, but works OK On Sun, Jan 25, 2015 at 2:26 PM, Ilya Obshadko wrote: > I have looked into source and seems like we can't do much. AJAX exception > reporting is hard-coded in exception-

Re: Custom exception report for AJAX requests

2015-01-25 Thread Ilya Obshadko
I have looked into source and seems like we can't do much. AJAX exception reporting is hard-coded in exception-frame.coffee and this part cannot be properly altered. If we don't supply X-Tapestry-ErrorMessage header, this iframe-based exception reporting is turned off (which is good). ajax.coffee

Re: Custom exception report for AJAX requests

2015-01-04 Thread Chris Mylonas
in 5.4 there is a custom exception handler available by contributing your handler. search nabble , I had similar queries 4 or 5 months ago. that should get you started. in 5.3, you can use the tapestry-exceptionpage package from tynamo I believe for same behaviour. sry for vagueness, haven't to

Custom exception report for AJAX requests

2015-01-04 Thread Ilya Obshadko
I asked about this before, but didn't get any answer. Is that possible to customize AJAX error reporting in any way? I need to have a different logic there (for example, if error occurs during zone update, I want to remove custom zone overlay and present a modal dialog with human-readable descript

Re: exception report

2013-01-08 Thread George Christman
I'd like to also add I'm using the ajaxformloop component. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/exception-report-tp5719007p5719210.html Sent from the Tapestry - User mailing list archive at

Re: exception report

2013-01-08 Thread George Christman
ializable { @Id @GeneratedValue @NonVisual @Column(name="lineItemId") private Long id; Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/exception-report-tp5719007p5719209.html Sent from the Tapestry - User mail

Re: exception report

2013-01-03 Thread Howard Lewis Ship
To be clear, what I was getting at is that you should be serializing the ids of database entities, not the serialized versions of the entities themselves. On Thu, Jan 3, 2013 at 1:37 AM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > > > well i tried blob and mediumblob... it is a

Re: exception report

2012-12-27 Thread Howard Lewis Ship
o wonder I been chasing that damn property higher. > > so I remove Serializable from the interface ? > > Best regards > and thanks... KEN > > From: nhhockeypla...@hotmail.com > To: users@tapestry.apache.org > Subject: RE: exception report > Date: Thu,

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
serializing giant blobs of data to the client? shit I didnt know I was. No wonder I been chasing that damn property higher. so I remove Serializable from the interface ? Best regards and thanks... KEN From: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: RE: exception

Re: exception report

2012-12-27 Thread Howard Lewis Ship
Have you considered NOT serializing giant blobs of data to the client? On Thu, Dec 27, 2012 at 7:52 AM, Cezary Biernacki wrote: > Yeah i set the breakpoint and it gets triggered... but really nothing to >> do at that point. And it looks like its coming from tapestry... the >> IllegalStateExcepti

Re: exception report

2012-12-27 Thread Cezary Biernacki
Yeah i set the breakpoint and it gets triggered... but really nothing to do at that point. And it looks like its coming from tapestry... the IllegalStateException No, it is clearly coming from Jetty. Tapestry just calls standard servlet request API getParameter() method. So you saying my je

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
This fixed it org.mortbay.jetty.Request.maxFormContentSize 758122

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
project. Or instrument the maven pom itself for the project somehow ? Best regards and thanks... KEN From: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: RE: exception report Date: Thu, 27 Dec 2012 09:58:51 -0500 Ok I am rendering a gallery of 24 objects... sizable BLOB's

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
users@tapestry.apache.org Subject: RE: exception report Date: Thu, 27 Dec 2012 09:56:39 -0500 Thanks Cezary, Yeah i set the breakpoint and it gets triggered... but really nothing to do at that point. And it looks like its coming from tapestry... the IllegalStateException So you saying my jetty plugin up

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
Thanks Cezary, Yeah i set the breakpoint and it gets triggered... but really nothing to do at that point. And it looks like its coming from tapestry... the IllegalStateException So you saying my jetty plugin updated itself ? Ok here is some more stuff pertaining to your claims... 127.0.0.1 -

Re: exception report

2012-12-27 Thread Neil Pierson
Unsubscribe. On Dec 27, 2012, at 8:07 AM, nhhockeyplayer nashua wrote: > > it would be nice if I knew WHICH parameter > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additiona

Re: exception report

2012-12-27 Thread Cezary Biernacki
it would be nice if I knew WHICH parameter Probably 't:component-trace', but I believe it would fail for any parameter. I am not sure what is happening, but my guess is that your Jetty was recently upgraded, and now fails during parameter extraction (are

RE: exception report

2012-12-27 Thread nhhockeyplayer nashua
it would be nice if I knew WHICH parameter

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 21:58:59 -0300, TechniciuM wrote: Hi Thiago. Hi! Suprisingly I have been left with some old Hibernate libs in my stack, so I had to delete them manually as they haven't been seen by my IDE. I have done it, but the issue persists, but I have got a couple of issues he

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
eason why my app fails to process it in the right way. This is the the new log http://shrib.com/GebWbwlN -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677252.html Sent from the Tapestry - User mailing list archi

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:58:57 -0300, TechniciuM wrote: This is what I wanted at first to post : http://shrib.com/902LeAu6 java.lang.IncompatibleClassChangeError: org/hibernate/cfg/ExtendedMappings at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.ja

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is what I wanted at first to post : http://shrib.com/902LeAu6 This is my issue. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677101.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
Lol :) I couldn't see I didn't close the listener tag. :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677078.html Sent from the Tapestry - User mailing list archive at

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
echniciuM wrote: > But why is that? Do I have to make my own service in order that to work? So > far my xml was parsing just fine, but when I implemented the entities like I > did, it throws me that exception. > > -- > View this message in context: > http://tapestry.1045711.n5.n

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
But why is that? Do I have to make my own service in order that to work? So far my xml was parsing just fine, but when I implemented the entities like I did, it throws me that exception. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:10:10 -0300, TechniciuM wrote: This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . It's quite obvious what the problem is in the log: Caused by: java.lang.RuntimeException: Exception constructing service 'HibernateSessionSource': Error invoking s

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677005.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 15:29:24 -0300, TechniciuM wrote: I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. So the Tomcat log is probably sent to the NetBeans console. You should take a look there. -- Thiago H. de Pau

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676579.html Sent from the Tapestry - User

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 14:45:01 -0300, TechniciuM wrote: @Thiago I have 4 logs here from my Apache Tomcat server. Is that what you need? No. I want the console or log, but just the part containing the full stack trace of the problem and nothing more. How do you run your Tomcat while developi

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
go I have 4 logs here from my Apache Tomcat server. Is that what you need? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676497.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
On Mon, Apr 30, 2012 at 9:33 AM, TechniciuM wrote: > The thing is I don't think JARs are mixed. Main reason for this behavior Which versions of T5 and Hibernate are you using? I don't think it has anything to do with your entities but the IncompatibleClassChangeError you see in the trace. Kalle

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 13:33:36 -0300, TechniciuM wrote: So the main reason is I think the inheritance, ie I am not using extended mapping. What do you think, Thiago? Without the full stack trace from the console or log, I can't say anything. ;) -- Thiago H. de Paula Figueiredo Independent J

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
The thing is I don't think JARs are mixed. Main reason for this behavior could be possibly find in the following scenario: When I implemented this like inheritance: @Entity @Table(name = "Article") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public class Articleimplements Serializable

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
Hi! Please get the stack trace from the console or log instead of the Tapestry page error. In addition, it looks like you have mixed Hibernate JAR versions. Error invoking service builder method org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger, List, R

Re: Exception Report must not contain a form

2011-12-06 Thread Stephan Windmüller
On 06.12.2011 13:09, Muhammad Gelbana wrote: > What version of tapestry is that ? > Would you kindly state tapestry's version in the subject ? :) I'm sorry. The Tapestry version here is 5.2.6. Regards Stephan signature.asc Description: OpenPGP digital signature

Re: Exception Report must not contain a form

2011-12-06 Thread Muhammad Gelbana
What version of tapestry is that ? Would you kindly state tapestry's version in the subject ? :) Thanks. On Tue, Dec 6, 2011 at 1:20 AM, Alejandro Scandroli < alejandroscandr...@gmail.com> wrote: > I have seen this "Form components may not be placed inside other Form > components." error way to

Re: Exception Report must not contain a form

2011-12-06 Thread Stephan Windmüller
On 06.12.2011 00:20, Alejandro Scandroli wrote: > I have seen this "Form components may not be placed inside other Form > components." error way too many times. > The problem is that your ExceptionReport page has a form that is > trying to add a new FormSupport to the environment but there is one

Re: Exception Report must not contain a form

2011-12-05 Thread Alejandro Scandroli
I have seen this "Form components may not be placed inside other Form components." error way too many times. The problem is that your ExceptionReport page has a form that is trying to add a new FormSupport to the environment but there is one already there. The FormSupport that is already on the en

Re: Exception Report must not contain a form

2011-12-05 Thread Stephan Windmüller
On 30.11.2011 15:55, I wrote: > However, now the ExceptionReport page itself throws an exception when > the orginal exception occurs on a page which already has a form: Does anybody have an idea why this is happening or how I can fix it? Regards Stephan signature.asc Description: OpenPGP dig

Exception Report must not contain a form

2011-11-30 Thread Stephan Windmüller
Hello! Our ExceptionReport page should contain a form which the user can use to describe what lead to the error. However, now the ExceptionReport page itself throws an exception when the orginal exception occurs on a page which already has a form: - Caused by: org.apache.tapestry5.ioc.inter

Re: T5: 5.0.10 exception report has no detail

2008-02-19 Thread Davor Hrg
t; >Configuration configuration) { > > > > then pass it to the service > > > > > > Davor Hrg > > > > > > On Feb 19, 2008 12:01 PM, Geoff Callender > > <[EMAIL PROTECTED]> wrote: > >> Many thanks, Davor. He

Re: T5: 5.0.10 exception report has no detail

2008-02-19 Thread Geoff Callender
productionMode, Configuration configuration) { then pass it to the service Davor Hrg On Feb 19, 2008 12:01 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: Many thanks, Davor. Here's what worked to display a custom exception report page ONLY IF tapestry.production-mode=true. In services.App

Re: T5: 5.0.10 exception report has no detail

2008-02-19 Thread Davor Hrg
Davor Hrg On Feb 19, 2008 12:01 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > Many thanks, Davor. Here's what worked to display a custom exception > report page ONLY IF tapestry.production-mode=true. > > In services.AppModule: > > publi

Re: T5: 5.0.10 exception report has no detail

2008-02-19 Thread Geoff Callender
Many thanks, Davor. Here's what worked to display a custom exception report page ONLY IF tapestry.production-mode=true. In services.AppModule: public static void bind(ServiceBinder binder) { binder.bind(RequestExceptionHandler.class, MyRequestExceptionHandler.class).w

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
at > >>>> org > >>>> .apache > >>>> .tapestry.ioc.internal.RegistryImpl.(RegistryImpl.java: > >>>> 174) > >>>> > >>>> Geoff > >>>> > >>>> > >>>> On 18/02/2008, at

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
erro page too, either omit the contribution, or display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Ca

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
ptionReporter > >>> and have customized page for both dev and production :) > >>> > >>> Davor Hrg > >>> > >>> On Feb 17, 2008 2:49 PM, Geoff Callender > >>> <[EMAIL PROTECTED]> wrote: > >>>> So you&#

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Callender wrote: I like it - I think it's the right

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
AppModule and use it to condition whether > >> I contribute an ExceptionReporter. Is that right? > >> > >> > >> On 17/02/2008, at 11:49 PM, Davor Hrg wrote: > >> > >>> you can use that symbol in your custom erro page too, > >>> either omi

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
erro page too, either omit the contribution, or display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Calle

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Howard Lewis Ship
> > > or display different message > > > > > > On Feb 17, 2008 1:25 PM, Geoff Callender > > > <[EMAIL PROTECTED]> wrote: > > >> Is there a way to make it use your own custom exception report page > > >> only if -Dtapestry.production-mode=tr

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
isplay different message > > > > On Feb 17, 2008 1:25 PM, Geoff Callender > > <[EMAIL PROTECTED]> wrote: > >> Is there a way to make it use your own custom exception report page > >> only if -Dtapestry.production-mode=true? > >> > >> > &

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
e too, either omit the contribution, or display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Callender wrote:

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
you can use that symbol in your custom erro page too, either omit the contribution, or display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > Is there a way to make it use your own custom exception report page > only if -Dtapestry.producti

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Callender wrote: I like it - I think it's the right default. Just need to make sure everyone's aware of it. Geoff On 17/02/2008,

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
page HTH -- Chris Joost Schouten (ml) wrote: I'm experiencing the same with 5.0.11 Cheers, Joost Geoff Callender wrote: Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exception, eg. An unexpected application except

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Chris Poulsen
Hi, As the snippet below says; it is a system property - meaning that you should be able to pass it using a -Dtapestry.production-mode=false in your tomcat startup config -- Chris Angelo Chen wrote: Hi, Got the same issue, not using jetty, but tomcat, where could I add that production mode

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
tapestry.production-mode > > false > > > > > > > > Into the maven-jetty-plugin configuration to get the nice exception page > > > > > > -- > View this message in context: > http://www.na

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Angelo Chen
> I had to add: > > > > tapestry.production-mode > false > > > > Into the maven-jetty-plugin configuration to get the nice exception page > > -- View this message in con

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
> I'm experiencing the same with 5.0.11 > > > > Cheers, > > Joost > > > > Geoff Callender wrote: > >> Is anyone else seeing this? The exception report page in T5.0.10 has > >> no detail - I'm getting only a heading and the e

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Chris Poulsen
configuration to get the nice exception page HTH -- Chris Joost Schouten (ml) wrote: I'm experiencing the same with 5.0.11 Cheers, Joost Geoff Callender wrote: Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exceptio

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Joost Schouten (ml)
I'm experiencing the same with 5.0.11 Cheers, Joost Geoff Callender wrote: Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exception, eg. An unexpected application exception has occurred. Render queue error in B

T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exception, eg. An unexpected application exception has occurred. Render queue error in BeginRender[examples/jodatime/1:pagelink]: java.lang.ClassNotFoundException: caug