Bug 1107727
| Summary: | NullPointerException raised while perform REST API request api/vms/***/applications for VM under load | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yuri Obshansky <yobshans> | ||||||
| Component: | ovirt-engine-restapi | Assignee: | Juan Hernández <juan.hernandez> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shai Revivo <srevivo> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 3.4.0 | CC: | acathrow, bazulay, gklein, iheim, oramraz, pstehlik, Rhev-m-bugs, yeylon | ||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||
| Target Release: | 3.5.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | infra | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-07-08 18:51:15 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Yuri Obshansky
2014-06-10 13:31:55 UTC
Created attachment 907262 [details]
Engine.log
Created attachment 907263 [details]
Server.log
The only way this can happen is if the list of applications of the VM contains empty strings. In that case the RESTAPI will try to convert those empty strings to dummy UUIDs, and that will trigger a division by zero in the corresponding constructor of the Guid class. The solution to that is to avoid considering empty strings as valid application names. This was already done as part of the fix for bug 1092380, and included in 3.4.0-17. This bug was reported with 3.4.0-0.16.rc.el6ev, so I'm closing it fixed in the current release. |