Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Marcel Overdijk, 2 years ago
via Spring JIRA by Marcel Overdijk, 1 year ago
java.lang.IllegalStateException: DatastoreService has not been injected	at com.appspot.springaop.domain.Book.datastoreService(Book.java:53)	at com.appspot.springaop.domain.Book.findByTitle(Book.java:79)	at com.appspot.springaop.config.BootStrapConfig$BootStrap.findOrCreateBook(BootStrapConfig.java:35)	at com.appspot.springaop.config.BootStrapConfig$BootStrap.init(BootStrapConfig.java:30)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:43)	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449)	at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455)	at com.google.tracing.TraceContext.runInContext(TraceContext.java:695)	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333)	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325)	at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453)	at java.lang.Thread.run(Thread.java:679)