Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8149790

NegativeArraySizeException with hprof

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description


      Exception in thread "main" java.lang.NegativeArraySizeException
      at jdk.test.lib.hprof.model.JavaObjectArray.readValue(JavaObjectArray.java:167)
      at jdk.test.lib.hprof.model.JavaLazyReadObject.getValue(JavaLazyReadObject.java:72)
      at jdk.test.lib.hprof.model.JavaObjectArray.getElements(JavaObjectArray.java:91)
      at jdk.test.lib.hprof.model.JavaObjectArray.visitReferencedObjects(JavaObjectArray.java:117)
      at jdk.test.lib.hprof.model.Snapshot.calculateReferencesToObjects(Snapshot.java:323)
      at jdk.test.lib.hprof.model.Snapshot.resolve(Snapshot.java:291)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:87)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
      at jdk.test.lib.hprof.HprofParser.main(HprofParser.java:47)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gtriantafill George Triantafillou (Inactive)
              Reporter:
              jgeorge Jini George (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: