com.google.inject.ProvisionException: Guice provision errors: 1) Error at [unknown source]: Error in custom provider, java.lang.NullPointerException while locating com.wideplay.warp.servlet.conversation.Conversation Test$TestConvObject 1 error[s]


Solutions on the web

Solution icon of googlegroups
via Google Groups by Gili, 4 months ago
Guice provision errors: 1) Error at [unknown source]: Error in custom provider, java.lang.NullPointerException while locating com.wideplay.warp.servlet.conversation.Conversation Test$TestConvObject 1 error[s]

Stack trace

com.google.inject.ProvisionException: Guice provision
errors:

 1) Error at [unknown source]:
  Error in custom provider, java.lang.NullPointerException
   while locating
com.wideplay.warp.servlet.conversation.Conversation
Test$TestConvObject

 1 error[s]
	at com.google.inject.InjectorImpl$8.get(InjectorImpl.java:1015)
	at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:1042)
	at com.wideplay.warp.servlet.conversation.ConversationTest.conversationScopingOfInstances(ConversationTest.java:61)
Caused by: java.lang.NullPointerException
	at com.google.inject.InjectorImpl$LateBoundConstructor.get(InjectorImpl.java:478)
	at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43)
	at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:1065)
	at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.wideplay.warp.servlet.conversation.ConversationManagerImpl.getAndPutIfAbsent(ConversationManagerImpl.java:63)
	at com.wideplay.warp.servlet.Servlets$5$1.get(Servlets.java:205)
	at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:47)
	at com.google.inject.InjectorImpl$8$1.call(InjectorImpl.java:1004)
	at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:1057)
	at com.google.inject.InjectorImpl$8.get(InjectorImpl.java:998)
	... 3 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.