va.lang.NullPointerException: Formula-text given must not be null.

Pentaho BI Platform Tracking | Kurtis Cruzada | 9 years ago
  1. 0

    1. Add an element to a report (text field). 2. Click the "Formula" property. Notice you get the following error. va.lang.NullPointerException: Formula-text given must not be null. at org.jfree.formula.parser.FormulaParser.parse(FormulaParser.java:63) at org.jfree.formula.Formula.<init>(Formula.java:58) at org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.updateFormulaTextArea(FormulaChooser.java:132) at org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.showFormulaChooser(FormulaChooser.java:100) at org.pentaho.reportdesigner.crm.report.properties.PropertyTable$32.actionPerformed(PropertyTable.java:1211) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 9 years ago | Kurtis Cruzada
    va.lang.NullPointerException: Formula-text given must not be null.
  2. 0

    1. Add an element to a report (text field). 2. Click the "Formula" property. Notice you get the following error. va.lang.NullPointerException: Formula-text given must not be null. at org.jfree.formula.parser.FormulaParser.parse(FormulaParser.java:63) at org.jfree.formula.Formula.<init>(Formula.java:58) at org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.updateFormulaTextArea(FormulaChooser.java:132) at org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.showFormulaChooser(FormulaChooser.java:100) at org.pentaho.reportdesigner.crm.report.properties.PropertyTable$32.actionPerformed(PropertyTable.java:1211) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 9 years ago | Kurtis Cruzada
    va.lang.NullPointerException: Formula-text given must not be null.

    Root Cause Analysis

    1. va.lang.NullPointerException

      Formula-text given must not be null.

      at org.jfree.formula.parser.FormulaParser.parse()
    2. org.jfree.formula
      Formula.<init>
      1. org.jfree.formula.parser.FormulaParser.parse(FormulaParser.java:63)
      2. org.jfree.formula.Formula.<init>(Formula.java:58)
      2 frames
    3. org.pentaho.reportdesigner
      PropertyTable$32.actionPerformed
      1. org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.updateFormulaTextArea(FormulaChooser.java:132)
      2. org.pentaho.reportdesigner.crm.report.properties.editors.FormulaChooser.showFormulaChooser(FormulaChooser.java:100)
      3. org.pentaho.reportdesigner.crm.report.properties.PropertyTable$32.actionPerformed(PropertyTable.java:1211)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.Component.processMouseEvent(Component.java:5602)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      8. java.awt.Component.processEvent(Component.java:5367)
      9. java.awt.Container.processEvent(Container.java:2010)
      10. java.awt.Component.dispatchEventImpl(Component.java:4068)
      11. java.awt.Container.dispatchEventImpl(Container.java:2068)
      12. java.awt.Component.dispatchEvent(Component.java:3903)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      16. java.awt.Container.dispatchEventImpl(Container.java:2054)
      17. java.awt.Window.dispatchEventImpl(Window.java:1791)
      18. java.awt.Component.dispatchEvent(Component.java:3903)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      24. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      24 frames