[teiid-issues] [JBoss JIRA] (TEIID-2435) Calling getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE") produces IllegalArgumentException
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Mon Apr 1 11:44:42 EDT 2013
[ https://issues.jboss.org/browse/TEIID-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy resolved TEIID-2435.
---------------------------------
Labels: alpha1 (was: )
Resolution: Done
The client was reading the results as if they were sent in array form , where as they were sent as single objects, thus failing to read and throws error. Fixed the code to read correctly.
> Calling getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE") produces IllegalArgumentException
> -----------------------------------------------------------------------------------------
>
> Key: TEIID-2435
> URL: https://issues.jboss.org/browse/TEIID-2435
> Project: Teiid
> Issue Type: Bug
> Components: AdminApi
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Labels: alpha1
> Fix For: 8.4
>
> Attachments: CacheStats.groovy
>
>
> Making the following groovy script call using adminshell:
> CacheStatistics startCache
> try {
> startCache = getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
> }
> catch ( Exception e ) {
> println( "Exception: " + e.getMessage() )
> }
>
> produces this error: Exception: TEIID70013 java.lang.IllegalArgumentException
> see attachment for groovy script that was run.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list