HTTP Status 500 – Internal Server Error


Type Exception Report

Message java.lang.NullPointerException

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.RuntimeException: java.lang.NullPointerException
	com.sw4i.commons.web.CommonFilter.reportException(CommonFilter.java:137)
	com.sw4i.commons.web.CommonFilter.doFilter(CommonFilter.java:65)

Root Cause

java.lang.NullPointerException
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:498)
	com.sw4i.app.utils.BeanUtils.copyProperties(BeanUtils.java:79)
	com.sw4i.stories.model.ext.StoryX.<init>(StoryX.java:88)
	com.sw4i.stories.beans.pub.StoryBean.init(StoryBean.java:48)
	com.sw4i.stories.beans.pub.StoryBean.<init>(StoryBean.java:39)
	org.apache.jsp.WEB_002dINF.templates.defaultsite.stories.Stories.view_jsp._jspService(view_jsp.java:189)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sw4i.app.PageServlet.processRequest(PageServlet.java:95)
	com.sw4i.app.PageServlet.doGet(PageServlet.java:109)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sw4i.commons.web.CommonFilter$1.execute(CommonFilter.java:60)
	com.sw4i.commons.web.LoginContext.withLoginContext(LoginContext.java:39)
	com.sw4i.commons.web.CommonFilter.doFilter(CommonFilter.java:57)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/8.5.65