Page tree
Skip to end of metadata
Go to start of metadata

Question

Why did I get the following error when running a report: "java.lang.SecurityException: Invalid managerPath specified"?

Solution

A report requires certain information collected on the criteria page in order to run. This error occurs when a report is run without the required data from the previous page being available.

This can happen in the following scenarios:

  • Bookmarking a report output page – the required data has not been gathered when you try to move directly to that location, so the exception is encountered as a result.
  • Using the browser’s back button to go "back" to the report output page – the criteria page data is no longer in memory, and the exception results. Note that if you click our "Back to Criteria" link on the report output page, the required data is preserved.
  • Doing a Ctrl+click on a "Run Report" link may also cause the exception.

 

See below for an example of the exception:

 


There was a Security Exception while processing /unanet/action/reports/project/periodic/forecast/report.

Invalid managerPath specified: "null"

Exception caught in com.unanet.page.reports.periodic.ProjectForecastReport.

java.lang.SecurityException: Invalid managerPath specified: "null"

                at com.unanet.page.reports.ReportPage.getCriteriaValues(ReportPage.java:284)

               at com.unanet.page.reports.ReportPage.getTitle(ReportPage.java:58)

                at com.unanet.page.MenuPage.doHeader(MenuPage.java:60)

                at com.unanet.page.Page.service(Page.java:201)

                at com.unanet.page.Action.service(Action.java:301)

                at com.unanet.servlet.ActionServlet.doService(ActionServlet.java:139)

                at com.unanet.servlet.ActionServlet.doPost(ActionServlet.java:25)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.unanet.servlet.GzipFilter.doFilter(GzipFilter.java:81)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.unanet.servlet.AccessLogFilter.doFilter(AccessLogFilter.java:42)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)