[teiid-issues] [JBoss JIRA] (TEIID-2435) Calling getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE") produces IllegalArgumentException

Van Halbert (JIRA) jira-events at lists.jboss.org
Thu Mar 14 10:01:46 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761167#comment-12761167 ] 

Van Halbert commented on TEIID-2435:
------------------------------------

There's no stack trace seen on the server side, and on the client, only the 1 line exception message.  A subsequent NPE stack trace is seen, only because the CacheStatistics object is null.
                
> 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: Steven Hawkins
>         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