Bug 564521 - Metric table links throw exception for autogroups
Summary: Metric table links throw exception for autogroups
Alias: None
Product: RHQ Project
Classification: Other
Component: Database
Version: 1.3
Hardware: All
OS: Linux
high vote
Target Milestone: ---
: ---
Assignee: John Sanda
QA Contact: Ondřej Žižka
Depends On:
Blocks: rhq_triage jon-sprint10-bugs
TreeView+ depends on / blocked
Reported: 2010-02-12 23:38 UTC by Ondřej Žižka
Modified: 2010-05-20 10:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-20 10:55:08 UTC

Attachments (Terms of Use)
HQL stacktrace (52.40 KB, text/html)
2010-02-12 23:40 UTC, Ondřej Žižka
no flags Details
JSP stacktrace (5.85 KB, text/html)
2010-02-12 23:42 UTC, Ondřej Žižka
no flags Details
HQL error page (186.42 KB, text/html)
2010-02-12 23:46 UTC, Ondřej Žižka
no flags Details
Prev page screenshot (just to make sure :) (43.64 KB, image/png)
2010-02-12 23:47 UTC, Ondřej Žižka
no flags Details

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
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.

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.

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