java.lang.IllegalStateException: All Headers have been set, cannot add headers now !

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
All Headers have been set, cannot add headers now !
java.lang.IllegalStateException: All Headers have been set, cannot add headers now !
at com.netscape.server.servlet.platformhttp.PlatformNASSession.constructorPNS(UnknownSource)
at com.netscape.server.servlet.platformhttp.PlatformNASSession.(UnknownSource)
at com.netscape.server.servlet.platformhttp.PlatformHttpServletRequest.getSession(UnknownSource)
at com.netscape.server.servlet.platformhttp.PlatformHttpServletRequest.getSession(UnknownSource)
at com.putnaminv.common.util.Performance.traceEvent(Performance.java:66)
at com.putnaminv.common.util.Performance.traceEventFinish(Performance.java:39)
at com.putnaminv.ta.sira.siraServlet.onAfterRequest(siraServlet.java:293)
at com.putnaminv.common.jato.ApplicationServletBase.fireAfterRequestEvent(ApplicationServletBase.java:876)
at com.putnaminv.common.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:494)
at com.putnaminv.common.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:312)
at com.putnaminv.common.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:282)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(UnknownSource)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(UnknownSource)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.