Uploaded image for project: 'Pentaho BA Platform'
  1. Pentaho BA Platform
  2. BISERVER-7708

Previewing WAQR report using the biserver CE build throws Data-source used for query 'default' does not provide metad ata. Caching will be disabled. error.

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      biserver-ce-4.8GA
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Mozilla Firefox 15.x
    • Operating System/s:
      Ubuntu 12.x (64-bit), Windows 7

      Description

      Steps to Repro:

      1. Create a New Waqr Report,
      2. Select the Orders data source click Next.
      3. Select Territory, Order number, quantity ordered and total to the details box and click on the Next button.
      4. Preview As HTML and click on the Go button.
      5. the report previews properly but the following stack trace is thrown in the tomcat console both on Windows 7 and ubuntu 12.

      9:39:46,633 ERROR [CachingDataFactory] Data-source used for query 'default' does not provide metad
      ata. Caching will be disabled.
      org.pentaho.reporting.engine.classic.core.metadata.MetaDataLookupException: Unable to locate metada
      ta for data-factory type org.pentaho.platform.plugin.action.jfreereport.helper.PentahoTableDataFact
      ory
      at org.pentaho.reporting.engine.classic.core.metadata.DataFactoryRegistry.getMetaData(DataF
      actoryRegistry.java:118)
      at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.createCacheKey(Cachin
      gDataFactory.java:366)
      at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryFreeForm(Caching
      DataFactory.java:222)
      at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryFreeForm(CompoundData
      Factory.java:109)
      at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFact
      ory.java:90)
      at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(Rep
      ortDataRow.java:97)
      at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQu
      ery(DefaultFlowController.java:188)
      at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.restart(ProcessSta
      te.java:673)
      at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareR
      eportProcessing(AbstractReportProcessor.java:560)
      at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processR
      eport(AbstractReportProcessor.java:1647)
      at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeHtml(JFreeRepor
      tComponent.java:1061)
      at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeReport(JFreeRep
      ortComponent.java:976)
      at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.generateReport(JFree
      ReportComponent.java:925)
      at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeReportAction(
      JFreeReportComponent.java:315)
      at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeAction(JFreeR
      eportComponent.java:303)
      at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:4
      63)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeCont
      ext.java:1296)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext
      .java:1262)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContex
      t.java:1161)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.j
      ava:1105)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeConte
      xt.java:987)
      at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeConte
      xt.java:897)
      at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEng
      ine.java:399)
      at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java
      :317)
      at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java
      :202)
      at org.pentaho.platform.web.servlet.AdhocWebService.executeActionSequence(AdhocWebService.j
      ava:556)
      at org.pentaho.platform.web.servlet.AdhocWebService.createJFreeReportAsStream(AdhocWebServi
      ce.java:485)
      at org.pentaho.platform.web.servlet.AdhocWebService.generatePreview(AdhocWebService.java:40
      9)
      at org.pentaho.platform.web.servlet.AdhocWebService.dispatch(AdhocWebService.java:297)
      at org.pentaho.platform.web.servlet.AdhocWebService.doGet(AdhocWebService.java:263)
      at org.pentaho.platform.web.servlet.AdhocWebService.doPost(AdhocWebService.java:337)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
      java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContext
      Filter.java:142)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
      java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoReques
      tContextFilter.java:84)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
      java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:378)
      at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecuri
      tyInterceptor.java:109)
      at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecu
      rityInterceptor.java:83)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTransla
      tionFilter.java:101)
      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:
      53)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFil
      ter.java:103)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.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(FilterCha
      inProxy.java:390)
      at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(Req
      uestParameterAuthenticationFilter.java:169)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProces
      singFilter.java:174)
      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:
      53)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessing
      Filter.java:278)
      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:
      53)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.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(FilterCha
      inProxy.java:390)
      at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSess
      ionReuseDetectionFilter.java:134)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(Ht
      tpSessionContextIntegrationFilter.java:235)
      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:
      53)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.java:390)
      at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHtt
      p(SecurityContextHolderAwareRequestFilter.java:91)
      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:
      53)
      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCha
      inProxy.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:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.jav
      a:60)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
      java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEn
      codingFilter.java:113)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
      java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206
      )
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.j
      ava:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)

      6. Saved the report and reopened the report shows successfully but throws the above error.

        Attachments

          Activity

            People

            • Assignee:
              kcruzada Kurtis Cruzada
              Reporter:
              gdavid Golda Thomas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: