Bug 1074005
| Summary: | java bindings inspect_list_applications2 throws java.lang.ArrayIndexOutOfBoundsException: | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Richard W.M. Jones <rjones> |
| Component: | libguestfs | Assignee: | Pino Toscano <ptoscano> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | huzhan, jherrman, leiwang, maarten.fonville, mbooth, ptoscano, rbalakri, wshi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.20.11-12.el6 | Doc Type: | Bug Fix |
| Doc Text: |
In the Java binding, or APIs that return a list of objects different from String caused an ArrayIndexOutOfBoundsException exception to be triggered. The creation of the result list has been fixed, and these APIs now return the expected result.
|
Story Points: | --- |
| Clone Of: | 1073906 | Environment: | |
| Last Closed: | 2015-07-22 05:55:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1073906 | ||
| Bug Blocks: | |||
|
Description
Richard W.M. Jones
2014-03-07 16:12:50 UTC
Fixed upstream in: 6aa64ee3a3f1c990b5f9ce537f2b840273c3c1ba d00840d727e4040a7958ecc613599d6ec2851e53 8c219636a272c4288f22392ff27b9c04580aecb4 7a0e71f7331540809db5f539d1a9fe2af050c56a dff35285e491d1905d38c90d83fed98932cbc3b3 & regression test: ebf8a3654ac4a691d48199adb8e92e182012a8c2 1ba2e3e14aa6d58bff26646a1328969fda44610f Verified the issue.
Host Version:
kernel-2.6.32-504.el6.x86_64
Packages Version:
libguestfs-1.20.11-12.el6.x86_64
libguestfs-java-1.20.11-12.el6.x86_64
verify steps:
1. javac -classpath /usr/share/java/libguestfs-1.20.11.jar InspectVM.java
2. java -classpath /usr/share/java/libguestfs-1.20.11.jar:. InspectVM RHEL7.1.64-hvm.raw
Root device: /dev/rhel/root
Product name: Red Hat Enterprise Linux Server release 7.1 Beta (Maipo)
Version: 7.1
Type: linux
Distro: rhel
Number of apps installed = 497
ModemManager-glib 1.1.0 6.git20130913.el7
NetworkManager 0.9.11.0 7.git20141125.f32075d2.el7
NetworkManager-config-server 0.9.11.0 7.git20141125.f32075d2.el7
...
No ArrayIndexOutOfBoundsException error returned.
Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1444.html |