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.CookieContin uationsTest$TestConvObject 1 error[s]


Solutions on the web1

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.CookieContin uationsTest$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.CookieContin
uationsTest$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.CookieContinuationsTest$3.doFilter(CookieContinuationsTest.java:200)
	at com.wideplay.warp.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:54)
	at com.wideplay.warp.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:50)
	at com.wideplay.warp.servlet.WebFilter.doFilter(WebFilter.java:64)
	at com.wideplay.warp.servlet.conversation.CookieContinuationsTest.continueConvAcrossRequests(CookieContinuationsTest.java:103)
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)
	... 7 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.