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

Crosstab with no aggregation specified is not editable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Low
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 GA, Master
    • Fix Version/s: 8.0.0 GA
    • Component/s: None
    • Labels:
    • 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)

      Description

      Open attached report using PRD.
      Make sure to change path to ktr using data tab.
      Try to edit crosstab component (if it is not visible for you follow the steps mentioned here http://helicaltech.com/working-crosstab-component-pentaho-report-designer/#.WQnWHqIZD70)

      You wiil get (there will be popup message or an error icon bottom right)

      java.lang.NullPointerException
                      at java.lang.Class.isAssignableFrom(Native Method)
                      at org.pentaho.reporting.designer.core.editor.crosstab.CrosstabEditSupport.extractFromDetailCell(CrosstabEditSupport.java:281)
                      at org.pentaho.reporting.designer.core.editor.crosstab.CrosstabEditSupport.populateBuilder(CrosstabEditSupport.java:251)
                      at org.pentaho.reporting.designer.core.editor.crosstab.CreateCrosstabDialog.createCrosstab(CreateCrosstabDialog.java:444)
                      at org.pentaho.reporting.designer.core.actions.elements.EditCrosstabAction.performEdit(EditCrosstabAction.java:93)
                      at org.pentaho.reporting.designer.core.actions.elements.EditCrosstabAction.actionPerformed(EditCrosstabAction.java:76)
                      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
                      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
                      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
                      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
                      at javax.swing.AbstractButton.doClick(Unknown Source)
                      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
                      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
                      at java.awt.Component.processMouseEvent(Unknown Source)
                      at javax.swing.JComponent.processMouseEvent(Unknown Source)
                      at java.awt.Component.processEvent(Unknown Source)
                      at java.awt.Container.processEvent(Unknown Source)
                      at java.awt.Component.dispatchEventImpl(Unknown Source)
                      at java.awt.Container.dispatchEventImpl(Unknown Source)
                      at java.awt.Component.dispatchEvent(Unknown Source)
                      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
                      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
                      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
                      at java.awt.Container.dispatchEventImpl(Unknown Source)
                      at java.awt.Window.dispatchEventImpl(Unknown Source)
                      at java.awt.Component.dispatchEvent(Unknown Source)
                      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                      at java.awt.EventQueue.access$500(Unknown Source)
                      at java.awt.EventQueue$3.run(Unknown Source)
                      at java.awt.EventQueue$3.run(Unknown Source)
                      at java.security.AccessController.doPrivileged(Native Method)
                      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                      at java.awt.EventQueue$4.run(Unknown Source)
                      at java.awt.EventQueue$4.run(Unknown Source)
                      at java.security.AccessController.doPrivileged(Native Method)
                      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                      at java.awt.EventQueue.dispatchEvent(Unknown Source)
                      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                      at java.awt.EventDispatchThread.run(Unknown Source)
      

      The report should allow to edit crosstab component.
      The atached report has <unspecified> aggregation type, which is allowed by PRD.

        Attachments

          Activity

            People

            Assignee:
            melsner Mark Elsner
            Reporter:
            kolinus Kanstantsin Karneliuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: