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 viralpatel.net by Unknown author, 1 year ago
via Stack Overflow by Rainer Blessing
, 2 years ago
This exception has no message.
via Stack Overflow by meja
, 2 years ago
java.lang.NullPointerException: 	at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:135)	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1163)	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:296)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1319)	at net.viralpatel.contact.util.HibernateUtil.buildSessionFactory(HibernateUtil.java:14)	at net.viralpatel.contact.util.HibernateUtil.(HibernateUtil.java:8)	at net.viralpatel.contact.view.ContactAction.(ContactAction.java:22)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at java.lang.Class.newInstance0(Unknown Source)	at java.lang.Class.newInstance(Unknown Source)	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:119)	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150)	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:139)	at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:109)	at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:288)	at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:388)	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:187)	at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)	at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478)	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Unknown Source)