我正在尝试使用jasper服务器从oracle 11g下载报告。该URL是从APEX调用的。对于小文件,它正常工作
但是当报告变为15MB或者导出的文件显示错误时。这不是顶点时间。输出文件格式是excel,它正在导出但没有数据。我使用了虚拟化并改变了配置文件中提到的内存大小..没有帮助..
显示错误如下
java.lang.NullPointerException at com.jaspersoft.jasperserver.war.action.ReportParametersAction.getInputControlWrappers(ReportParametersAction.java:297) 在 com.jaspersoft.jasperserver.war.action.ReportParametersAction.hasInputs(ReportParametersAction.java:302) 在 com.jaspersoft.jasperserver.war.action.ViewReportAction.saveInputsState(ViewReportAction.java:396) 在 com.jaspersoft.jasperserver.war.action.ViewReportAction.runReport(ViewReportAction.java:332) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 在java.lang.reflect.Method.invoke(Method.java:597)at org.springframework.webflow.action.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:98) 在 org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:123) 在 org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) 在 org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) 在 org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) 在 org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:79) 在 org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) 在 org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) 在 org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) 在 org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101) 在org.springframework.webflow.engine.State.enter(State.java:194)at org.springframework.webflow.engine.Transition.execute(Transition.java:227) 在 org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51) 在org.springframework.webflow.engine.State.enter(State.java:194)at org.springframework.webflow.engine.Transition.execute(Transition.java:227) 在 org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:391) 在 org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) 在 org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119) 在org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555) 在 org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:386) 在 org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) 在 org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) 在org.springframework.webflow.engine.State.enter(State.java:194)at org.springframework.webflow.engine.Flow.start(Flow.java:535)at at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:364) 在 org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:222) 在 org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140) at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 在java.lang.reflect.Method.invoke(Method.java:597)at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 在 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 在 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 在 org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66) 在 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 在 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 在$ Proxy19.launchExecution(未知来源)at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193) 在 org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174) 在 org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) 在 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) 在 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) 在 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) 在 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) 在javax.servlet.http.HttpServlet.service(HttpServlet.java:617)at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:399) 在 com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) 在 org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:81) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:83) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) 在 org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) 在 org.springframework.security.util.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:411) 在 org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) 在 org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) 在 org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) 在 org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) 在 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 在 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 在 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 在 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558) 在 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 在 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 在 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 在 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 在 org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) 在 org.apache.coyote.http11.Http11AprProtocol $ Http11ConnectionHandler.process(Http11AprProtocol.java:579) 在 org.apache.tomcat.util.net.AprEndpoint $ Worker.run(AprEndpoint.java:1555) 在java.lang.Thread.run(Thread.java:619)