Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-882

Exception running under JDK 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 10.0
    • 10.0
    • None

    Description

      Installed some modules and got this - no code no nothing done..

      javax.management.openmbean.OpenDataException: Argument value of wrong type for item lineNumber: value java.lang.ref.Reference, type javax.management.openmbean.SimpleType(name=java.lang.Integer)
      at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:235)
      at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118)
      at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
      Caused: java.lang.AssertionError
      at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
      at java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
      at java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
      at java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
      Caused: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
      Caused: java.lang.RuntimeException
      at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
      at org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
      at org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
      at org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
      at org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
      at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
      at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
      [catch] at org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        1. exception_on_openjdk11.txt
          70 kB
          Gilberto C Andrade
        2. image-2018-05-30-11-34-53-526.png
          14 kB
          Rami Swailem
        3. image-2018-05-30-12-20-16-090.png
          18 kB
          Rami Swailem
        4. image-2018-09-18-11-15-45-588.png
          275 kB
          Gilberto C Andrade
        5. Screenshot_20180918_104806.png
          235 kB
          Gilberto C Andrade
        6. Screenshot_20180918_104851.png
          989 kB
          Gilberto C Andrade
        7. Screenshot_20181002_095023.png
          157 kB
          Gilberto C Andrade

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sreimers Sven Reimers
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: