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

Reporting plugin within PUC, date field doesn't populate with the date chosen with the date picker.

    Details

    • 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

      Repro Path.

      1. Create a report that use a date parameter with the display type set to "Date Picker".
      2. Publish it to the BI Server.
      3. Launch from the BI Server.
      4. Bring up the date picker and select a date.
      5. Notice it that the previous day is selected. For example, if I choose Oct 1, it actually puts in the field Sept 30.

        Activity

        Hide
        sflatley Sean Flatley (Inactive) added a comment -

        To reproduce publish the attached PRPT to the BI Server and run it. The UTC and GMT dates that you choose will not be displayed in the report output. The previous day will be displayed.

        Show
        sflatley Sean Flatley (Inactive) added a comment - To reproduce publish the attached PRPT to the BI Server and run it. The UTC and GMT dates that you choose will not be displayed in the report output. The previous day will be displayed.
        Hide
        kcruzada Kurtis Cruzada added a comment -

        Ouch... this is now broken. I'm unable to run the report.

        WARN [02-23 13:44:14,094] - Warning: Data-Set does not contain a column with name 'GMT'
        ERROR [02-23 13:44:14,151] - Unexpected Error encountered:
        java.lang.NullPointerException
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.actions.AboutActionPlugin.getSmallIcon(AboutActionPlugin.java:92)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.actions.ControlAction.<init>(ControlAction.java:74)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PreviewPaneUtilities.buildMenu(PreviewPaneUtilities.java:132)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.buildMenu(PreviewPane.java:1613)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.performInitialization(PreviewPane.java:1358)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.initializeFromReport(PreviewPane.java:1296)
        at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.setReportJob(PreviewPane.java:1134)
        at org.pentaho.reporting.designer.core.editor.preview.ReportPreviewComponent.updatePreview(ReportPreviewComponent.java:228)
        at org.pentaho.reporting.designer.core.editor.ReportRendererComponent.showPreview(ReportRendererComponent.java:449)
        at org.pentaho.reporting.designer.core.ReportDesignerFrame$FrameViewController.setPreviewVisible(ReportDesignerFrame.java:822)
        at org.pentaho.reporting.designer.core.actions.global.ShowPreviewPaneAction.actionPerformed(ShowPreviewPaneAction.java:76)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6352)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6117)
        at java.awt.Container.processEvent(Container.java:2085)
        at java.awt.Component.dispatchEventImpl(Component.java:4714)
        at java.awt.Container.dispatchEventImpl(Container.java:2143)
        at java.awt.Component.dispatchEvent(Component.java:4544)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
        at java.awt.Container.dispatchEventImpl(Container.java:2129)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4544)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

        Show
        kcruzada Kurtis Cruzada added a comment - Ouch... this is now broken. I'm unable to run the report. WARN [02-23 13:44:14,094] - Warning: Data-Set does not contain a column with name 'GMT' ERROR [02-23 13:44:14,151] - Unexpected Error encountered: java.lang.NullPointerException at org.pentaho.reporting.engine.classic.core.modules.gui.base.actions.AboutActionPlugin.getSmallIcon(AboutActionPlugin.java:92) at org.pentaho.reporting.engine.classic.core.modules.gui.base.actions.ControlAction.<init>(ControlAction.java:74) at org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PreviewPaneUtilities.buildMenu(PreviewPaneUtilities.java:132) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.buildMenu(PreviewPane.java:1613) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.performInitialization(PreviewPane.java:1358) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.initializeFromReport(PreviewPane.java:1296) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.setReportJob(PreviewPane.java:1134) at org.pentaho.reporting.designer.core.editor.preview.ReportPreviewComponent.updatePreview(ReportPreviewComponent.java:228) at org.pentaho.reporting.designer.core.editor.ReportRendererComponent.showPreview(ReportRendererComponent.java:449) at org.pentaho.reporting.designer.core.ReportDesignerFrame$FrameViewController.setPreviewVisible(ReportDesignerFrame.java:822) at org.pentaho.reporting.designer.core.actions.global.ShowPreviewPaneAction.actionPerformed(ShowPreviewPaneAction.java:76) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6352) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6117) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
        Hide
        tmorgner Thomas Morgner added a comment -

        Not sure, but PRD exceptions do not look like a server side error. And that NPE bug has been resolved in a other case.

        Can this server-side case be closed? If not, move it to a newer release as I am not able to change what has already been released as 3.7.0-GA.

        Show
        tmorgner Thomas Morgner added a comment - Not sure, but PRD exceptions do not look like a server side error. And that NPE bug has been resolved in a other case. Can this server-side case be closed? If not, move it to a newer release as I am not able to change what has already been released as 3.7.0-GA.
        Hide
        jcornelius Jared Cornelius added a comment - - edited

        Kurtis, what's the deal with this case?

        Show
        jcornelius Jared Cornelius added a comment - - edited Kurtis, what's the deal with this case?
        Hide
        kcruzada Kurtis Cruzada added a comment -

        Apparently, this was addressed on the server but still throws this message when run from the Report Designer.

        Show
        kcruzada Kurtis Cruzada added a comment - Apparently, this was addressed on the server but still throws this message when run from the Report Designer.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: