java.lang.NullPointerException

Coderanch | Jeremy McNally | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.docm.dao.AddDoctorDAO.persist()
  2. com.docm.dao
    AddDoctorDAO.persist
    1. com.docm.dao.AddDoctorDAO.persist(AddDoctorDAO.java:19)
    1 frame
  3. com.docm.servlets
    AddDoctorServlet.doPost
    1. com.docm.servlets.AddDoctorServlet.doGet(AddDoctorServlet.java:38)
    2. com.docm.servlets.AddDoctorServlet.doPost(AddDoctorServlet.java:53)
    2 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    2 frames
  5. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    7. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    8 frames
  6. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    2 frames
  7. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    13 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)
    1 frame