java.io.FileNotFoundException: Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg]

Pentaho BI Platform Tracking | Mat Lowery | 6 years ago
  1. 0

    Repro: 1. Setup email. 2. Make bi-developers solution visible. 3. Run BI Developer Examples> Reporting > PRPT Samples > E-mail Income Statement. 4. Select PDF and enter a destination address that you can monitor. 5. When the email comes in, attempt to open the PDF. It is zero bytes. On some occasions, I can get the following stack trace: java.io.FileNotFoundException: Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg] at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:285) at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:420) at org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResourceAsStream(RepositoryResourceData.java:68) at org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData.getResource(AbstractResourceData.java:101) at org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader.loadBundle(ZipResourceBundleLoader.java:81) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.loadResourceBundle(DefaultResourceManagerBackend.java:389) at org.pentaho.reporting.libraries.docbundle.BundleResourceManagerBackend.loadResourceBundle(BundleResourceManagerBackend.java:185) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadResourceBundle(ResourceManager.java:262) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.isResourceUnchanged(DefaultResourceManagerBackend.java:354) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:393) at org.pentaho.reporting.engine.classic.core.filter.types.ContentType.filter(ContentType.java:246) at org.pentaho.reporting.engine.classic.core.filter.types.ContentType.getValue(ContentType.java:95) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:473) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:288) at org.pentaho.reporting.engine.classic.core.layout.SlottedLayoutBuilder.add(SlottedLayoutBuilder.java:142) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:834) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1133) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.updateHeaderArea(DefaultOutputFunction.java:646) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.pageStarted(DefaultOutputFunction.java:582) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.firePageStartedEvent(InitialLayoutProcess.java:319) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:175) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.firePageStartedEvent(ProcessState.java:989) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.reportInitialized(DefaultOutputFunction.java:121) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportInitializedEvent(InitialLayoutProcess.java:309) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:203) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1013) at org.pentaho.reporting.engine.classic.core.states.process.BeginReportHandler.advance(BeginReportHandler.java:55) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:824) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:747) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:532) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1416) at org.pentaho.reporting.platform.plugin.output.PDFOutput.generate(PDFOutput.java:45) at org.pentaho.reporting.platform.plugin.cache.DefaultReportCache$CachedReportOutputHandler.generate(DefaultReportCache.java:247) at org.pentaho.reporting.platform.plugin.SimpleReportingComponent.execute(SimpleReportingComponent.java:1058) remainder omitted background_car.jpg does not exist. Copying a JPG to the path above does not fix the problem. Choosing XLS works fine.

    Pentaho BI Platform Tracking | 6 years ago | Mat Lowery
    java.io.FileNotFoundException: Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg]
  2. 0

    Repro: 1. Setup email. 2. Make bi-developers solution visible. 3. Run BI Developer Examples> Reporting > PRPT Samples > E-mail Income Statement. 4. Select PDF and enter a destination address that you can monitor. 5. When the email comes in, attempt to open the PDF. It is zero bytes. On some occasions, I can get the following stack trace: java.io.FileNotFoundException: Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg] at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:285) at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:420) at org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResourceAsStream(RepositoryResourceData.java:68) at org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData.getResource(AbstractResourceData.java:101) at org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader.loadBundle(ZipResourceBundleLoader.java:81) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.loadResourceBundle(DefaultResourceManagerBackend.java:389) at org.pentaho.reporting.libraries.docbundle.BundleResourceManagerBackend.loadResourceBundle(BundleResourceManagerBackend.java:185) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadResourceBundle(ResourceManager.java:262) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.isResourceUnchanged(DefaultResourceManagerBackend.java:354) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:393) at org.pentaho.reporting.engine.classic.core.filter.types.ContentType.filter(ContentType.java:246) at org.pentaho.reporting.engine.classic.core.filter.types.ContentType.getValue(ContentType.java:95) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:473) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:288) at org.pentaho.reporting.engine.classic.core.layout.SlottedLayoutBuilder.add(SlottedLayoutBuilder.java:142) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:834) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1133) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.updateHeaderArea(DefaultOutputFunction.java:646) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.pageStarted(DefaultOutputFunction.java:582) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.firePageStartedEvent(InitialLayoutProcess.java:319) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:175) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.firePageStartedEvent(ProcessState.java:989) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.reportInitialized(DefaultOutputFunction.java:121) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportInitializedEvent(InitialLayoutProcess.java:309) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:203) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1013) at org.pentaho.reporting.engine.classic.core.states.process.BeginReportHandler.advance(BeginReportHandler.java:55) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:824) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:747) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:532) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1416) at org.pentaho.reporting.platform.plugin.output.PDFOutput.generate(PDFOutput.java:45) at org.pentaho.reporting.platform.plugin.cache.DefaultReportCache$CachedReportOutputHandler.generate(DefaultReportCache.java:247) at org.pentaho.reporting.platform.plugin.SimpleReportingComponent.execute(SimpleReportingComponent.java:1058) remainder omitted background_car.jpg does not exist. Copying a JPG to the path above does not fix the problem. Choosing XLS works fine.

    Pentaho BI Platform Tracking | 6 years ago | Mat Lowery
    java.io.FileNotFoundException: Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg]
  3. 0

    I upgraded my 3.6GA to 3.7 0 and verified that all has been upgraded correctly - when I switch to file based repos - I get this series of java stack traces - such as the below for every file when I click refresh of the repository I need assistance turning off these warnings - and for some reason - these errors are not being logged to a file. I am using tomcat 5 - I upgraded my instance of 3.6GA . . . . . 17:59:34,898 WARN [ReportFileMetaDataProvider] Unable to read metadata for prpt file. org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException: Resource not found: [/pentaho-solutions/original_bi-developers/reporting/unified-file-format/simpleReport at org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResourceAsStream(RepositoryResourceData.java:71) at org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData.getResource(AbstractResourceData.java:101) at org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader.loadBundle(ZipResourceBundleLoader.java:81) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.loadResourceBundle(DefaultResourceManagerBackend.java:389) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadResourceBundle(ResourceManager.java:262) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:405) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:370) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.loadMetaData(ReportFileMetaDataProvider.java:46) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.getFileInfo(ReportFileMetaDataProvider.java:55) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.getFileInfo(DefaultPluginManager.java:530) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pentaho.platform.web.http.context.a.invoke(SourceFile:170) at $Proxy8.getFileInfo(Unknown Source) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:380) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:226) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.getSolutionRepositoryDoc(SolutionRepositoryServiceImpl.java:563) at org.pentaho.platform.web.servlet.SolutionRepositoryService.dispatch(SolutionRepositoryService.java:152) at org.pentaho.platform.web.servlet.SolutionRepositoryService.doGet(SolutionRepositoryService.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.ProxyTrustingFilter.doFilter(ProxyTrustingFilter.java:212) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) ParentException: java.io.FileNotFoundException: Resource not found: [/pentaho-solutions/original_bi-developers/reporting/unified-file-format/simpleReport.prpt] at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:285) at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:420) at org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResourceAsStream(RepositoryResourceData.java:68) at org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData.getResource(AbstractResourceData.java:101) at org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader.loadBundle(ZipResourceBundleLoader.java:81) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.loadResourceBundle(DefaultResourceManagerBackend.java:389) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadResourceBundle(ResourceManager.java:262) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:405) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:370) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.loadMetaData(ReportFileMetaDataProvider.java:46) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.getFileInfo(ReportFileMetaDataProvider.java:55) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.getFileInfo(DefaultPluginManager.java:530) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pentaho.platform.web.http.context.a.invoke(SourceFile:170) at $Proxy8.getFileInfo(Unknown Source) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:380) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.processRepositoryFile(SolutionRepositoryServiceImpl.java:226) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl.getSolutionRepositoryDoc(SolutionRepositoryServiceImpl.java:563) at org.pentaho.platform.web.servlet.SolutionRepositoryService.dispatch(SolutionRepositoryService.java:152) at org.pentaho.platform.web.servlet.SolutionRepositoryService.doGet(SolutionRepositoryService.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:77) . . . . . .

    Pentaho BI Platform Tracking | 6 years ago | Michael Tarallo
    java.io.FileNotFoundException: Resource not found: [/pentaho-solutions/original_bi-developers/reporting/unified-file-format/simpleReport.prpt]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Among the various Tomcat errors you get when you start the BI Server are these about a file or Resources not found exceptions 1. /Top N Analysis.prpt -ResourceLoadingException: 2. Resource not found: [pentaho-solutions/bi-developers/reporting/unified-file-format/button-multi-parameter.prpt 3. 2011-02-03 17:03:56,640 WARN [org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider] Unable to read metadata for prpt file. org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException: Resource not found: [pentaho-solutions/bi-developers/reporting/unified-file-format/button-single-parameter.prpt and more....pentaho.log is attached Thomas writes: "I have no explanation for the "FileNotFoundExceptions" that appear in the log, the reporting engine does not use such exceptions. It is a "feature" of the platform's solution repository implementation. You may want to talk to Marc about these bogus errors." repro start pentaho.bat and watch the tomcat window ParentException: java.io.FileNotFoundException: Resource not found: [pentaho-solutions/steel-whee ls/reports/Top N Analysis.prpt] at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getRe sourceInputStream(SolutionRepositoryBase.java:285) at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getRe sourceInputStream(SolutionRepositoryBase.java:420) at org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResou rceAsStream(RepositoryResourceData.java:72) at org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourc eData.getResource(AbstractResourceData.java:101) at org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBun dleLoader.loadBundle(ZipResourceBundleLoader.java:81) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManager Backend.loadResourceBundle(DefaultResourceManagerBackend.java:389) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadRe sourceBundle(ResourceManager.java:262) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(R esourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create (ResourceManager.java:405) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create (ResourceManager.java:370) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.load MetaData(ReportFileMetaDataProvider.java:46) at org.pentaho.reporting.platform.plugin.ReportFileMetaDataProvider.getF ileInfo(ReportFileMetaDataProvider.java:55) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.g etFileInfo(DefaultPluginManager.java:530) at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pentaho.platform.web.http.context.a.invoke(SourceFile:170) at $Proxy8.getFileInfo(Unknown Source) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImp l.processRepositoryFile(SolutionRepositoryServiceImpl.java:380) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImp l.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImp l.processRepositoryFile(SolutionRepositoryServiceImpl.java:274) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImp l.processRepositoryFile(SolutionRepositoryServiceImpl.java:226) at org.pentaho.platform.repository.solution.SolutionRepositoryServiceImp l.getSolutionRepositoryDoc(SolutionRepositoryServiceImpl.java:563) at org.pentaho.platform.web.servlet.SolutionRepositoryService.dispatch(S olutionRepositoryService.java:152) at org.pentaho.platform.web.servlet.SolutionRepositoryService.doGet(Solu tionRepositoryService.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilte r(PentahoWebContextFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)

    Pentaho BI Platform Tracking | 6 years ago | Ruth Cook
    java.io.FileNotFoundException: Resource not found: [pentaho-solutions/steel-whee ls/reports/Top N Analysis.prpt]
  6. 0

    Repro: Set up your server with a file based repository. Attempt to schedule any type of content (prpt or analyzer reports specifically) - private and public schedules are broken. Here is one stack trace: 15:53:07,281 WARN [MantleServlet] Resource not found: [/pentaho-solutions/gretchen-sample/all-reports/stackedhoriz.prpt ] java.io.FileNotFoundException: Resource not found: [/pentaho-solutions/gretchen-sample/all-reports/stackedhoriz.prpt] at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase .java:285) at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase .java:420) at org.pentaho.mantle.server.MantleServlet.getSolutionFileInfo(MantleServlet.java:534) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:10 9) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java: 83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:85) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFi lter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenti cationFilter.java:169) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilt er.java:134) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextInteg rationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHold erAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.micros.servlet.DeleterFilter.doFilter(DeleterFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113 ) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java :665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)

    Pentaho BI Platform Tracking | 7 years ago | Gretchen Moran
    java.io.FileNotFoundException: Resource not found: [/pentaho-solutions/gretchen-sample/all-reports/stackedhoriz.prpt]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      Resource not found: [bi-developers/reporting/unified-file-format/background_car.jpg]

      at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream()
    2. org.pentaho.platform
      SolutionRepositoryBase.getResourceInputStream
      1. org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:285)
      2. org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:420)
      2 frames
    3. org.pentaho.reporting
      SimpleReportingComponent.execute
      1. org.pentaho.reporting.platform.plugin.RepositoryResourceData.getResourceAsStream(RepositoryResourceData.java:68)
      2. org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData.getResource(AbstractResourceData.java:101)
      3. org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader.loadBundle(ZipResourceBundleLoader.java:81)
      4. org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.loadResourceBundle(DefaultResourceManagerBackend.java:389)
      5. org.pentaho.reporting.libraries.docbundle.BundleResourceManagerBackend.loadResourceBundle(BundleResourceManagerBackend.java:185)
      6. org.pentaho.reporting.libraries.resourceloader.ResourceManager.loadResourceBundle(ResourceManager.java:262)
      7. org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284)
      8. org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.isResourceUnchanged(DefaultResourceManagerBackend.java:354)
      9. org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:393)
      10. org.pentaho.reporting.engine.classic.core.filter.types.ContentType.filter(ContentType.java:246)
      11. org.pentaho.reporting.engine.classic.core.filter.types.ContentType.getValue(ContentType.java:95)
      12. org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:473)
      13. org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:288)
      14. org.pentaho.reporting.engine.classic.core.layout.SlottedLayoutBuilder.add(SlottedLayoutBuilder.java:142)
      15. org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:834)
      16. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1133)
      17. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.updateHeaderArea(DefaultOutputFunction.java:646)
      18. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.pageStarted(DefaultOutputFunction.java:582)
      19. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.firePageStartedEvent(InitialLayoutProcess.java:319)
      20. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:175)
      21. org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257)
      22. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.firePageStartedEvent(ProcessState.java:989)
      23. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.reportInitialized(DefaultOutputFunction.java:121)
      24. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportInitializedEvent(InitialLayoutProcess.java:309)
      25. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:203)
      26. org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257)
      27. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1013)
      28. org.pentaho.reporting.engine.classic.core.states.process.BeginReportHandler.advance(BeginReportHandler.java:55)
      29. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:824)
      30. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:747)
      31. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:532)
      32. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1416)
      33. org.pentaho.reporting.platform.plugin.output.PDFOutput.generate(PDFOutput.java:45)
      34. org.pentaho.reporting.platform.plugin.cache.DefaultReportCache$CachedReportOutputHandler.generate(DefaultReportCache.java:247)
      35. org.pentaho.reporting.platform.plugin.SimpleReportingComponent.execute(SimpleReportingComponent.java:1058)
      35 frames