Open konyashkina opened 2 years ago
Re-tested on cuba-sdk-0.3-SNAPSHOT #121 OS Windows 10 Pro jmix-dependencies-1.4.0
The same result:
FAILURE: Command execution failed with an exception.
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:458)
at com.haulmont.cuba.cli.plugin.sdk.components.cuba/com.haulmont.cli.plugin.sdk.component.cuba.providers.JmixAddonProvider.searchInMarketplace(JmixAddonProvider.kt:150)
at com.haulmont.cuba.cli.plugin.sdk.components.cuba/com.haulmont.cli.plugin.sdk.component.cuba.providers.JmixAddonProvider.searchInMarketplace$default(JmixAddonProvider.kt:147)
at com.haulmont.cuba.cli.plugin.sdk.components.cuba/com.haulmont.cli.plugin.sdk.component.cuba.providers.JmixAddonProvider.resolveCoordinates(JmixAddonProvider.kt:136)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.BaseComponentCommand.providerSearchContext$cuba_sdk(BaseComponentCommand.kt:388)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.InstallComponentCommand.createSearchContext(InstallComponentCommand.kt:34)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.BaseInstallCommand.run(BaseInstallCommand.kt:36)
at com.haulmont.cli.core/com.haulmont.cli.core.commands.AbstractCommand.execute(AbstractCommand.kt:37)
at com.haulmont.cli.core/com.haulmont.cli.core.ShellCli.evalCommand(ShellCli.kt:138)
at com.haulmont.cli.core/com.haulmont.cli.core.ShellCli.run(ShellCli.kt:124)
at com.haulmont.cli.core/com.haulmont.cli.core.EntryPointKt.main(EntryPoint.kt:116)
https://github.com/cuba-platform/cuba-sdk/issues/98 was fixed, but the same issue occurs for some Translation add-ons (exept Greek Translation).
Steps: Pre-condition: Run Cuba SDK, set your target repository.
sdk>install jmix-addon
ER: Translation addon is installed successfully.
AR: Command execution failed with an exception.
stacktrace