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 Hibernate JIRA by Jair da Silva Ferreira Jr, 1 year ago
This exception has no message.
via Hibernate JIRA by Jair da Silva Ferreira Jr, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at my.package.Category.hashCode(Category.java:57)	at java.util.HashMap.hash(HashMap.java:261)	at java.util.HashMap.put(HashMap.java:379)	at java.util.HashSet.add(HashSet.java:192)	at net.sf.hibernate.collection.Set.initializeFromCache(Set.java:92)	at net.sf.hibernate.impl.SessionImpl.initializeCollectionFromCache(SessionImpl.java:3963)	at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3262)	at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:336)	at net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3123)	at net.sf.hibernate.impl.SessionImpl.assembleCacheEntry(SessionImpl.java:2139)	at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2112)	at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1991)	at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1953)	at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:69)	at net.sf.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:108)	at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:56)	at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:48)	at net.sf.hibernate.impl.SessionImpl.assembleCacheEntry(SessionImpl.java:2134)	at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2112)	at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1991)	at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1920)	at org.apache.jsp.test_jsp._jspService(test_jsp.java:62)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)	at com.fabrica.hibernate.web.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:26)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)	at my.package.web.LoggedUserFilter.doFilter(LoggedUserFilter.java:41)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)	at java.lang.Thread.run(Thread.java:534)