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

java.lang.NullPointerException: 	at be.kapture.util.HibernateUtil.getSession(HibernateUtil.java:55)	at be.kapture.dao.AbstractDAO.getCurrentSession(AbstractDAO.java:16)	at be.kapture.dao.SurveyDAO.findByPersonId(SurveyDAO.java:24)	at be.kapture.web.ConsultantSkillsUI.createSurveysComboBox(ConsultantSkillsUI.java:92)	at be.kapture.web.ConsultantSkillsUI.access$100(ConsultantSkillsUI.java:27)	at be.kapture.web.ConsultantSkillsUI$ConsultantSelectedListener.valueChange(ConsultantSkillsUI.java:82)	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:498)	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)	at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008)	at com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:1159)	at com.vaadin.ui.AbstractField.setValue(AbstractField.java:570)	at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:732)	at com.vaadin.ui.AbstractField.setValue(AbstractField.java:468)	at com.vaadin.ui.ComboBox.changeVariables(ComboBox.java:730)	at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:603)	at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:422)	at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)	at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:79)	at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)	at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)	at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)