Bug 564521

Summary: Metric table links throw exception for autogroups
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: DatabaseAssignee: John Sanda <jsanda>
Status: CLOSED WORKSFORME QA Contact: Ondřej Žižka <ozizka>
Severity: high Docs Contact:
Priority: high    
Version: 1.3Keywords: SubBug
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-20 06:55:08 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 565628, 591531    
Description Flags
HQL stacktrace
JSP stacktrace
HQL error page
Prev page screenshot (just to make sure :) none

Description Ondřej Žižka 2010-02-12 18:38:58 EST
Happens when clicking a link in a metrics table of an autogroup:

1) Click on some agent's autogroup, e.g. File System
3) Click some link.
4) You'll get the page with report about HQL syntax error.

org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [SELECT ms FROM org.rhq.core.domain.measurement.MeasurementSchedule ms WHERE ms.definition.id IN (:definitionIds) AND ms.resource.id IN ()]

Full stack trace attached.
Comment 1 Ondřej Žižka 2010-02-12 18:40:37 EST
Created attachment 390605 [details]
HQL stacktrace
Comment 2 Ondřej Žižka 2010-02-12 18:42:52 EST
Created attachment 390606 [details]
JSP stacktrace
Comment 3 Ondřej Žižka 2010-02-12 18:46:15 EST
Created attachment 390607 [details]
HQL error page
Comment 4 Ondřej Žižka 2010-02-12 18:47:12 EST
Created attachment 390608 [details]
Prev page screenshot (just to make sure :)
Comment 5 wes hayutin 2010-02-16 11:56:30 EST
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

new = Tracking + FutureFeature + SubBug
Comment 6 wes hayutin 2010-02-16 12:01:43 EST
making sure we're not missing any bugs in rhq_triage
Comment 7 John Sanda 2010-05-20 06:55:08 EDT
I tested this with a tomcat war autogroup from an EWS installation running on a F12 box, similar to the screenshot provided in commnent 4. I was unable to reproduce this bug. I am closing this out as it appears to have been resolved since it was originally reported.