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.885 sec
------------- Standard Error -----------------
25-Sep-2017 15:14:10.770 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [bug54241a]
25-Sep-2017 15:14:10.941 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
25-Sep-2017 15:14:10.942 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
25-Sep-2017 15:14:10.944 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
25-Sep-2017 15:14:11.177 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
25-Sep-2017 15:14:11.189 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
25-Sep-2017 15:14:11.189 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
25-Sep-2017 15:14:11.332 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found
25-Sep-2017 15:14:12.042 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.
25-Sep-2017 15:14:12.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-48023"]
25-Sep-2017 15:14:12.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-48023"]
25-Sep-2017 15:14:12.805 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
25-Sep-2017 15:14:12.824 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-48023"]
25-Sep-2017 15:14:12.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-48023"]
25-Sep-2017 15:14:12.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [bug54241b]
25-Sep-2017 15:14:12.894 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
25-Sep-2017 15:14:12.894 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
25-Sep-2017 15:14:12.895 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
25-Sep-2017 15:14:12.895 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
25-Sep-2017 15:14:12.898 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
25-Sep-2017 15:14:12.898 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
25-Sep-2017 15:14:12.913 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found
25-Sep-2017 15:14:13.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-42973"]
25-Sep-2017 15:14:13.434 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)

25-Sep-2017 15:14:13.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-42973"]
25-Sep-2017 15:14:13.494 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
25-Sep-2017 15:14:13.498 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-42973"]
25-Sep-2017 15:14:13.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-42973"]
------------- ---------------- ---------------

Testcase: bug54241a took 2.201 sec
Testcase: bug54241b took 0.668 sec

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

Last Updated: Mon, 25 Sep 2017 12:00:06 ().Python Logo