I'm noticing that the exception raised by my tapestry application do not appear as a stack track and not at all colored and highlighted as shown in various posts and blogs. The exception is just displayed in a single sentence paragraph. Am i missing any jar for the decoration ? The jars I've used is listed below.
antlr-runtime-3.3.jar commons-codec-1.5.jar javassist.jar javax.inject-1.jar log4j-1.2.16.jar plastic-5.3.7.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar tapestry-core-5.3.7.jar tapestry-func-5.3.7.jar tapestry-ioc-5.3.7.jar tapestry-json-5.3.7.jar tapestry5-annotations-5.3.7.jar Thanks, Deepak On Thu, Oct 23, 2014 at 9:46 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 23 Oct 2014 10:45:00 -0200, Deepak <mn.dee...@gmail.com> wrote: > > @Property >> @Persist >> private String gender = "F"; >> > > As Chris and George already said, never, never ever initialize a page, > component or field in its initialization. Their suggestion of using > setupRender() or onActivate() to initialize it is spot on. > > Exception assembling root component of page Register: Unable to >> instantiate >> instance of transformed class tapestry5.inaction.pages.Register: >> java.lang.reflect.InvocationTargetException >> > > Well, it shouldn't cause an exception, so I'm curious. It's probably > something else. On the other hand, when posting an exception, post the full > stack trace, as the information needed is there. > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Deepak -------------------------------------------- Lend your voices only to sounds of freedom. No longer lend your strength to that which you wish to be free from. Fill your lives with love and bravery and you shall lead... a life uncommon.