Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.jasper.runtime.TestJspWriterImpl
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.832 sec
------------- Standard Error -----------------
17-Jan-2018 15:48:01.903 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [bug54241a]
17-Jan-2018 15:48:02.118 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.17 using APR version 1.6.4.
17-Jan-2018 15:48:02.119 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
17-Jan-2018 15:48:02.122 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2o-dev  xx XXX xxxx)
17-Jan-2018 15:48:02.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
17-Jan-2018 15:48:02.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
17-Jan-2018 15:48:02.383 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.49-dev
17-Jan-2018 15:48:02.542 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found
17-Jan-2018 15:48:02.925 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
17-Jan-2018 15:48:03.790 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-57002"]
17-Jan-2018 15:48:03.992 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-57002"]
17-Jan-2018 15:48:04.043 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
17-Jan-2018 15:48:04.058 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-57002"]
17-Jan-2018 15:48:04.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-57002"]
17-Jan-2018 15:48:04.120 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [bug54241b]
17-Jan-2018 15:48:04.121 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.17 using APR version 1.6.4.
17-Jan-2018 15:48:04.121 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
17-Jan-2018 15:48:04.122 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2o-dev  xx XXX xxxx)
17-Jan-2018 15:48:04.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
17-Jan-2018 15:48:04.123 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
17-Jan-2018 15:48:04.123 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.49-dev
17-Jan-2018 15:48:04.129 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found
17-Jan-2018 15:48:04.408 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-47141"]
17-Jan-2018 15:48:04.492 SEVERE [http-apr-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/test] threw exception [An exception occurred processing JSP page /bug5nnnn/bug54241b.jsp at line 32

29:     <!-- JspWriter.print(Object obj) is defined to print String.valueOf(obj)
30:          which is obj.toString() if obj is non-null. If obj.toString is null
31:          then this will trigger a NullPointerException -->
32:     <p>01: <%= bug54241 %></p>
33:   </body>
34: </html>


Stacktrace:] with root cause
 java.lang.NullPointerException
	at java.io.Writer.write(Writer.java:157)
	at org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:475)
	at org.apache.jsp.bug5nnnn.bug54241b_jsp._jspService(bug54241b_jsp.java:129)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2464)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

17-Jan-2018 15:48:04.499 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-47141"]
17-Jan-2018 15:48:04.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
17-Jan-2018 15:48:04.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-47141"]
17-Jan-2018 15:48:04.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-47141"]
------------- ---------------- ---------------

Testcase: bug54241a took 2.325 sec
Testcase: bug54241b took 0.488 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Wed, 17 Jan 2018 12:00:07 ().Python Logo