I encounter the following NPE:
Caused by: java.lang.NullPointerException
at
com.google.inject.jndi.JndiIntegration$JndiProvider.get(JndiIntegration.java:59)
at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvider
Adapter.java:41)
at
com.google.inject.InjectorImpl$SingleParameterInjector.inject(InjectorImpl.java:
640)
... 108 more
From browsing the source, it looks like the Context instance is null. It
would be helpful for the documentation to indicate that Context must be
bound in the module using JndiIntegration for this to work.
Original issue reported on code.google.com by kris.nuttycombe on 19 Nov 2008 at 4:59
Original issue reported on code.google.com by
kris.nuttycombe
on 19 Nov 2008 at 4:59