按照老师写的空指针异常?
五月 02, 2016 3:59:11 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_73\bin;C:\software\MyEclipse 2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201503191638\tomcat70\bin
五月 02, 2016 3:59:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
五月 02, 2016 3:59:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
五月 02, 2016 3:59:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 698 ms
五月 02, 2016 3:59:12 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 02, 2016 3:59:12 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.56
五月 02, 2016 3:59:12 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\bootsrop
五月 02, 2016 3:59:13 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [110] milliseconds.
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\bootsrop has finished in 719 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\cookieDome1
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\cookieDome1 has finished in 203 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\cookieDome2
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\cookieDome2 has finished in 188 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\docs
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\docs has finished in 34 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\examples
五月 02, 2016 3:59:13 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
五月 02, 2016 3:59:13 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
五月 02, 2016 3:59:13 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@412fd0e0')
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\examples has finished in 281 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\host-manager
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\host-manager has finished in 62 ms
五月 02, 2016 3:59:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\htmluilt
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\htmluilt has finished in 110 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\javabeansdemo
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\javabeansdemo has finished in 140 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\JspLoginDemoByModel1
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\JspLoginDemoByModel1 has finished in 125 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\jspViewListDeam
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\jspViewListDeam has finished in 188 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\manager
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\manager has finished in 47 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myFirstWebApp
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myFirstWebApp has finished in 127 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myJspViewListDeam
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myJspViewListDeam has finished in 172 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myServletDemoByMyeclipse
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myServletDemoByMyeclipse has finished in 109 ms
五月 02, 2016 3:59:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myServletforminfoDemo
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\myServletforminfoDemo has finished in 141 ms
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\ROOT
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\ROOT has finished in 46 ms
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\servletDemoByMyeclipse
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\servletDemoByMyeclipse has finished in 250 ms
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\ServletGetFormInfoDemo
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\myeclipse\.metadata\.me_tcat7\webapps\ServletGetFormInfoDemo has finished in 157 ms
五月 02, 2016 3:59:15 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
五月 02, 2016 3:59:15 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
五月 02, 2016 3:59:15 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3191 ms
java.lang.NullPointerException
at servlet.RegServlet.doPost(RegServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
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)