Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Igor Vaynberg
a stack trace would be helpful... -igor On Sat, Jul 28, 2012 at 11:26 AM, Francois Meillet francois.meil...@gmail.com wrote: Hi All, The problem is : I got a NullPointerException after using @Inject environment : wicket 1.6 snapshot - cdi (weld) - inject - NullPointerException - tomcat 7

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
Here it is : org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public bookstoreweb.test.BookPage(org.apache.wicket.request.mapper.parameter.PageParameters)' and argument 'c=[color] at

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Igor Vaynberg
looks like a cdi problem since the NPE is inside BigBenClock which is created and injected by cdi... strange. -igor On Sat, Jul 28, 2012 at 2:41 PM, Francois Meillet francois.meil...@gmail.com wrote: Here it is : org.apache.wicket.WicketRuntimeException: Can't instantiate page using

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
At the startup I can see WELD-000106 Bean: Managed Bean [class bookstoremodel.cdi.BigBenClock] with qualifiers [@Any @Default] BigBenClock reacts as it was not managed. Le 28 juil. 2012 à 14:29, Igor Vaynberg a écrit : looks like a cdi problem since the NPE is inside BigBenClock which is