Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3007

OpenJDK 11 IncompatibleClassChangeError when Discovery Scan during start

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • None
    • JAVA11 1.0.0.GA
    • Java S2I
    • None

    Description

      During start there appears IncompatibleClassChangeError in hawkular pod:
      Exception in thread "Hawkular WildFly Agent Full Discovery Scan-Local JMX-1" java.lang.IncompatibleClassChangeError:
      Inconsistent constant pool data in classfile for class org/hawkular/inventory/api/model/InventoryStructure.
      Method lambda$getChildNodes$0(
      Lorg/hawkular/inventory/paths/RelativePath;
      Lorg/hawkular/inventory/paths/SegmentType;
      Lorg/hawkular/inventory/api/model/Entity$Blueprint
      Lorg/hawkular/inventory/api/model/InventoryStructure$FullNode;
      at index 93 is CONSTANT_MethodRef and should be CONSTANT_Inte
      at org.hawkular.inventory.api.model.InventoryStructure.getChildNodes(InventoryStructure.java:102)

      http://pastebin.test.redhat.com/665205
      I checked hawkular-javaagent-1.0.1.Final-redhat-2-shaded.jar, but this jar is unchanged compared to version in openjdk18-openshift:CLOUD-2869 ( that starts OK)

      Attachments

        Issue Links

          Activity

            People

              jdowland@redhat.com Jonathan Dowland
              penehyba Petr Nehyba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: