I have a Ginjector:
@GinModules(FooGinModule.class)
public interface FooGinjector extends Ginjector {
...
PlaceHistoryHandler historyHandler();
}
Whenever I call injector.historyHandler()
, I get a null pointer exception. (The injector
itself is not null.) How can I debug this? The error message printed to Chrome's console is not helpful - it just says "null pointer exception".