Re: NullPointer for service constructor

2014-04-06 Thread Kalle Korhonen
Constructor injection has these three distinct advantages over field/setter injection: - always thread safe - fields can be marked final - you don't have to keep references to objects you need during construction Kalle On Sun, Apr 6, 2014 at 1:08 PM, Sanket Sharma wrote: > I battled with the sa

Re: NullPointer for service constructor

2014-04-06 Thread Sanket Sharma
I battled with the same issue yesterday - injection happens after the constructor has run! On Sun, Apr 6, 2014 at 9:26 PM, John wrote: > problem solved, the Logger was of course not yet injected! Duh. I wish the > IoC stack dump were more helpful. > > J > - Original Message - > From

Re: NullPointer for service constructor

2014-04-06 Thread John
problem solved, the Logger was of course not yet injected! Duh. I wish the IoC stack dump were more helpful. J - Original Message - From: John To: users@tapestry.apache.org Sent: Sunday, April 06, 2014 6:35 PM Subject: NullPointer for service constructor I'm trying to constu

NullPointer for service constructor

2014-04-06 Thread John
I'm trying to constuct a service implimentation that receives references to a couple of other services that registers the objects into a super class. But I get a null pointer exception. What am I doing wrong here? public class AppModule { public static void bind(ServiceBinder binder) {

Re: Eclipse Tapestry5 Project version 2.3.0 available for download

2014-04-06 Thread Dmitry Gusev
Hi Thiago, I use XML editor too, and I always thought it is a part of WTP [1]. Maybe there are some other XML Editors but the plugin extends XML editor from WTP Source Editing project [1] for completion proposals, which comes with standard "Eclipse IDE for Java EE Developers" distribution of Eclip

Re: Eclipse Tapestry5 Project version 2.3.0 available for download

2014-04-06 Thread Thiago H de Paula Figueiredo
On Sun, 06 Apr 2014 06:42:33 -0300, Dmitry Gusev wrote: Hi, Dmitry! Two new features in this update: 1. Support for JavaScript stacks - Stacks have the same support in Tapestry Context view as CSS/JavaScript assets (including basic validation and quick navigation) -

Eclipse Tapestry5 Project version 2.3.0 available for download

2014-04-06 Thread Dmitry Gusev
Two new features in this update: 1. Support for JavaScript stacks - Stacks have the same support in Tapestry Context view as CSS/JavaScript assets (including basic validation and quick navigation) - Tapestry Project Outline displays JavaScript stacks declared in 3rd-part