Send to Workflow crashes

Hi,

PlanetPress Connect Designer crashes every time when i do the following:
Going in to File → Send to Workflow, then i select both the .OL-template and the .OL-datamapper, then i select Workflow Server which is 127.0.0.1 on the same machine.

Then i press the Send-button and see the Operation in progress… and the progress bar. the bar doesn’t load anything as it does when it works. After about 20 seconds PlanetPress Connect Designer crashes and nothing is uploaded to the Workflow Server.

I am running the latest version of both Workflow (2020.1.0.64373) and Connect Designer (2020.1.0.64403).

Anyone who knows why? Complexity of the template? Number of master pages or sections?

Any message when the application crashes?

No. Nothing at all and nothing in the event viewer in windows either. But it’s easy to re-create, it happens every time.

Have you checked the Designer’s log? (C:\Users\ [ username] \Connect\logs\Designer)

No I haven’t until now. it’s running out of memory, but which memory I don’t know. Hopefully you know.

Server has 32GB of RAM and 8 virtual processors. Windows Server 2012 R2.

Error message below:
[2020-06-18 20:06:23,002] ERROR [main] com.objectiflune.contentcreation.html.mergeengine.impl.a.raiseError(HtmlMergeCoreUtils.java) uncaught exception: out of memory.
com.objectiflune.layoutengine.html.embed.GeckoJSRuntimeError: uncaught exception: out of memory
at com.objectiflune.layoutengine.html.js2java.JavascriptErrorHandler.onJavascriptError(JavascriptErrorHandler.java)
at com.objectiflune.layoutengine.html.js2java.JavascriptErrorCallback.function(JavascriptErrorCallback.java)
at com.objectiflune.layoutengine.html.embed.e.callJava(e.java)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:201)
at com.sun.proxy.$Proxy126.oL_evaluateJS(Unknown Source)
at com.objectiflune.layoutengine.html.embed.u.a(u.java)
at com.objectiflune.layoutengine.html.embed.u.execute(u.java)
at com.objectiflune.layoutengine.html.embed.Browser.execute(Browser.java)
at com.objectiflune.layoutengine.html.MozillaBrowser.a(MozillaBrowser.java)
at com.objectiflune.layoutengine.html.MozillaBrowser.execute(MozillaBrowser.java)
at com.objectiflune.layoutengine.html.pagination.j.run(j.java)
at com.objectiflune.layoutengine.html.pagination.PaginationProvider.a(PaginationProvider.java)
at com.objectiflune.layoutengine.html.pagination.PaginationProvider.paginate(PaginationProvider.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.p.run(p.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.internal.HtmlMergeCoreUtils.runAndWait(HtmlMergeCoreUtils.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.a.b(a.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.a.mergeAndPaginate(a.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeEngine.mergeAndPaginate(HtmlMergeEngine.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeEngine.mergeAndPaginate(HtmlMergeEngine.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$2(HtmlMergeToPDF.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.internal.HtmlMergeCoreUtils.lambda$0(HtmlMergeCoreUtils.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.internal.a.run(a.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.internal.HtmlMergeCoreUtils.callInUIThread(HtmlMergeCoreUtils.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.internal.HtmlMergeCoreUtils.runInUIThread(HtmlMergeCoreUtils.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.exportToUnmanagedPdf(HtmlMergeToPDF.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeEngine.exportToUnmanagedPdf(HtmlMergeEngine.java)
at com.objectiflune.contentcreation.html.mergeengine.impl.PdfExportEngine.exportToPdf(PdfExportEngine.java)
at com.objectiflune.datamining.ui.perspective.automation.PackageService.c(PackageService.java)
at com.objectiflune.datamining.ui.perspective.automation.PackageService.buildPackage(PackageService.java)
at com.objectiflune.datamining.ui.perspective.automation.PackageService.sendToWorkflow(PackageService.java)
at com.objectiflune.datamining.ui.perspective.automation.i.execute(i.java)
at com.objectiflune.core.operations.Operations.a(Operations.java)
at com.objectiflune.core.operations.Operations.access$0(Operations.java)
at com.objectiflune.core.operations.a.run(a.java)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:436)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:469)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:235)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:949)
at com.objectiflune.core.operations.Operations.execute(Operations.java)
at com.objectiflune.core.operations.Operations.execute(Operations.java)
at com.objectiflune.datamining.ui.perspective.automation.PackageFilesDialog.okPressed(PackageFilesDialog.java)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:468)
at com.objectiflune.ui.framework.OLTrayDialog.buttonPressed(OLTrayDialog.java)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3585)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.objectiflune.datamining.ui.perspective.automation.SendToWorkflowHandler.openPackageFilesDialog(SendToWorkflowHandler.java)
at com.objectiflune.datamining.ui.perspective.automation.SendToWorkflowHandler.execute(SendToWorkflowHandler.java)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:95)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:498)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3585)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.objectiflune.application.Application.start(Application.java)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
[2020-06-18 20:06:23,006] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_DW_RD_SP_001 (Cc_51)
[2020-06-18 20:06:23,006] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_DW_RD_SP_001 DONE (Cc_52)
[2020-06-18 20:06:23,006] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_WP_RD_SP_002 (Cc_51)
[2020-06-18 20:06:23,006] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_WP_RD_SP_002 DONE (Cc_52)
[2020-06-18 20:06:23,008] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_DW_RT_SP_001 (Cc_51)
[2020-06-18 20:06:23,008] INFO [main] com.objectiflune.contentcreation.html.mergeengine.impl.HtmlMergeToPDF.lambda$0(HtmlMergeToPDF.java) Close PDF DE_DE_DW_RT_SP_001 DONE (Cc_52)
+++++++++++++++++++++ Plus 150 more Sections here ++++++++++++++++++++

Looks like the Designer is crashing while attempting to create a preview image for the template before it sends both to Workflow. That’s very strange, especially if it occurs every time.

Perhaps you could confirm if the Send To Workflow option works when you only send a Data Mapping configuration, without adding a template. If it works, that would partly validate my hypothesis.

To try and fix it, go into the Designer’s Preferences, in the Engines section, and increase the Merger Engine’s memory from 640 MB to 1000 MB

Hi,

When I only send the Data Mapping configuration it works very well. I also tried to only send the template but that crashed.

My Merger Engine’s memory was already set to 2048MB, i raised it to 4096MB, but got the same result. Did get the same result even with 8192MB memory for the Merger Engine.

Task Manager says the process go up to about 2000MB of used memory, then the Task Manager says something about “Application not responding” in the status column, for about half a second, then the Designer crashes and i see the Desktop again.

Is it possible to send you the template and the datamapper so that you can test it?

Please open a ticket with our Support team, they will ask you to send them the template and they should be able to determine what causes the issue.

Okay. Will do! Thanks.

Hmm. Where do I do that?