I'm using Report Designer 8.2 (prd-ce-8.2.0.0-342.zip) on Windows10.

On main report, I add JDBC data source to Dataset, and add some SQL query like "SELECT * FROM foo". Then, to click "preview" bottan at the bottom right. PRD shows preview of query results.

Next, I add a "Sub Report" on the main report, and add JDBC data source to Dataset of the "Sub Report". Then, add some SQL query like above. Then click "preview" bottan. PRD does not show anything, and error is logged like below.

Although query preview of sub report does not work, query itself is working normaly. I can use result set of query on the sub report. Only query preview does not work.

Does someone have the same symptoms ?


---- PRD error log ----
java.lang.ClassCastException: org.pentaho.reporting.engine.classic.core.SubReport cannot be cast to org.pentaho.reporting.engine.classic.core.MasterReport
at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$PreviewAction.actionPerformed(JdbcDataSourceDialog.java:136)
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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
(snip)