java.lang.NullPointerException

  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at be.kapture.util.HibernateUtil.getSession()
    2. be.kapture.util
      HibernateUtil.getSession
      1. be.kapture.util.HibernateUtil.getSession(HibernateUtil.java:55)
      1 frame
    3. be.kapture.dao
      SurveyDAO.findByPersonId
      1. be.kapture.dao.AbstractDAO.getCurrentSession(AbstractDAO.java:16)
      2. be.kapture.dao.SurveyDAO.findByPersonId(SurveyDAO.java:24)
      2 frames
    4. be.kapture.web
      ConsultantSkillsUI$ConsultantSelectedListener.valueChange
      1. be.kapture.web.ConsultantSkillsUI.createSurveysComboBox(ConsultantSkillsUI.java:92)
      2. be.kapture.web.ConsultantSkillsUI.access$100(ConsultantSkillsUI.java:27)
      3. be.kapture.web.ConsultantSkillsUI$ConsultantSelectedListener.valueChange(ConsultantSkillsUI.java:82)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. Vaadin
      EventRouter.fireEvent
      1. com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
      2. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
      3. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
      3 frames
    7. com.vaadin.server
      AbstractClientConnector.fireEvent
      1. com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008)
      1 frame
    8. Vaadin
      ComboBox.changeVariables
      1. com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:1159)
      2. com.vaadin.ui.AbstractField.setValue(AbstractField.java:570)
      3. com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:732)
      4. com.vaadin.ui.AbstractField.setValue(AbstractField.java:468)
      5. com.vaadin.ui.ComboBox.changeVariables(ComboBox.java:730)
      5 frames
    9. com.vaadin.server
      VaadinServlet.service
      1. com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:603)
      2. com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:422)
      3. com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
      4. com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:79)
      5. com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
      6. com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)
      7. com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364)
      7 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    12. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
      10 frames
    14. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)
      4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
      4 frames
    15. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    16. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame