Why is deploying the secure tunnel component failing when running greengrass in a container?

0

Hello,

I am experimenting with running greengrass 2.12.5 in a container on a raspberrypi CM4. My work is based on the greengrass container example provided in the aws-greengrass-docker repository on Github. The container in this example is based on the amazon linux 2023. Amazon linux 2023 will only work on raspberrypi platforms that are 5 or newer due to requiring a secure enclave, which the CM4 does not have. Therefore, I have modified the Dockerfile to be based on alpine linux 3.20.0. Here is the Dockerfile I am working with:

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0

FROM alpine:3.20.0

# Replace the args to lock to a specific version
ARG GREENGRASS_RELEASE_VERSION=2.12.5
ARG GREENGRASS_ZIP_FILE=greengrass-${GREENGRASS_RELEASE_VERSION}.zip
ARG GREENGRASS_RELEASE_URI=https://d2s8p88vqu9w66.cloudfront.net/releases/${GREENGRASS_ZIP_FILE}

# Author
LABEL maintainer="AWS IoT Greengrass"
# Greengrass Version
LABEL greengrass-version=${GREENGRASS_RELEASE_VERSION}

# Set up Greengrass v2 execution parameters
# TINI_KILL_PROCESS_GROUP allows forwarding SIGTERM to all PIDs in the PID group so Greengrass can exit gracefully
ENV TINI_KILL_PROCESS_GROUP=1 \ 
    GGC_ROOT_PATH=/greengrass/v2 \
    PROVISION=false \
    AWS_REGION=us-east-1 \
    THING_NAME=default_thing_name \
    THING_GROUP_NAME=default_thing_group_name \
    TES_ROLE_NAME=default_tes_role_name \
    TES_ROLE_ALIAS_NAME=default_tes_role_alias_name \
    COMPONENT_DEFAULT_USER=default_component_user \
    DEPLOY_DEV_TOOLS=false \
    INIT_CONFIG=default_init_config \
    TRUSTED_PLUGIN=default_trusted_plugin_path \
    THING_POLICY_NAME=default_thing_policy_name
RUN env

# Entrypoint script to install and run Greengrass
COPY "greengrass-entrypoint.sh" /

# Install Greengrass v2 dependencies
# Docker & compose is needed for the Greengrass Docker Application Manager component
# More info on installing amazon corretto 11 on alpine linux here https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/generic-linux-install.html#alpine-linux-install-instruct
RUN wget -O /etc/apk/keys/amazoncorretto.rsa.pub  https://apk.corretto.aws/amazoncorretto.rsa.pub && \
    echo "https://apk.corretto.aws/" >> /etc/apk/repositories && \
    apk update && \
    apk add sudo procps shadow python3 amazon-corretto-11 docker docker-compose openrc gcompat && \
    wget $GREENGRASS_RELEASE_URI && \
    chmod +x /greengrass-entrypoint.sh && \
    mkdir -p /opt/greengrassv2 $GGC_ROOT_PATH && unzip $GREENGRASS_ZIP_FILE -d /opt/greengrassv2 && rm $GREENGRASS_ZIP_FILE
RUN rc-update add docker boot

# modify /etc/sudoers
COPY "modify-sudoers.sh" /
RUN chmod +x /modify-sudoers.sh
RUN ./modify-sudoers.sh

ENTRYPOINT ["/greengrass-entrypoint.sh"]

With this setup, I am able to run greengrass in a container on the target without issue. Greengrass initiates JITP for me, the device connects to AWS IoT core and I am then able to update greengrass nucleus to 2.12.6 by issuing a deployment. All good so far.

I revised the deployment in AWS management console to include the secure tunnel component and attempted to do a new deployment. I see that the deployment fails. I inspect the component log /greengrass/v2/logs/aws.greengrass.SecureTunneling.log. This log leads me to inspect some additional logs such as /greengrass/v2/work/aws.greengrass.SecureTunneling/hs_err_pid157.log.

I have spent some time reviewing these logs but the fix let alone the issue remains unclear to me. Before I moved to running greengrass in a container, I had it running directly on the rootfs by way of the meta-aws yocto layer and secure tunneling worked fine without any issue.

Why is the deployment of the secure tunnel component failing when greengrass is running in a container?

I will include logs in the comments below for more context.

  • Hello, Were you able to deploy any other greengrass component on the container? From the details you have shared I am not sure if the issue is in (a) your device setup or (b) if Greengrass nucleus failing to deploy component on the container or (c) if Secure Tunneling component is failing to start after deploying the component.

    Have you tried deploying any other component on your device container to is if it works or not?

  • I am able to successfully deploy the greengrass CLI and I have also been able to deploy the nucleus component itself, updating it from 2.12.5 to 2.12.6. I have not tried any other components.

  • Here is the command i am using to launch the greengrass container.

    docker run --rm --init -d -t --name aws-iot-greengrass -v /data/greengrass/config:/tmp/config:ro -v /data/greengrass/auth:/tmp/auth:ro --env-file /etc/greengrass/config/config.env --network=host arm64/aws-iot-greengrass:2.12.5

mpung
asked 18 days ago239 views
3 Answers
1
Accepted Answer

This isn't as much an answer as a workaround but I was able to get this to work by basing the greengrass container on debian slim instead of alpine. Something in the AWS stack does not like MUSL and it is causing issues.

mpung
answered 14 days ago
profile picture
EXPERT
reviewed 3 days ago
0

Here is the /greengrass/v2/logs/aws.greengrass.SecureTunneling.log.

2024-05-30T15:57:55.158Z [INFO] (pool-3-thread-17) aws.greengrass.SecureTunneling: shell-runner-start. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=STARTING, command=["java -jar /greengrass/v2/packages/artifacts/aws.greengrass.SecureTunneling/1.0..."]}
2024-05-30T15:57:58.174Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. [INFO ] 2024-05-30 15:57:58.164 [main] SecureTunneling - Starting secure tunneling component!. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.635Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.636Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # A fatal error has been detected by the Java Runtime Environment:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.637Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.638Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #  SIGSEGV (0xb) at pc=0x0000000000070da0, pid=157, tid=160. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.639Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.640Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # JRE version: OpenJDK Runtime Environment Corretto-11.0.23.9.1 (11.0.23+9) (build 11.0.23+9-LTS). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.641Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.23.9.1 (11.0.23+9-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.642Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # Problematic frame:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.643Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # C  0x0000000000070da0. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.645Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.646Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.647Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.649Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # An error report file with more information is saved as:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.650Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # /greengrass/v2/work/aws.greengrass.SecureTunneling/hs_err_pid157.log. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.680Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.680Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # If you would like to submit a bug report, please visit:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.680Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #   https://github.com/corretto/corretto-11/issues/. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.681Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # The crash happened outside the Java Virtual Machine in native code.. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.682Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # See problematic frame for where to report the bug.. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.682Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.707Z [INFO] (Copier) aws.greengrass.SecureTunneling: Run script exited. {exitCode=134, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:57:58.742Z [INFO] (pool-3-thread-14) aws.greengrass.SecureTunneling: shell-runner-start. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=STARTING, command=["java -jar /greengrass/v2/packages/artifacts/aws.greengrass.SecureTunneling/1.0..."]}
2024-05-30T15:58:01.476Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. [INFO ] 2024-05-30 15:58:01.468 [main] SecureTunneling - Starting secure tunneling component!. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.944Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.944Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # A fatal error has been detected by the Java Runtime Environment:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.945Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.946Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #  SIGSEGV (0xb) at pc=0x0000000000070da0, pid=182, tid=183. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.946Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.947Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # JRE version: OpenJDK Runtime Environment Corretto-11.0.23.9.1 (11.0.23+9) (build 11.0.23+9-LTS). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.947Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.23.9.1 (11.0.23+9-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.948Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # Problematic frame:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.949Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # C  0x0000000000070da0. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.951Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.952Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.953Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.954Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # An error report file with more information is saved as:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.954Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # /greengrass/v2/work/aws.greengrass.SecureTunneling/hs_err_pid182.log. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.993Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.994Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # If you would like to submit a bug report, please visit:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.994Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #   https://github.com/corretto/corretto-11/issues/. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.995Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # The crash happened outside the Java Virtual Machine in native code.. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.995Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # See problematic frame for where to report the bug.. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:01.995Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:02.028Z [INFO] (Copier) aws.greengrass.SecureTunneling: Run script exited. {exitCode=134, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:02.047Z [INFO] (pool-3-thread-14) aws.greengrass.SecureTunneling: shell-runner-start. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=STARTING, command=["java -jar /greengrass/v2/packages/artifacts/aws.greengrass.SecureTunneling/1.0..."]}
2024-05-30T15:58:04.739Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. [INFO ] 2024-05-30 15:58:04.731 [main] SecureTunneling - Starting secure tunneling component!. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.182Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.182Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # A fatal error has been detected by the Java Runtime Environment:. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.183Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.183Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #  SIGSEGV (0xb) at pc=0x0000000000070da0, pid=205, tid=206. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.183Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. #. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.184Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # JRE version: OpenJDK Runtime Environment Corretto-11.0.23.9.1 (11.0.23+9) (build 11.0.23+9-LTS). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
2024-05-30T15:58:05.184Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. # Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.23.9.1 (11.0.23+9-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64). {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling
mpung
answered 18 days ago
0

Here is a potentially relevant snippet of /greengrass/v2/work/aws.greengrass.SecureTunneling/hs_err_pid157.log.

Internal exceptions (19 events):
Event: 0.622 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84318c8}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c84318c8) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 0.653 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84503d8}: 'void java.lang.invoke.DelegatingMethodHandle$Holder.delegate(java.lang.Object, java.lang.Object, int, java.lang.Object)'> (0x00000000c84503d8) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 0.732 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000c8491e20}: Found class java.lang.Object, but interface was expected> (0x00000000c8491e20) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 839]
Event: 0.786 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84ca4b8}: 'java.lang.Object java.lang.invoke.Invokers$Holder.linkToTargetMethod(java.lang.Object, java.lang.Object, int, java.lang.Object, java.lang.Object)'> (0x00000000c84ca4b8) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.031 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c8278608}: 'java.lang.Object java.lang.invoke.Invokers$Holder.linkToTargetMethod(java.lang.Object, java.lang.Object, int, int, java.lang.Object, java.lang.Object)'> (0x00000000c8278608) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.354 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c7d6bc68}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c7d6bc68) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.911 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c86fa320}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c86fa320) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.919 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c85088b0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c85088b0) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, lin
Event: 1.927 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c8517a60}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, int, int, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c8517a60) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.928 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c851aff0}: 'java.lang.Object java.lang.invoke.DelegatingMethodHandle$Holder.reinvoke_L(java.lang.Object, int, int, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c851aff0) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.931 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c851f270}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int)'> (0x00000000c851f270) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 1.949 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c854b470}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int, int, java.lang.Object)'> (0x00000000c854b470) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.123 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84aacd0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int)'> (0x00000000c84aacd0) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.134 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84c8bd0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int, int)'> (0x00000000c84c8bd0) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.144 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c84e7960}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int, int, java.lang.Object)'> (0x00000000c84e7960) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.155 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c8308b58}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int, int, java.lang.Object, java.lang.Object)'> (0x00000000c8308b58) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.394 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c82c0948}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c82c0948) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.530 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c8197510}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeInterface(java.lang.Object, java.lang.Object)'> (0x00000000c8197510) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 772]
Event: 2.531 Thread 0x0000007fb9d2e800 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000c819a170}: Found class java.lang.Object, but interface was expected> (0x00000000c819a170) thrown at [src/hotspot/share/interpreter/linkResolver.cpp, line 839]

mpung
answered 18 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions