Bug 535482 (RHQ-2172)

Summary: lang.IllegalStateException: Required request parameter 'durationComponentValue' is missing.
Product: [Other] RHQ Project Reporter: John Sefler <jsefler>
Component: MonitoringAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: cwelton, whayutin
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2172
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 19:53:20 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    

Description John Sefler 2009-06-24 16:48:00 UTC
Steps to Reproduce:
- goto the Monitor > Schedules page of any resource
- check a metric and enter a collection interval with a fractional amout (e.g.  1.5 Minutes) and click "Set"
The exception below is thrown:

Suggestion:
1. First verify a positive numeric value is supplied for collection interval
2. Verify that the value is greater than or equal to 30 seconds (since that appears to be the minumum interval time allowed)
3. Process the collection interval supplied by converting it into seconds and then taking the integer value.  In this way, if the user enters 1.5 Minutes, then its conversion to 90 seconds would be a valid collection interval.

HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.IllegalStateException: Required request parameter 'durationComponentValue' is missing.
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
	org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:532)
	org.rhq.enterprise.gui.legacy.WebUserTrackingFilter.doFilter(WebUserTrackingFilter.java:47)
	org.rhq.enterprise.gui.legacy.AuthenticationFilter.doFilter(AuthenticationFilter.java:129)
	org.rhq.enterprise.gui.common.upload.MultipartFilter.doFilter(MultipartFilter.java:63)
	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)


Comment 1 Red Hat Bugzilla 2009-11-10 20:59:14 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2172


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

keyword:
new = Tracking + FutureFeature + SubBug

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

Comment 4 wes hayutin 2010-02-16 21:09:47 UTC
Mass move to component = Monitoring

Comment 5 Corey Welton 2010-11-22 19:53:20 UTC
closing per gwt effort