0

オブジェクトを保存しようとすると、次のエラーが発生しEmployeeます。親切に助けてください。

[標準出力] (http-localhost-127.0.0.1-8082-1​​)

20:26:06,296 INFO [stdout] (http-localhost-127.0.0.1-8082-1​​) com.javapapers.spring.Employee@1ee17a5

20:26:06,315 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) java.lang.NullPointerException

20:26:06,317 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) com.javapapers.spring.EmployeeDAOImpl.saveEmployee(EmployeeDAOImpl.java:17) で

20:26:06,319 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) com.javapapers.spring.EmployeeController.employee (EmployeeController.java:41)

20:26:06,321 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) (sun.reflect.NativeMethodAccessorImpl.invoke0 (ネイティブ メソッド))

20:26:06,323 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​)、sun.reflect.NativeMethodAccessorImpl.invoke (不明なソース) で

20:26:06,324 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​)、sun.reflect.DelegatingMethodAccessorImpl.invoke で (不明なソース)

20:26:06,325 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) java.lang.reflect.Method.invoke (不明なソース)

20:26:06,326 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:185) で

20:26:06,326 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) で

20:26:06,327 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) で

20:26:06,328 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:502) で

20:26:06,328 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:465) で

20:26:06,329 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) で

20:26:06,330 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:863) で

20:26:06,330 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792) で

20:26:06,331 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:851) で

20:26:06,332 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:756) で

20:26:06,333 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) で

20:26:06,333 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) で

20:26:06,334 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) で

20:26:06,334 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) で

20:26:06,335 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

20:26:06,335 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) で

20:26:06,336 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) で

20:26:06,337 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) で

20:26:06,337 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) で

20:26:06,338 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) で

20:26:06,338 エラー [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:368) で

20:26:06,339 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) で

20:26:06,339 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) で

20:26:06,340 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) で

20:26:06,341 ERROR [stderr] (http-localhost-127.0.0.1-8082-1​​) java.lang.Thread.run で (不明なソース)

4

0 に答える 0