Error in web portal: There was an issue loading the PageBuilder from the server. Job is in an unexpected state.

A ‘new’ error after some work on loading executor.epf preferences to pick up Conda/Python config (that’s my theory).

Symptom…workflows fail with message in browser, including default example workflows

“There was an issue loading the PageBuilder from the server. Job is in an unexpected state.”

From executor logs this looks suspicious…

022-11-07 10:51:09,992 : WARN : pool-1-thread-53 : d1e7eadd-0ba7-424f-aba0-2b6993c5b712 : JsonRpcErrorResolver : : : A json rpc error occurred
java.lang.NullPointerException
at org.knime.core.util.FileUtil.resolveToPath(FileUtil.java:1263)
at com.knime.gateway.impl.webportal.service.DefaultWizardExecutionService.collectWebResourceUrlsFromConfigElement(DefaultWizardExecutionService.java:587)
at com.knime.gateway.impl.webportal.service.DefaultWizardExecutionService.collectWebResourceUrls(DefaultWizardExecutionService.java:568)
at com.knime.gateway.impl.webportal.service.DefaultWizardExecutionService.ensureThatWebResourceUrlsAreAvailable(DefaultWizardExecutionService.java:541)
at com.knime.gateway.impl.webportal.service.DefaultWizardExecutionService.getWebResource(DefaultWizardExecutionService.java:633)
at com.knime.gateway.impl.webportal.jsonrpc.service.JsonRpcWizardExecutionServiceWrapper.getWebResource(JsonRpcWizardExecutionServiceWrapper.java:101)
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 com.googlecode.jsonrpc4j.JsonRpcBasicServer.invoke(JsonRpcBasicServer.java:478)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleObject(JsonRpcBasicServer.java:349)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleJsonNodeRequest(JsonRpcBasicServer.java:274)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleRequest(JsonRpcBasicServer.java:242)
at org.knime.gateway.impl.jsonrpc.JsonRpcRequestHandler.handle(JsonRpcRequestHandler.java:104)
at com.knime.gateway.executor.jsonrpc.JsonRpcServerRequestHandler.handle(JsonRpcServerRequestHandler.java:77)
at com.knime.enterprise.executor.genericmsg.GenericServerRequestManager.forwardRequest(GenericServerRequestManager.java:82)
at com.knime.enterprise.executor.amqp.actions.GenericServerRequestTask.perform(GenericServerRequestTask.java:69)
at com.knime.enterprise.executor.amqp.RabbitMQMessageConsumer$Consumer.processMessage(RabbitMQMessageConsumer.java:133)
at com.knime.enterprise.executor.amqp.RabbitMQMessageConsumer$Consumer.handleDelivery(RabbitMQMessageConsumer.java:107)
at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:149)
at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:104)
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)

NB that this works and returns prefs as expected:

https://ourservernameishere.nih.gov/knime/rest/v4/profiles/contents

The following console messages in one of the failing workflows is rather odd, but seems linked to these PageBuilder errors.

I continue to hold the theory that something was ‘stomped on’ in our configuration when we updated the knime.ini to pick up the executor.epf

Hi mikeconway,

have you tried to configure the preferences in the service as described in this documentation under ‘Setting the preferences in the service’?

Best regards,
Attila

Yes, the prefs are set, we did this via Support b/c we were trying to set up Python/Conda integration and it was not not picking up the executor.epf prefs. I am wondering if in doing this it caused some secondary effect.

it looks like Page Builder is a plugin and it looks like it is either missing a plugin or somehow corrupted, whether that was due to adjusting the executor or somewhere else in the process. I’m thinking that it’s time to burn the install down and re-install/upgrade b/c I can’t really find a thread on page builder.

Hi mikeconway,

thank you for your updates. In order to investigate this further, please email support@knime.com with the following information:

  • server and executor versions and OS environment

  • server and executor logs (you can download them from Webportal)

  • knime.ini

  • knime-executor.service (Linux)/ install-executor-as-service.bat (Win) file

Thank you and best regards,
Attila

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.