ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

App-system log error with path [/niku] threw exception


Article ID: 106036


Updated On:


Clarity PPM On Premise


Problem Statement: App-system log fills with below errors or even app services might not start
app-system log:2021/06/26 12:46:52.608 | SEVERE: Servlet.service() for servlet [default] in context with path [/niku] threw exception
2021/06/26 12:46:52.624 | java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
2021/06/26 12:46:52.624 |  at org.apache.catalina.connector.ResponseFacade.sendError(
2021/06/26 12:46:52.639 |  at javax.servlet.http.HttpServletResponseWrapper.sendError(
2021/06/26 12:46:52.655 |  at com.niku.union.web.filter.XSSFilter.doFilter(


The probable causes are file level customization, could be keeping custom jar files under lib directory or keeping custom code under web root folder 


Release: All Supported release


It is recommended to keep any custom jar files under a separate folder lets say custom lib and its never recommended to make changes under webroot folder as its protected now.