Bug 965998 - Command org.ovirt.engine.core.bll.TryBackToSnapshotCommand throw exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 When the user click snapshot preview mode.
Summary: Command org.ovirt.engine.core.bll.TryBackToSnapshotCommand throw exception: j...
Keywords:
Status: CLOSED DUPLICATE of bug 854185
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Maor
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-22 09:20 UTC by Yoshinori Takahashi
Modified: 2018-12-01 14:49 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-16 11:58:22 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Allon Mureinik 2013-06-02 08:06:33 UTC
Maor, I have a feeling we already saw and fixed this in 3.2 - please check (and solve if not).

Comment 2 Maor 2013-06-16 11:58:22 UTC
This bug is a duplicate of https://bugzilla.redhat.com/854185.

We can see that the same exception occurs in the current bug [1] and in BZ854185 [2]:

[1]
2013-05-16 17:18:57,003 ERROR [org.ovirt.engine.core.bll.TryBackToSnapshotCommand] (ajp-/127.0.0.1:8702-13) [696ff4a4] Command org.ovirt.engine.core.bll.TryBackToSnapshotCommand throw exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:604) [rt.jar:1.7.0_09-icedtea]
	at java.util.ArrayList.get(ArrayList.java:382) [rt.jar:1.7.0_09-icedtea]
	at org.ovirt.engine.core.bll.BaseImagesCommand.findImageForSameDrive(BaseImagesCommand.java:218) [engine-bll.jar:]

[2]
2012-09-04 15:18:28,049 ERROR [org.ovirt.engine.core.bll.TryBackToSnapshotCommand] (ajp-/127.0.0.1:8009-13) [6bd0a119] Command org.ovirt.engine.core.bll.TryBackToSnapshotCommand throw exception: java.lang.IndexOutOfBoundsException:
....
org.ovirt.engine.core.bll.BaseImagesCommand.findImageForSameDrive(BaseImagesCommand.java:218) [engine-bll.jar:]

Also tried to reproduce it on the upstream and no exception was thrown.

*** This bug has been marked as a duplicate of bug 854185 ***


Note You need to log in before you can comment on or make changes to this bug.