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 Stack Overflow by Charlotte Tan
, 1 year ago
No API environment is registered for this thread.
via Stack Overflow by Joshua Fox
, 1 year ago
via Google Groups by shivquery via StackOverflow, 3 months ago
via Google Groups by shiv.mymail via StackOverflow, 1 year ago
via Stack Overflow by Ramesh V
, 2 years ago
No API environment is registered for this thread.
java.lang.NullPointerException: No API environment is registered for this thread.	at com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java:80)	at com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppIdNamespace(DatastoreApiHelper.java:90)	at com.google.appengine.api.datastore.Query.(Query.java:214)	at com.google.appengine.api.datastore.Query.(Query.java:143)	at com.googlecode.objectify.impl.cmd.QueryImpl.(QueryImpl.java:72)	at com.googlecode.objectify.impl.cmd.LoadTypeImpl.createQuery(LoadTypeImpl.java:50)	at com.googlecode.objectify.impl.cmd.LoadTypeImpl.filter(LoadTypeImpl.java:58)	at myApp.MyServletContextListener$MyTask.run(MyServletContextListener.java:58)	at java.util.TimerThread.mainLoop(Timer.java:555)	at java.util.TimerThread.run(Timer.java:505)