java.lang.IllegalArgumentException: Could not find field with name class at jdk.jfr.consumer.RecordedObject.getValue(jdk.jfr@9-internal/RecordedObject.java:161)

JDK Bug System | Joseph Provino | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    stderr: [Exception in thread "main" java.lang.IllegalArgumentException: Could not find field with name class at jdk.jfr.consumer.RecordedObject.getValue(jdk.jfr@9-internal/RecordedObject.java:161) at closed.compiler.compilercontrol.InlineAction.makeMethod(InlineAction.java:217) at closed.compiler.compilercontrol.InlineAction.lambda$matchEvents$5(InlineAction.java:208) at java.util.stream.ReferencePipeline$2$1.accept(java.base@9-internal/ReferencePipeline.java:176) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@9-internal/ArrayList.java:1477) at java.util.stream.AbstractPipeline.copyInto(java.base@9-internal/AbstractPipeline.java:484) at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@9-internal/AbstractPipeline.java:474) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(java.base@9-internal/ReduceOps.java:913) at java.util.stream.AbstractPipeline.evaluate(java.base@9-internal/AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(java.base@9-internal/ReferencePipeline.java:511) at closed.compiler.compilercontrol.InlineAction.matchEvents(InlineAction.java:210) at closed.compiler.compilercontrol.InlineAction.checkMethod(InlineAction.java:115) at closed.compiler.compilercontrol.InlineAction.lambda$test$2(InlineAction.java:91) at java.util.ArrayList.forEach(java.base@9-internal/ArrayList.java:1352) at closed.compiler.compilercontrol.InlineAction.test(InlineAction.java:91) at closed.compiler.compilercontrol.ExtendedBaseAction.check(ExtendedBaseAction.java:25) at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:100) at closed.compiler.compilercontrol.ExtendedBaseAction.main(ExtendedBaseAction.java:16)

    JDK Bug System | 6 months ago | Joseph Provino
    java.lang.IllegalArgumentException: Could not find field with name class at jdk.jfr.consumer.RecordedObject.getValue(jdk.jfr@9-internal/RecordedObject.java:161)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Could not find field with name class at jdk.jfr.consumer.RecordedObject.getValue(jdk.jfr@9-internal/RecordedObject.java:161)

      at closed.compiler.compilercontrol.InlineAction.makeMethod()
    2. closed.compiler.compilercontrol
      InlineAction.lambda$matchEvents$5
      1. closed.compiler.compilercontrol.InlineAction.makeMethod(InlineAction.java:217)
      2. closed.compiler.compilercontrol.InlineAction.lambda$matchEvents$5(InlineAction.java:208)
      2 frames