Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-4579

Report designer is unable to open previously saved PRPT file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 3.9.1 GA (4.8.0 GA Suite Release)
    • Fix Version/s: 5.1.0 GA
    • Component/s: Build
    • Labels:
      None
    • 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.

      Description

      The following error occurs when user tries to open a saved report in PRD.
      -------------
      Failed to open the report

      Unable to pen the file as valid report definition
      -------------

      Error
      -------------
      org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=content.xml, factoryParameters={org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey

      {name=repository}

      =org.pentaho.reporting.libraries.repository.zipreader.ZipReadRepository@4ddbc091, org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey

      {name=repository-loader}

      =org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader@1940be55}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=C:\Cases\30000-35000\34104\34104.prpt, factoryParameters={}, parent=null}}
      at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:249)
      at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:272)
      at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:411)
      at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:370)
      at org.pentaho.reporting.libraries.resourceloader.ResourceManager.createDirectly(ResourceManager.java:207)
      at org.pentaho.reporting.designer.core.actions.global.OpenReportAction.loadReport(OpenReportAction.java:260)
      at org.pentaho.reporting.designer.core.actions.global.OpenReportAction.loadReport(OpenReportAction.java:242)
      at org.pentaho.reporting.designer.core.actions.global.OpenReportAction$LoadReportTask.run(OpenReportAction.java:218)
      at java.lang.Thread.run(Unknown Source)

      ...
      -------------

      The problem was caused by an incomplete parameter definition.
      The formula expression in the parameter definition was not defined.
      PRD should ignore the error and open the report to allow the user to modify the parameter and correct the report.

        Attachments

        1. 34104.prpt
          13 kB
        2. Capture.JPG
          Capture.JPG
          98 kB

          Issue Links

            Activity

              People

              Assignee:
              ldeng Li Deng
              Reporter:
              dkozlowski Daniel Kozlowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: