title: How to download report through URL to database
body: <p>I have report, which when I run through web browser, using URL displays correctly.</p>
  
  <p><a href="http://my.server:8081/jasperserver/flow.html?_flowId=viewReportFlow&amp;reportUnit=%2Freports%2FTestRep_TK&amp;standAlone=true&amp;ParentFolderUri=/reports&amp;repLocale=cs_CZ&amp;j_acegi_security_check&amp;j_username=jasperadmin&amp;j_password=jasperadmin&amp;output=pdf&amp;destination=download" rel="nofollow">http://my.server:8081/jasperserver/flow.html?_flowId=viewReportFlow&amp;reportUnit=%2Freports%2FTestRep_TK&amp;standAlone=true&amp;ParentFolderUri=/reports&amp;repLocale=cs_CZ&amp;j_acegi_security_check&amp;j_username=jasperadmin&amp;j_password=jasperadmin&amp;output=pdf&amp;destination=download</a></p>
  
  <p>I'm trying to download this report into Oracle database using following finction:</p>
  
  <p>PROCEDURE load_binary_from_url2(p_url IN VARCHAR2) AS
        l_blob BLOB;
     BEGIN
        -- <a href="http://oracle-base.com/articles/misc/retrieving-html-and-binaries-into-tables-over-http.php" rel="nofollow">http://oracle-base.com/articles/misc/retrieving-html-and-binaries-into-tables-over-http.php</a>
        l_blob := HTTPURITYPE.createuri(p_url).getblob();</p>
  
  <pre><code>  -- Insert the data into the table.
    INSERT INTO dokumentacia
       (object_id,
        TIMESTAMP,
        doc_name,
        doc_blob)
    VALUES
       (next_object_id,
        SYSDATE,
        'Test rep.pdf',
        l_blob);
   END load_binary_from_url2;
  </code></pre>
  
  <p>This procedure works fine, when I have any URL to pdf file stored online.</p>
  
  <p>Problem is when I try to call any jasper report stored at JSS. Then it return an HTML page code with an error, instead of pdf file as expected.</p>
  
  <pre><code>&lt;pre&gt;       
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;      
  &lt;html&gt;    
    &lt;head&gt;        
      &lt;title&gt;TIBCO Jaspersoft: JasperReports Server Error Page
      &lt;/title&gt;        
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;        
      &lt;!--
              &lt;meta http-equiv="X-UA-Compatible" content="IE=8"/&gt;
              --&gt;        
      &lt;link rel="shortcut icon" href='/jasperserver/_themes/A2F41A5B/images/favicon.ico' /&gt;        
      &lt;!--
                  &lt;link rel="shortcut icon" href="favicon.ico" /&gt;
              --&gt;         
      &lt;meta name = "viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width"&gt;
  
  &lt;script type="text/javascript"&gt;
      var JRS = {};
      var __jrsConfigs__ = {
          i18n: {},
          localContext: {},
          isIPad: "",
          contextPath: "/jasperserver",
          publicFolderUri: "/public",
          tempFolderUri: "/temp",
          organizationId: "",
          commonReportGeneratorsMetadata: [],
          templatesFolderUri: '',
          defaultTemplateUri: '',
          advNotSelected: "ADH_162_NULL_SAVE_REPORT_SOURCE",
          templateNotSelected: "ADH_162_NULL_SELECT_TEMPLATE_SOURCE",
          calendar: {
              userLocale: "cs_CZ",
              timepicker: {
                  timeText: 'Time:',
                  hourText: 'Hour',
                  minuteText: 'Minute',
                  secondText: 'Second',
                  currentText: 'Now',
                  closeText: 'Close',
                  timeFormat: 'HH:mm:ss',
                  dateFormat: 'yy-mm-dd',
                  separator:' '
              },
              i18n: {
                  bundledCalendarTimeFormat: 'HH:mm:ss',
                  bundledCalendarFormat: 'yy-mm-dd'
              }
          },
          webHelpModuleState: {
              contextMap: {"default":"100","bi_overview":"100","login":"150","legacy_dashboard":"200","ad_hoc":"300","domain":"500","search":"600","analysis":"700","admin":"800","repo":"900","dashboard":"1000"},
              hostURL: 'http://help.jaspersoft.com/js-help-v6-en/',
              pagePrefix: 'Default_CSH.htm#'
          },
          urlContext: "/jasperserver",
          defaultSearchText: "",
          serverIsNotResponding: "The server is slow or isn't responding. Confirm that you want to continue."
      };
      // dirty hack to get path to current theme
      __jrsConfigs__.currentThemePath = "_themes/A2F41A5B/theme.css".split("/").slice(0, -1).join("/");
      __jrsConfigs__.isProVersion = "false" === "true" ? true : false;
      __jrsConfigs__.userLocale = "cs_CZ";
      __jrsConfigs__.isFreeOrLimitedEdition = false;
      //TODO: get it from the server
      __jrsConfigs__.avaliableLocales = ["de", "en", "es", "fr", "it", "ja", "ro", "zh_TW", "zh_CN"];
      __jrsConfigs__.localeSettings = {
          locale: "cs_CZ",
          decimalSeparator: "" || ".",
          groupingSeparator: "" || ",",
          timeFormat: "HH:mm:ss",
          dateFormat: "yy-mm-dd",
          timestampSeparator: " "
      };
      //Heartbeat
      __jrsConfigs__.heartbeatInitOptions = {
          baseUrl: "/jasperserver",
          showDialog: false,
          sendClientInfo: false
      };
  
  
              __jrsConfigs__.initAdditionalUIComponents = true;
  
  
  
      __jrsConfigs__.flowExecutionKey = "e3s1";
      if (window.localStorage &amp;&amp; window.localStorage.previousPageHash){
          window.location.hash = window.localStorage.previousPageHash;
          delete window.localStorage.previousPageHash;
      }
  &lt;/script&gt;         
  &lt;script type="text/javascript" src="/jasperserver/optimized-scripts/bower_components/requirejs/require.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/jasperserver/optimized-scripts/require.config.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      require.config({
          baseUrl: "/jasperserver/optimized-scripts"
      });
  &lt;/script&gt;
  &lt;script type="text/javascript" src="/jasperserver/optimized-scripts/bower_components/jquery/dist/jquery.js"&gt;&lt;/script&gt;          
  &lt;script type="text/javascript" src="/jasperserver/scripts/bower_components/prototype/dist/prototype.js"&gt;&lt;/script&gt;          
  &lt;script type="text/javascript"&gt;
          define("prototype", $);
      &lt;/script&gt;                                                              
  &lt;script type="text/javascript"&gt;
              require(["errorPage"]);
          &lt;/script&gt;     
    &lt;/head&gt;             
    &lt;body id="serverError" class=""&gt;    
      &lt;div id="banner" class="banner" style=""&gt;        
        &lt;div id="systemMessageConsole" style="display:none"&gt;            
          &lt;p id="systemMessage"&gt;Close
          &lt;/p&gt;        
        &lt;/div&gt;        
        &lt;div id="logo" class="sectionLeft"&gt;
        &lt;/div&gt;        
        &lt;div class="sectionLeft"&gt;                            
          &lt;div id="mainNavigation" class="menu horizontal primaryNav"&gt;                   
            &lt;ul id="navigationOptions" data-tab-index="2" data-component-type="navigation"&gt;                       
              &lt;li id="main_home" tabIndex="-1" class="leaf"&gt;
                &lt;p class="wrap button"&gt;
                  &lt;span class="icon"&gt;
                  &lt;/span&gt;Home
                &lt;/p&gt;
              &lt;/li&gt;                                                   
              &lt;li id="main_library" tabIndex="-1" class="leaf"&gt;
                &lt;p class="wrap button"&gt;
                  &lt;span class="icon"&gt;
                  &lt;/span&gt;Library
                &lt;/p&gt;
              &lt;/li&gt;                                           
            &lt;/ul&gt;               
          &lt;/div&gt;                      
        &lt;/div&gt;        
        &lt;div class="sectionRight searchContainer"&gt;            
          &lt;!-- banner search --&gt;             
          &lt;span id="globalSearch" class="control searchLockup " data-tab-index='1' data-component-type='search'&gt;    
            &lt;label for="searchInput" class="offLeft"&gt;Search
            &lt;/label&gt;    
            &lt;div class="wrap"&gt;
              &lt;input type="text" class="" id="searchInput" tabIndex="-1"/&gt;
            &lt;/div&gt;    
            &lt;b class="right"&gt;
              &lt;a class="button searchClear"&gt;&lt;/a&gt;&lt;/b&gt;    
            &lt;a class="button search up"&gt;&lt;/a&gt;
          &lt;/span&gt;       
        &lt;/div&gt;        
        &lt;ul id="metaLinks" class="sectionRight"&gt;            
          &lt;li id="userID"&gt;                                         
            &lt;span id="casted"&gt;                                                     
            &lt;/span&gt;                    jasperadmin&amp;#32;User                              
          &lt;/li&gt;                                      
          &lt;li id="main_logOut" class="last"&gt;
            &lt;a id="main_logOut_link"&gt;Log Out&lt;/a&gt;
          &lt;/li&gt;        
        &lt;/ul&gt;    
      &lt;/div&gt;    
      &lt;div id="frame" style=""&gt;        
        &lt;div class="content"&gt;            
          &lt;!--/WEB-INF/jsp/templates/page.jsp revision A--&gt;
          &lt;div id="display" class="body oneColumn flow"&gt;    
            &lt;a name="maincontent" id="maincontent"&gt;&lt;/a&gt;              
            &lt;!--/WEB-INF/jsp/templates/container.jsp revision A--&gt;
            &lt;div  class="column decorated primary" &gt;               
              &lt;div  class="content " &gt;             
                &lt;div  class="header " &gt;            
                  &lt;div class="title"&gt;                Server Error             
                  &lt;/div&gt;                                 
                &lt;/div&gt;                 
                &lt;div id="errorPageContent" class="body  " &gt;                                               
                  &lt;div id="stepDisplay"&gt;                                             
                    &lt;input type="hidden" name="_flowExecutionKey" value="e3s1"/&gt;                                                                                       
                    &lt;input type="hidden" name="_flowId" value=""/&gt;                                            
                    &lt;!-- BUG 10599 --&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                      
                    &lt;fieldset class="row instructions"&gt;                                
                      &lt;h3 id="clarification"&gt;The server has encountered an error. Please excuse the inconvenience.&lt;/h3&gt;                            
                    &lt;/fieldset&gt;                            
                    &lt;fieldset class="row inputs oneColumn"&gt;                                 
                      &lt;!--/WEB-INF/jsp/templates/container.jsp revision A--&gt;
                      &lt;div  class="column noHeader primary" &gt;                            
                        &lt;div  class="content " &gt;             
                          &lt;div  class="header " &gt;            
                            &lt;div class="title"&gt;                             
                            &lt;/div&gt;                                  
                          &lt;/div&gt;                 
                          &lt;div  class="body  " &gt;                                                                                                                                                                
                            &lt;div id="errorMessages"&gt;                                                    &lt;h3&gt;Error Message&lt;/h3&gt;                                                    
                              &lt;p class="large"&gt;java.lang.NullPointerException
                              &lt;/p&gt;                                                
                            &lt;/div&gt;                                                                                                                                                                                         
                            &lt;div id="completeStackTrace" style="padding-bottom:350px;"&gt;                                                        &lt;h3&gt;Error Trace&lt;/h3&gt;                                                        
                              &lt;p style="white-space:normal;"&gt;java.lang.NullPointerException     at com.jaspersoft.jasperserver.war.util.DefaultHttpUtils.encodeContentFilename(DefaultHttpUtils.java:70)     at com.jaspersoft.jasperserver.war.action.AbstractReportExporter.getFilename(AbstractReportExporter.java:291)     at com.jaspersoft.jasperserver.war.action.ReportPdfExporter.setAdditionalResponseHeaders(ReportPdfExporter.java:63)     at com.jaspersoft.jasperserver.war.action.AbstractReportExporter.exportBuffered(AbstractReportExporter.java:191)     at com.jaspersoft.jasperserver.war.action.AbstractReportExporter.export(AbstractReportExporter.java:99)     at com.jaspersoft.jasperserver.war.action.ReportExporterAction.export(ReportExporterAction.java:158)     at sun.reflect.GeneratedMethodAccessor629.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:606)     at org.springframework.webflow.action.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:98)     at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:123)     at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)     at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)     at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)     at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)     at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)     at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)     at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)     at org.springframework.webflow.engine.ActionList.execute(ActionList.java:155)     at org.springframework.webflow.engine.State.enter(State.java:193)     at org.springframework.webflow.engine.Transition.execute(Transition.java:227)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)     at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)     at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)     at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)     at org.springframework.webflow.engine.State.enter(State.java:194)     at org.springframework.webflow.engine.Transition.execute(Transition.java:227)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)     at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)     at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)     at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)     at org.springframework.webflow.engine.State.enter(State.java:194)     at org.springframework.webflow.engine.Transition.execute(Transition.java:227)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)     at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)     at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)     at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)     at org.springframework.webflow.engine.State.enter(State.java:194)     at org.springframework.webflow.engine.Transition.execute(Transition.java:227)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)     at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)     at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)     at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)     at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)     at org.springframework.webflow.engine.State.enter(State.java:194)     at org.springframework.webflow.engine.Flow.start(Flow.java:535)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366)     at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:225)     at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)     at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:606)     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)     at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)     at com.sun.proxy.$Proxy118.launchExecution(Unknown Source)     at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)     at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)     at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)     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.jaspersoft.jasperserver.war.StaticFilesCacheControlFilter.doFilter(StaticFilesCacheControlFilter.java:163)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)     at com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.common.JSSwitchUserProcessingFilter.doFilter(JSSwitchUserProcessingFilter.java:157)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:143)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:99)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:210)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:43)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:210)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:80)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:95)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:43)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:150)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)     at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)     at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at com.jaspersoft.jasperserver.war.util.SessionDecoratorFilter.doFilter(SessionDecoratorFilter.java:63)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43)     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:611)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)     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:1023)     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)     at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)     at java.lang.Thread.run(Thread.java:724)
                              &lt;/p&gt;                                                    
  &lt;/pre&gt;                  
  </code></pre>
  
  <p>Any suggestion, what could be wrong?</p>