Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import template (OVA) : Exception: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 #976

Open
PoC-FNX opened this issue Oct 31, 2024 · 0 comments
Labels

Comments

@PoC-FNX
Copy link

PoC-FNX commented Oct 31, 2024

Affected version
4.5.5-1.22.el8

  • oVirt Engine: 4.5.5-1.22.el8
  • Host OS Variant: 4.5.0-3.el8
  • VDSM version: 4.50.5.1-4.el8

Describe the bug

I can't import a template, at the end, i have an error in /var/log/ovirt-engine/engine.log

2024-10-31 11:48:35,223+01 ERROR [org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-51) [16893feb-09d5-4cc1-beed-6e10faee936b] Command 'org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand' failed: Index 1 out of bounds for length 1
2024-10-31 11:48:35,223+01 ERROR [org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-51) [16893feb-09d5-4cc1-beed-6e10faee936b] Exception: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand.lambda$storeExternalData$7(ExtractOvaCommand.java:239)
at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178)
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)

To reproduce

Just trie to import an ova template like Oracle Linux 8 update 10

image

Screenshots

image

Can you help me please ?

Regards.

@PoC-FNX PoC-FNX added the bug label Oct 31, 2024
@PoC-FNX PoC-FNX changed the title Unable to import template : Exception: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 Unable to import template (OVA) : Exception: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant