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

Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 22
    • 21
    • core-svc

    Description

      Test: com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java

      Log shows:

      ----------stderr:(2/1617)*----------
      A\u0000s\u0000s\u0000e\u0000r\u0000t\u0000i\u0000o\u0000n\u0000 \u0000f\u0000a\u0000i\u0000l\u0000e\u0000d\u0000:\u0000 \u0000c\u0000u\u0000r\u0000r\u0000e\u0000n\u0000t\u0000Q\u0000u\u0000e\u0000r\u0000y\u0000I\u0000n\u0000d\u0000e\u0000x\u0000 \u0000>\u0000=\u0000 \u00000\u0000 \u0000&\u0000&\u0000 \u0000c\u0000u\u0000r\u0000r\u0000e\u0000n\u0000t\u0000Q\u0000u\u0000e\u0000r\u0000y\u0000I\u0000n\u0000d\u0000e\u0000x\u0000 \u0000<\u0000 \u0000n\u0000u\u0000m\u0000b\u0000e\u0000r\u0000O\u0000f\u0000J\u0000a\u0000v\u0000a\u0000P\u0000r\u0000o\u0000c\u0000e\u0000s\u0000s\u0000e\u0000s\u0000A\u0000t\u0000I\u0000n\u0000i\u0000t\u0000i\u0000a\u0000l\u0000i\u0000z\u0000a\u0000t\u0000i\u0000o\u0000n\u0000,\u0000 \u0000f\u0000i\u0000l\u0000e\u0000 \u0000c\u0000:\u0000\\\u0000s\u0000b\u0000\\\u0000p\u0000r\u0000o\u0000d\u0000\\\u00001\u00006\u00007\u00002\u00007\u00004\u00007\u00007\u00006\u00005\u0000\\\u0000w\u0000o\u0000r\u0000k\u0000s\u0000p\u0000a\u0000c\u0000e\u0000\\\u0000o\u0000p\u0000e\u0000n\u0000\\\u0000s\u0000r\u0000c\u0000\\\u0000j\u0000d\u0000k\u0000.\u0000m\u0000a\u0000n\u0000a\u0000g\u0000e\u0000m\u0000e\u0000n\u0000t\u0000\\\u0000w\u0000i\u0000n\u0000d\u0000o\u0000w\u0000s\u0000\\\u0000n\u0000a\u0000t\u0000i\u0000v\u0000e\u0000\\\u0000l\u0000i\u0000b\u0000m\u0000a\u0000n\u0000a\u0000g\u0000e\u0000m\u0000e\u0000n\u0000t\u0000_\u0000e\u0000x\u0000t\u0000\\\u0000O\u0000p\u0000e\u0000r\u0000a\u0000t\u0000i\u0000n\u0000g\u0000S\u0000y\u0000s\u0000t\u0000e\u0000m\u0000I\u0000m\u0000p\u0000l\u0000.\u0000c\u0000,\u0000 \u0000l\u0000i\u0000n\u0000e\u0000 \u00007\u00007\u00009\u0000
      \u0000
      result: Error. Agent communication error: java.net.SocketException: Connection reset;

      But if we get rid of all those embedded nuls (where did they come from??) we get:

      Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization, file c:\\sb\\prod\\1672747765\\workspace\\open\\src\\jdk.management\\windows\\native\\libmanagement_ext\\OperatingSystemImpl.c, line 779

      Attachments

        Issue Links

          Activity

            People

              kevinw Kevin Walls
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: