Minimal reproducible example
Create report with single entity parameter, add it to entity browse screen (i think legacy browse screen).
Add run report action:
Open browse screen, select few rows and run report - NPE occured.
java.lang.NullPointerException at com.haulmont.cuba.gui.screen.UiControllerUtils.getHostScreen(UiControllerUtils.java:190) at com.haulmont.cuba.gui.screen.UiControllerUtils.getScreen(UiControllerUtils.java:199) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:603) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:574) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:622) at com.haulmont.reports.gui.ReportGuiManager.bulkPrint(ReportGuiManager.java:558)
I think is some analog of #158
Expected behavior
Report with single entity param in case when few rows are selected run successfully (output result is zip archive with few report results for each selected row)
It works on 5.9 version
Environment
Description of the bug or enhancement
Minimal reproducible example Create report with single entity parameter, add it to entity browse screen (i think legacy browse screen). Add run report action:
Open browse screen, select few rows and run report - NPE occured.
java.lang.NullPointerException at com.haulmont.cuba.gui.screen.UiControllerUtils.getHostScreen(UiControllerUtils.java:190) at com.haulmont.cuba.gui.screen.UiControllerUtils.getScreen(UiControllerUtils.java:199) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:603) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:574) at com.haulmont.reports.gui.ReportGuiManager.bulkPrintSync(ReportGuiManager.java:622) at com.haulmont.reports.gui.ReportGuiManager.bulkPrint(ReportGuiManager.java:558)
I think is some analog of #158Expected behavior Report with single entity param in case when few rows are selected run successfully (output result is zip archive with few report results for each selected row) It works on 5.9 version
Actual behavior NPE