IllegalArgumentException during install of extensions

While installing extensions for knime-executor on a KNIME server via CLI following Exception is thrown

!ENTRY org.eclipse.equinox.p2.core 4 0 2021-03-06 06:06:58.143
!MESSAGE Exception during event notification
!STACK 0
java.lang.IllegalArgumentException: Location must be absolute: …
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:756)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:252)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:167)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.notify(AbstractRepositoryManager.java:825)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:103)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Installation failed.

Did somebody have the same issues? Are there any fixes?

Hi @matthias_pohl

What was the command you have used for the installation of new extensions?

Best wishes
Ana

./knime -application org.eclipse.equinox.p2.director -nosplash -consolelog -r https://update.knime.com/partner/4.3,https://update.knime.com/community-contributions/trusted/4.3,https://update.knime.com/analytics-platform/4.3 -i org.knime.features.mongodb.feature.group -d /home/ubuntu/knime_server/knime_executor

Hi @matthias_pohl

Is this the full output of your command line window? Does it also save a file containing error messages somewhere (usually there is a message like "There were errors. See log file: ")? It would be great if you could check if there is more information available.

Could you also check if you are using the same user to install extensions as the user who had performed the server installation?

1 Like

Hi @matthias_pohl

I just wanted to check if the issue was resolved?

Best wishes
Ana

1 Like

after updating the server and the executor, the installation of extensions has succeeded
nevertheless the java.lang.IllegalArgumentException was thrown.
the log file didnt provide more information about that issue

we will keep that in mind and check again when we install new extensions