Picon
Favicon

[Created] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position

QueryStat getPopularQueries doesn't set the proper position
-----------------------------------------------------------

                 Key: JCR-3234
                 URL: https://issues.apache.org/jira/browse/JCR-3234
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
         Environment: Embarrassing copy/paste error. I was updating the wrong array and the position info was
never returned.

This made any jmx client to fail with:
at javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871)
	at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331)
	at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323)
	at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103)
            Reporter: Alex Parvulescu
            Priority: Trivial
             Fix For: 2.5

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Picon
Favicon

[Resolved] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position


     [
https://issues.apache.org/jira/browse/JCR-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved JCR-3234.
----------------------------------

    Resolution: Fixed

fixed in revision 1242779

> QueryStat getPopularQueries doesn't set the proper position
> -----------------------------------------------------------
>
>                 Key: JCR-3234
>                 URL: https://issues.apache.org/jira/browse/JCR-3234
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>         Environment: Embarrassing copy/paste error. I was updating the wrong array and the position info was
never returned.
> This made any jmx client to fail with:
> at javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871)
> 	at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331)
> 	at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323)
> 	at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103)
>            Reporter: Alex Parvulescu
>            Priority: Trivial
>             Fix For: 2.5
>
(Continue reading)

Picon
Favicon

[Updated] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position


     [
https://issues.apache.org/jira/browse/JCR-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated JCR-3234:
---------------------------------

      Description: 
Embarrassing copy/paste error. I was updating the wrong array and the position info was never returned. 

This made any jmx client to fail with: 
at
javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871) 
at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331) 
at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323) 
at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103)
      Environment:     (was: Embarrassing copy/paste error. I was updating the wrong array and the position info
was never returned.

This made any jmx client to fail with:
at javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871)
	at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331)
	at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323)
	at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103))
    Fix Version/s:     (was: 2.5)
                   2.4.1

> QueryStat getPopularQueries doesn't set the proper position
> -----------------------------------------------------------
>
(Continue reading)

Picon
Favicon

[Commented] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position


    [
https://issues.apache.org/jira/browse/JCR-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205472#comment-13205472
] 

Alex Parvulescu commented on JCR-3234:
--------------------------------------

I'd like to see this into 2.4.1 as it is a really small change

> QueryStat getPopularQueries doesn't set the proper position
> -----------------------------------------------------------
>
>                 Key: JCR-3234
>                 URL: https://issues.apache.org/jira/browse/JCR-3234
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Priority: Trivial
>             Fix For: 2.4.1
>
>
> Embarrassing copy/paste error. I was updating the wrong array and the position info was never returned. 
> This made any jmx client to fail with: 
> at
javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871) 
> at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331) 
> at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323) 
> at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103)
(Continue reading)

Picon
Favicon

[Updated] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position


     [
https://issues.apache.org/jira/browse/JCR-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated JCR-3234:
---------------------------------

    Comment: was deleted

(was: I'd like to see this into 2.4.1 as it is a really small change)

> QueryStat getPopularQueries doesn't set the proper position
> -----------------------------------------------------------
>
>                 Key: JCR-3234
>                 URL: https://issues.apache.org/jira/browse/JCR-3234
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Priority: Trivial
>             Fix For: 2.5
>
>
> Embarrassing copy/paste error. I was updating the wrong array and the position info was never returned. 
> This made any jmx client to fail with: 
> at
javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871) 
> at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331) 
> at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323) 
(Continue reading)

Picon
Favicon

[Updated] (JCR-3234) QueryStat getPopularQueries doesn't set the proper position


     [
https://issues.apache.org/jira/browse/JCR-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated JCR-3234:
---------------------------------

    Fix Version/s:     (was: 2.4.1)
                   2.5

> QueryStat getPopularQueries doesn't set the proper position
> -----------------------------------------------------------
>
>                 Key: JCR-3234
>                 URL: https://issues.apache.org/jira/browse/JCR-3234
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Priority: Trivial
>             Fix For: 2.5
>
>
> Embarrassing copy/paste error. I was updating the wrong array and the position info was never returned. 
> This made any jmx client to fail with: 
> at
javax.management.openmbean.TabularDataSupport.checkValueAndIndex(TabularDataSupport.java:871) 
> at javax.management.openmbean.TabularDataSupport.internalPut(TabularDataSupport.java:331) 
> at javax.management.openmbean.TabularDataSupport.put(TabularDataSupport.java:323) 
> at org.apache.jackrabbit.core.jmx.QueryStatManager.asTabularData(QueryStatManager.java:103)
(Continue reading)


Gmane