"Printing via the Print Server" has encountered a problem

This is related to this thread:

As a workaround for the problem that “Proof print” is not working at all, we created a print output and use “print” instead to check print outputs in Designer. But that also is not working reliably. Yesterday it printed to pdf just fine, today I get the following error:

Stacktrace from the error window:

An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000041) (SRV000001)


{"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}

Stacktrace from Server log:

[2023-10-17 11:12:51,232] INFO  [qtp1539827598-90] com.objectiflune.core.rest.services.BaseRestService.handshake(BaseRestService.java)  Server Engine REST Service available: FilestoreRestService
[2023-10-17 11:13:06,801] INFO  [OC-1560618284] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) Starting startOutputCreationTest (Se_508)
[2023-10-17 11:13:06,814] INFO  [OC-1560618284] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) startOutputCreationTest took: 00:00:00.012 Ret: true,NONE (Se_509)
[2023-10-17 11:13:06,814] INFO  [OC-1560618284] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) Starting AllInOne (Se_508)
[2023-10-17 11:13:06,814] INFO  [OC-1560618284] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) Starting DM+CC (Se_508)
[2023-10-17 11:13:06,842] INFO  [DM-1322537044] com.objectiflune.scheduling.TaskScheduler.allocatePlugins(TaskScheduler.java) Request for engine added to the end of queue: JobSummary [jobId=aa781929-ee9c-4354-a669-679f0149f8f4, configClass=class com.objectiflune.core.config.RemoteDataminingStreamConfig, size=1, explicitInstances=1, callback=null, extraEnginesOperation=null] (Core_8425)
[2023-10-17 11:13:06,842] INFO  [Data Mapping - Job Queue Processor] com.objectiflune.scheduling.EngineAssignmentProcessor.a(EngineAssignmentProcessor.java) Assigning abc3-f9e9-0000-02e1:2508 to JobSummary [jobId=aa781929-ee9c-4354-a669-679f0149f8f4, configClass=class com.objectiflune.core.config.RemoteDataminingStreamConfig, size=1, explicitInstances=1, callback=null, extraEnginesOperation=null] (Core_8459)
[2023-10-17 11:13:06,956] INFO  [CC-47383444] com.objectiflune.scheduling.TaskScheduler.allocatePlugins(TaskScheduler.java) Request for engine added to the end of queue: JobSummary [jobId=0235e992-4e08-4ffd-ad6c-3b5d1f38dd80, configClass=class com.objectiflune.core.config.ContentCreationConfig, size=2, explicitInstances=2147483647, callback=null, extraEnginesOperation=com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation@2d30394] (Core_8425)
[2023-10-17 11:13:06,957] INFO  [Content Creation - Job Queue Processor] com.objectiflune.scheduling.EngineAssignmentProcessor.a(EngineAssignmentProcessor.java) Assigning abc3-f9e9-0000-02e1:8508 to JobSummary [jobId=0235e992-4e08-4ffd-ad6c-3b5d1f38dd80, configClass=class com.objectiflune.core.config.ContentCreationConfig, size=2, explicitInstances=2147483647, callback=null, extraEnginesOperation=com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation@2d30394] (Core_8459)
[2023-10-17 11:13:07,258] INFO  [DM-1322537044] com.objectiflune.scheduling.TaskScheduler.releasePlugin(TaskScheduler.java) Releasing plugin com.objectiflune.core.config.RemoteDataminingStreamConfig: abc3-f9e9-0000-02e1:2508 (Core_8420)
[2023-10-17 11:13:07,259] INFO  [DM-1322537044] com.objectiflune.datamining.dmengine.remote.DataminingExecuteOperation.execute(DataminingExecuteOperation.java) Execute DataMapper engine took: 00:00:00.416 (Dm_1707)
[2023-10-17 11:13:07,511] INFO  [CC-47383444-0 abc3-f9e9-0000-02e1:8508] com.objectiflune.contentcreation.mergeengine.remote.AbstractIPCRemotedMergeTask.execute(AbstractIPCRemotedMergeTask.java) Content creation took: 00:00:00.253 (Cc_104)
[2023-10-17 11:13:07,511] INFO  [CC-47383444-0 abc3-f9e9-0000-02e1:8508] com.objectiflune.scheduling.TaskScheduler.releasePlugin(TaskScheduler.java) Releasing plugin com.objectiflune.core.config.ContentCreationConfig: abc3-f9e9-0000-02e1:8508 (Core_8420)
[2023-10-17 11:13:07,511] INFO  [CC-47383444] com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation.execute(ContentCreationOperation.java) Content creation took: 00:00:00.557 (Cc_107)
[2023-10-17 11:13:07,511] INFO  [CC-47383444] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) DM+CC took: 00:00:00.696 (Se_509)
[2023-10-17 11:13:07,511] INFO  [CC-47383444] com.objectiflune.serverengine.rest.workflow.PrintRestService.print(r.java) Starting Output creation (Se_508)
[2023-10-17 11:13:07,527] ERROR [OC-1218759654] com.objectiflune.serverengine.rest.workflow.OutputCreationRestService.a(OutputCreationMethods.java) There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000041)
java.lang.NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null
	at com.objectiflune.outputcreation.weaver.remote.OutputCreationOperation.a(OutputCreationOperation.java)
	at com.objectiflune.outputcreation.weaver.remote.OutputCreationOperation.execute(OutputCreationOperation.java)
	at com.objectiflune.serverengine.rest.internal.OutputCreationMethods.a(OutputCreationMethods.java)
	at com.objectiflune.serverengine.rest.internal.OutputCreationMethods.startOutputCreation(OutputCreationMethods.java)
	at com.objectiflune.serverengine.rest.workflow.r.print(r.java)
	at com.objectiflune.serverengine.rest.workflow.PrintRestService.lambda$0(PrintRestService.java)
	at com.objectiflune.core.rest.services.b.call(b.java)
	at com.objectiflune.core.rest.services.b.call(b.java)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
[2023-10-17 11:13:07,528] ERROR [OC-1218759654] com.objectiflune.serverengine.rest.workflow.PrintRestService.<init>(LoggedApplicationException.java) There was an error running the printing process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000113)
com.objectiflune.core.base.ApplicationException: There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000041)
	at com.objectiflune.serverengine.rest.internal.OutputCreationMethods.a(OutputCreationMethods.java)
	at com.objectiflune.serverengine.rest.internal.OutputCreationMethods.startOutputCreation(OutputCreationMethods.java)
	at com.objectiflune.serverengine.rest.workflow.r.print(r.java)
	at com.objectiflune.serverengine.rest.workflow.PrintRestService.lambda$0(PrintRestService.java)
	at com.objectiflune.core.rest.services.b.call(b.java)
	at com.objectiflune.core.rest.services.b.call(b.java)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null
	at com.objectiflune.outputcreation.weaver.remote.OutputCreationOperation.a(OutputCreationOperation.java)
	at com.objectiflune.outputcreation.weaver.remote.OutputCreationOperation.execute(OutputCreationOperation.java)
	... 10 common frames omitted
[2023-10-17 11:13:07,737] ERROR [qtp1539827598-90] com.objectiflune.serverengine.rest.DefaultErrorHandler.toResponse(DefaultErrorHandler.java) An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000041) (SRV000001)
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.objectiflune.serverengine.rest.internal.LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null (SRV000041)
	at com.objectiflune.core.rest.services.BaseRestServiceWithProgress.getResult(BaseRestServiceWithProgress.java)
	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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177)
	at 

Stacktrace from Designer log:

[2023-10-17 11:07:27,106] ERROR [Worker-0: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java) {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:07:27,107] ERROR [Worker-0: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.run(d.java) Print Error (Dsgn_251)
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:08:15,467] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-17 11:08:15,699] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-17 11:08:15,700] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-17 11:08:15,726] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:08:15,751] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:08:23,261] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-17 11:08:23,261] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-17 11:08:25,562] ERROR [Worker-5: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java) {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:08:25,563] ERROR [Worker-5: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.run(d.java) Print Error (Dsgn_251)
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:11:13,779] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-17 11:11:13,965] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-17 11:11:13,966] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-17 11:11:13,988] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:11:14,036] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:11:24,791] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-17 11:11:24,792] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-17 11:11:26,970] ERROR [Worker-7: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java) {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:11:26,970] ERROR [Worker-7: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.run(d.java) Print Error (Dsgn_251)
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
	... 8 common frames omitted
[2023-10-17 11:12:26,271] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-17 11:12:26,271] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-17 11:12:26,291] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:12:26,313] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:12:32,725] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-17 11:12:32,726] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-17 11:12:33,962] INFO  [CC-724436296] com.objectiflune.scheduling.TaskScheduler.allocatePlugins(TaskScheduler.java) Request for engine added to the end of queue: JobSummary [jobId=b95d08e9-41a6-449a-bc23-e6e1d771d314, configClass=class com.objectiflune.core.config.ContentCreationConfig, size=2, explicitInstances=2147483647, callback=com.objectiflune.ui.framework.EngineRetryCallback@a96ed06, extraEnginesOperation=com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation@2b2e0548] (Core_8425)
[2023-10-17 11:12:33,971] INFO  [Content Creation - Job Queue Processor] com.objectiflune.scheduling.EngineAssignmentProcessor.a(EngineAssignmentProcessor.java) Assigning abc3-f9e9-0000-02e1:9872 to JobSummary [jobId=b95d08e9-41a6-449a-bc23-e6e1d771d314, configClass=class com.objectiflune.core.config.ContentCreationConfig, size=2, explicitInstances=2147483647, callback=com.objectiflune.ui.framework.EngineRetryCallback@a96ed06, extraEnginesOperation=com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation@2b2e0548] (Core_8459)
[2023-10-17 11:12:35,672] INFO  [CC-724436296-0 abc3-f9e9-0000-02e1:9872] com.objectiflune.contentcreation.mergeengine.remote.AbstractIPCRemotedMergeTask.execute(AbstractIPCRemotedMergeTask.java) Content creation took: 00:00:01.568 (Cc_104)
[2023-10-17 11:12:35,674] INFO  [CC-724436296-0 abc3-f9e9-0000-02e1:9872] com.objectiflune.scheduling.TaskScheduler.releasePlugin(TaskScheduler.java) Releasing plugin com.objectiflune.core.config.ContentCreationConfig: abc3-f9e9-0000-02e1:9872 (Core_8420)
[2023-10-17 11:12:35,675] ERROR [CC-724436296] com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation.execute(ContentCreationOperation.java) An exception occurred distributing tasks. (CC1000050)
com.objectiflune.core.base.ApplicationException: The function "registerListener" returned an error condition  (0x80460004)
	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
	at com.objectiflune.contentcreation.mergeengine.remote.MergeEngineTaskScheduler.submitAndWait(MergeEngineTaskScheduler.java)
	at com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation.a(ContentCreationOperation.java)
	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
[2023-10-17 11:12:35,676] ERROR [CC-724436296] com.objectiflune.application.designer.editors.operations.PrintOperation.execute(PrintOperation.java) The function "registerListener" returned an error condition  (0x80460004)
com.objectiflune.core.base.ApplicationException: The function "registerListener" returned an error condition  (0x80460004)
	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
	at com.objectiflune.contentcreation.mergeengine.remote.MergeEngineTaskScheduler.submitAndWait(MergeEngineTaskScheduler.java)
	at com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation.a(ContentCreationOperation.java)
	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
[2023-10-17 11:12:51,220] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-17 11:12:51,393] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-17 11:12:51,393] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-17 11:12:51,417] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:12:51,439] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-17 11:13:05,460] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-17 11:13:05,460] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-17 11:13:07,742] ERROR [Worker-7: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java) {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
com.objectiflune.core.base.ApplicationException: {"error":{"status":500,"message":"An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by NullPointerException: Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)","parameter":""}}
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AuthenticatingBaseClient.invokePOST(AuthenticatingBaseClient.java)
	at com.objectiflune.core.rest.clients.BaseRestClient.invokePOST(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.invokePOST(AllInOnePrintRestClient.java)
	at com.objectiflune.core.rest.clients.AllInOnePrintRestClient.execute(AllInOnePrintRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)

I had to shorten the logs because Discourse only allows 32000 characters in posts

This seems to be the main error, but I cannot interpret it.

Cannot invoke \"java.lang.Long.intValue()\" because \"<local7>\" is null (SRV000041) (SRV000001)"

I am running into a wall here and cannot continue work because of this problem.

Please check whether there are no records of which all Print Context Sections are disabled. The Cannot invoke "java.lang.Long.intValue()" because "<local7>" is null error usually occurs when all Print Context Sections are disabled by, for example, a Standard Script.

I understand that the error also occurs when all records are skipped by, for example, a Action Step on the DataMapper side.