Hi! Is the layout class itself maybe private or protected?
Otherwise, could you provide us a (anonymous version) of your code? Thanks and best, Thilo ________________________________________ From: squallmat . <squall...@gmail.com> Sent: Thursday, July 03, 2014 13:29 To: Tapestry users Subject: Re: java.lang.reflect.InvocationTargetException I don't have created any constructor in my layouts, so it can't be that. 2014-07-03 12:16 GMT+02:00 Thilo Tanner <thilo.tan...@reprisk.com>: > Hi! > > The problem is, that Tapestry cannot create an instance of your component > LoginLayout. > > You probably created a non-default constructor or the constructor is > private or protected. Check the Tapestry component lifecycle in case you > want to setup your component (for example by using @SetupRender) > > Best, > Thilo > > > > ________________________________________ > From: squallmat . <squall...@gmail.com> > Sent: Thursday, July 03, 2014 11:44 > To: users@tapestry.apache.org > Subject: java.lang.reflect.InvocationTargetException > > Hello I have an embedded component into another component but when I try to > launch i got this : > > "Exception assembling root component of page Index: Exception assembling > embedded component 'mainlayout' (of type > atos.smt.livraison.components.MainLayout, within Index): Exception > assembling embedded component 'loginlayout' (of type > atos.smt.livraison.components.LoginLayout, within Index:mainlayout): Unable > to instantiate instance of transformed class > atos.smt.livraison.components.LoginLayout: > java.lang.reflect.InvocationTargetException" > > What the problem could be ? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org