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

Add Open formula (Advanced) - Unexpected Error encoutered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Not a Bug
    • Affects Version/s: Master, 8.3.0 GA, 9.0.0 GA
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
    • Environment:
      8.3GA, 8.3.0.12, 9.0GA, Master
    • Story Points:
      0
    • 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.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide

      Follow the steps until step7 of the testcase below

      http://testrail.pentaho.net/index.php?/tests/view/86001772

      After perform the steps 1-6:

      1. Right click on functions.
      2. Add a function.
      3. Double click Advanced.
      4. Select Open Formula (Advanced).
      5. Click OK.

      Show
      Follow the steps until step7 of the testcase below http://testrail.pentaho.net/index.php?/tests/view/86001772 After perform the steps 1-6: 1. Right click on functions. 2. Add a function. 3. Double click Advanced. 4. Select Open Formula (Advanced). 5. Click OK.

      Description

      After click OK, we are having the following error (see the attachments)

      2020-06-18 12:07:00,940 [ 245887]  ERROR - org.pentaho.reporting.designer.core.util.exceptions.UncaughtExceptionsModel - Unexpected Error encountered:
      org.pentaho.reporting.engine.classic.core.InvalidReportStateException: Failed to evaluate formula-function with error Failed to evaluate formula-function with error null
              at org.pentaho.reporting.engine.classic.core.function.FormulaFunction.computeInitialValue(FormulaFunction.java:276)
              at org.pentaho.reporting.engine.classic.core.function.FormulaFunction.getValue(FormulaFunction.java:346)
              at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.evaluateSingleExpression(ExpressionEventHelper.java:640)
              at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportInitializedEvent(ExpressionEventHelper.java:502)
              at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportEvent(ExpressionEventHelper.java:51)
              at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireReportEvent(ExpressionDataRow.java:358)
              at org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.fireReportEvent(GlobalMasterRow.java:331)
              at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.fireReportEvent(DefaultFlowController.java:454)
              at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1119)
              at org.pentaho.reporting.engine.classic.core.states.process.BeginReportHandler.advance(BeginReportHandler.java:49)
              at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:948)
              at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:405)
              at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:505)
              at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:69)
              at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:238)
              at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:153)
      Caused by: org.pentaho.reporting.engine.classic.core.InvalidReportStateException: Failed to evaluate formula-function with error null
              at org.pentaho.reporting.engine.classic.core.function.FormulaFunction.computeRegularValue(FormulaFunction.java:330)
              at org.pentaho.reporting.engine.classic.core.function.FormulaFunction.computeInitialValue(FormulaFunction.java:264)
              ... 15 more
      Caused by: java.lang.NullPointerException
              at org.pentaho.reporting.libraries.formula.Formula.<init>(Formula.java:48)
              at org.pentaho.reporting.engine.classic.core.function.FormulaFunction.computeRegularValue(FormulaFunction.java:300)
              ... 16 more
      

        Attachments

        1. screenshot-1.png
          screenshot-1.png
          98 kB
        2. screenshot-2.png
          screenshot-2.png
          60 kB
        3. screenshot-3.png
          screenshot-3.png
          55 kB

          Issue Links

            Activity

              People

              Assignee:
              sergio.samora SĂ©rgio Samora
              Reporter:
              vasco.marques Vasco Marques
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: