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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-20 10:55:08 UTC Type: ---
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:    
Bug Blocks: 565628, 591531    
Attachments:
Description Flags
HQL stacktrace
none
JSP stacktrace
none
HQL error page
none
Prev page screenshot (just to make sure :) none

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

1) Click on some agent's autogroup, e.g. File System
2) Go to MONITOR / TABLES
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 23:40:37 UTC
Created attachment 390605 [details]
HQL stacktrace

Comment 2 Ondřej Žižka 2010-02-12 23:42:52 UTC
Created attachment 390606 [details]
JSP stacktrace

Comment 3 Ondřej Žižka 2010-02-12 23:46:15 UTC
Created attachment 390607 [details]
HQL error page

Comment 4 Ondřej Žižka 2010-02-12 23:47:12 UTC
Created attachment 390608 [details]
Prev page screenshot (just to make sure :)

Comment 5 wes hayutin 2010-02-16 16:56:30 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 6 wes hayutin 2010-02-16 17:01:43 UTC
making sure we're not missing any bugs in rhq_triage

Comment 7 John Sanda 2010-05-20 10:55:08 UTC
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.