From 69af9e8fc49e19f7331a6999347efc5566ac2cf5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 30 Apr 2020 15:05:18 +0200 Subject: [PATCH] IDEMPIERE-4258 Error runnig Jasper file on Report (#18) --- .../WEB-INF/src/org/adempiere/webui/apps/WProcessCtl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/WProcessCtl.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/WProcessCtl.java index a0317c02dd..3c968d8419 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/WProcessCtl.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/WProcessCtl.java @@ -182,6 +182,8 @@ public class WProcessCtl extends AbstractProcessCtl { return; } pi.setAD_PInstance_ID (instance.getAD_PInstance_ID()); + } else { + instance = new MPInstance(Env.getCtx(), pi.getAD_PInstance_ID(), null); } // Get Parameters