Hi, I am not sure what is wrong. Are you sure that CAdministrationManager instance is constructed by Tapestry-IOC? Maybe it is created outside Tapestry, e.g. using explicit 'new' keyword?
BTW, Is there a reason to use 'eagerLoad()' on all that services? Best regards, Cezary On Sun, Mar 27, 2011 at 6:19 PM, coriolisguy <escanz...@yahoo.com> wrote: > Hi All, > > I am probably not doing this right. > > In my AppModule.java I have the following code > > > > binder.bind(IConfigurationManager.class,CConfigurationManager.class).withId("ConfigurationManager").eagerLoad(); > > binder.bind(IAdministrationManager.class,CAdministrationManager.class).withId("AdministrationManager").eagerLoad(); > > binder.bind(ILogManager.class,CLogManager.class).withId("LogManager").eagerLoad(); > > binder.bind(ITopicLogManager.class,CTopicLogManager.class).withId("TopicLogManager").eagerLoad(); > > In my CAdministrationManager.java file I have > public class CAdministrationManager implements IAdministrationManager { > ... > > @Inject > private IConfigurationManager configurationManager; > > ... > } > > In my AdministrationManager code I call > > String datasourceName = > > configurationManager.getStringParameter("System.Administration.DataSource","System"); > > > I get a null pointer expression for configurationManager. The injection is > not happening. What more do I have to do? > > Thanks > > >