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

Samebug tips

  1. ,

    Try this-

    SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ssaa");

Solutions on the web

via JIRA by Yannick Marcon, 1 year ago
via JIRA by Yannick Marcon, 2 years ago
java.text.ParseException: Unparseable date: "1437054790000"	at java.text.DateFormat.parse(DateFormat.java:366)	at com.google.gson.DefaultDateTypeAdapter.deserializeToDate(DefaultDateTypeAdapter.java:105)	at com.google.gson.DefaultDateTypeAdapter.deserialize(DefaultDateTypeAdapter.java:82)	at com.google.gson.DefaultDateTypeAdapter.deserialize(DefaultDateTypeAdapter.java:35)	at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)	at com.google.gson.Gson.fromJson(Gson.java:810)	at com.google.gson.Gson.fromJson(Gson.java:775)	at com.google.gson.Gson.fromJson(Gson.java:724)	at com.google.gson.Gson.fromJson(Gson.java:696)	at org.obiba.opal.core.service.OrientDbServiceImpl.fromDocument(OrientDbServiceImpl.java:198)	at org.obiba.opal.core.service.OrientDbServiceImpl.findUnique(OrientDbServiceImpl.java:160)	at org.obiba.opal.core.service.SubjectProfileServiceImpl.getProfile(SubjectProfileServiceImpl.java:109)	at org.obiba.opal.core.service.SubjectProfileServiceImpl.updateProfile(SubjectProfileServiceImpl.java:118)	at org.obiba.opal.core.service.security.authc.SubjectProfileAuthenticationListener.onLogout(SubjectProfileAuthenticationListener.java:58)	at org.apache.shiro.authc.AbstractAuthenticator.notifyLogout(AbstractAuthenticator.java:153)	at org.apache.shiro.authc.AbstractAuthenticator.onLogout(AbstractAuthenticator.java:165)	at org.apache.shiro.authc.pam.ModularRealmAuthenticator.onLogout(ModularRealmAuthenticator.java:285)	at org.apache.shiro.mgt.DefaultSecurityManager.logout(DefaultSecurityManager.java:554)	at org.apache.shiro.subject.support.DelegatingSubject.logout(DelegatingSubject.java:363)	at org.obiba.opal.web.security.AuthenticationResource.deleteCurrentSession(AuthenticationResource.java:94)	at org.obiba.opal.web.security.AuthenticationResource.deleteSession(AuthenticationResource.java:86)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:377)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:200)	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:256)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)	at org.obiba.shiro.web.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:112)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)	at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1088)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at org.eclipse.jetty.server.Server.handle(Server.java:370)	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)	at java.lang.Thread.run(Thread.java:745)