com.google.inject.ProvisionException: Error while locating instance bound to desktopbeautifier.persistence.ImageManager

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • com.google.inject.ProvisionException: Error while locating instance bound to desktopbeautifier.persistence.ImageManager at desktopbeautifier.web.gallery.LargeImagePage.imageManager(LargeImagePage.java:48) at com.google.inject.InjectorImpl$SingleFieldInjector.inject(InjectorImpl.java:486) at com.google.inject.BinderImpl$StaticInjection$2.call(BinderImpl.java:463) at com.google.inject.BinderImpl$StaticInjection$2.call(BinderImpl.java:461) at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:747) at com.google.inject.BinderImpl$StaticInjection.runMemberInjectors(BinderImpl.java:460) at com.google.inject.BinderImpl.createInjector(BinderImpl.java:285) at com.google.inject.Guice.createInjector(Guice.java:79) at com.google.inject.Guice.createInjector(Guice.java:53) at com.google.inject.Guice.createInjector(Guice.java:43) at desktopbeautifier.servlet.ServletContextInjector.getInjector(ServletContextInjector.java:23) at com.wideplay.warp.servlet.WarpServletContextListener.contextInitialized(WarpServletContextListener.java:39) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: com.google.inject.ProvisionException: Error while locating instance bound to javax.persistence.EntityManager at desktopbeautifier.persistence.ImageManager.<init>(ImageManager.java:54) at com.google.inject.InjectorImpl$SingleParameterInjector.inject(InjectorImpl.java:646) at com.google.inject.InjectorImpl.getParameters(InjectorImpl.java:666) at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:140) at com.google.inject.InjectorImpl$ImplicitBinding.get(InjectorImpl.java:1006) at com.google.inject.InjectorImpl$SingleFieldInjector.inject(InjectorImpl.java:473) ... 34 more Caused by: java.lang.NullPointerException at com.wideplay.warp.jpa.EntityManagerFactoryHolder.getCurrentEntityManager(EntityManagerFactoryHolder.java:101) at com.wideplay.warp.jpa.EntityManagerFactoryHolder.getEntityManager(EntityManagerFactoryHolder.java:128) at com.wideplay.warp.jpa.EntityManagerProvider.get(EntityManagerProvider.java:42) at com.wideplay.warp.jpa.EntityManagerProvider.get(EntityManagerProvider.java:33) at com.google.inject.BoundProviderFactory.get(BoundProviderFactory.java:60) at com.google.inject.InjectorImpl$SingleParameterInjector.inject(InjectorImpl.java:640) ... 38 more
No Bugmate found.