Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I see the below error in the logs -
!ENTRY org.talend.platform.logging 4 0 2024-06-05 12:42:56.928 !MESSAGE 2024-06-05 12:42:56,928 ERROR org.talend.commons.exception.CommonExceptionHandler - java.util.concurrent.TimeoutException: Timeout when waiting for component server initialization: -Dtalend.studio.sdk.startup.timeout=2
!STACK 0
java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Timeout when waiting for component server initialization: -Dtalend.studio.sdk.startup.timeout=2
at org.talend.sdk.component.studio.ProcessManager.waitForServer(ProcessManager.java:166)
at org.talend.sdk.component.studio.ServerManager.lambda$1(ServerManager.java:134)
at org.talend.sdk.component.studio.websocket.WebSocketClient.getOrCreateSession(WebSocketClient.java:168)
at org.talend.sdk.component.studio.websocket.WebSocketClient.sendAndWait(WebSocketClient.java:138)
at org.talend.sdk.component.studio.websocket.WebSocketClient.access$0(WebSocketClient.java:137)
at org.talend.sdk.component.studio.websocket.WebSocketClient$V1Component.getIndex(WebSocketClient.java:345)
at org.talend.sdk.component.studio.websocket.WebSocketClient$V1Component.details(WebSocketClient.java:370)
at org.talend.sdk.component.studio.TaCoKitGenericProvider.loadComponentsFromExtensionPoint(TaCoKitGenericProvider.java:70)
at org.talend.designer.core.model.process.GenericProcessProvider.loadComponentsFromProviders(GenericProcessProvider.java:77)
at org.talend.designer.codegen.components.model.ComponentsFactory.loadComponentsFromExtensions(ComponentsFactory.java:318)
at org.talend.designer.codegen.components.model.ComponentsFactory.init(ComponentsFactory.java:168)
at org.talend.designer.codegen.components.model.ComponentsFactory.waitForInit(ComponentsFactory.java:719)
at org.talend.designer.codegen.components.model.ComponentsFactory.getComponents(ComponentsFactory.java:636)
at org.talend.designer.codegen.components.model.ComponentsFactory.readComponents(ComponentsFactory.java:647)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.doRun(CodeGeneratorEmittersPoolFactory.java:165)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.run(CodeGeneratorEmittersPoolFactory.java:131)
Caused by: java.util.concurrent.TimeoutException: Timeout when waiting for component server initialization: -Dtalend.studio.sdk.startup.timeout=2
at org.talend.sdk.component.studio.ProcessManager.waitForServer(ProcessManager.java:167)
... 15 more
!ENTRY org.talend.platform.logging 1 0 2024-06-05 12:42:57.007 !MESSAGE 2024-06-05 12:42:57,007 INFO org.talend.designer.codegen.components.model.ComponentsFactory - 679 components loaded in 478996 ms
Hello,
Have you ever tried to add -Dcomponent.kit.disable=true in maven parameter if you are using any custom component in your studio?
Best regards
Sabrina
Hello,
Could you please try to add this in your maven parameters -Dcomponent.kit.skip=true
and re run the build and check if this makes any difference?
Best regards
Sabrina
Hi,
This solution was provided by Talend support. Yes it did work but heard from Talend support that this a temporary fix and custom components cannot be created when this fix is applied. Is there any other fix?
Thanks
This sol did not work.
Hello,
Thanks for your update and I will check it with our support team about your use case and will you posted.
Best regards
Sabrina