On May 10, 2020 com 11:29:29 morning. Alibaba. Druid. Pool. DruidDataSource info
Information: {} dataSource - 1 inited
Java. Lang. NullPointerException
The at cn. Tedu. LoginServlet. DoPost (LoginServlet. Java: 28)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 647)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 303)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 208)
At org, apache tomcat, websocket server WsFilter. DoFilter (WsFilter. Java: 52)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 241)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 208)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 219)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 110)
The at org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 444)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 169)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 104)
The at org. Apache. Catalina. Valves. AccessLogValve. Invoke (AccessLogValve. Java: 1025)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 116)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (445) CoyoteAdapter. Java:
The at org. Apache. Coyote. Http11. AbstractHttp11Processor. Process (AbstractHttp11Processor. Java: 1137)
The at org. Apache. Coyote. AbstractProtocol $AbstractConnectionHandler. Process (AbstractProtocol. Java: 637)
At org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run JIoEndpoint. Java: (319)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
At org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
The at Java. Lang. Thread. The run (Thread. Java: 748)
Code:
CodePudding user response:
Determine the conn to get the right? See DBUtils. GetConn () is not normal