Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1974

Exception Obtaining RepositoryStatistics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.4.0.Final, 3.3.x-prod-ip6.0
    • 3.4.0.Final
    • JCR
    • None

    Description

      I put a printout in and rebuilt standalone and installed in EAP 6.1. The stderr printout I inserted on line 513 of RepositoryStatistics.

      17:03:58,959 ERROR [stderr] (HttpManagementService-threads - 4) startingIndex=25, size=24, numAfterStartingIndex=-1, numBeforeStartingIndex=25
      17:03:58,959 ERROR [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 4) JBAS014612: Operation ("read-attribute") failed - address: ([
          {"subsystem" => "modeshape"},
          {"repository" => "sample"}
      ]): java.lang.ArrayIndexOutOfBoundsException
      	at java.lang.System.arraycopy(Native Method) [classes.jar:1.6.0_45]
      	at org.modeshape.jcr.RepositoryStatistics$MetricHistory.copyStatistics(RepositoryStatistics.java:514)
      	at org.modeshape.jcr.RepositoryStatistics$MetricHistory.getHistory(RepositoryStatistics.java:488)
      	at org.modeshape.jcr.RepositoryStatistics.getHistory(RepositoryStatistics.java:283)
      	at org.modeshape.jboss.metric.GetDurationMetric.history(GetDurationMetric.java:62)
      	at org.modeshape.jboss.metric.ModeShapeMetricHandler.executeRuntimeStep(ModeShapeMetricHandler.java:63)
      

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: