bloxbean / cardano-client-lib

Cardano client library in Java
https://cardano-client.dev
MIT License
120 stars 51 forks source link

GraalVM 21.x issue #332

Open matiwinnetou opened 1 year ago

matiwinnetou commented 1 year ago
2023-09-28T23:10:01.955+02:00  INFO 21187 --- [   scheduling-1] o.c.f.v.s.t.L1TransactionCreator         : Full metadata:a1192b69a8636b65798378406135303130313032353831646530316438313366643461623963316535663761333564613136663735633265363634656466623261313237666331376134613778406562626665653033323732303036323135383230633438323134393963656639366564613963303063646430626662636432616266376430393433366164343274346163373238383635336138623432353230313464747970656b434f4d4d49544d454e545366666f726d6174664349502d3330677061796c6f6164a464747970656b434f4d4d49544d454e54536b636f6d6d69746d656e7473a1781e4349502d313639345f5072655f526174696669636174696f6e5f59414349a164686173687840393062326162623931383231343161623538303938336336393261663436356138363134383730643936323438333931383038373263316633623635633238656c6372656174696f6e536c6f741912e86d736368656d6156657273696f6e65312e302e306868617368547970656b424c414b4532425f323234697369676e617475726586784038343538346161333031323730343538316465303164383133666434616239633165356637613335646131366637356332653636346564666232613132376663784031376134613765626266656536373631363436343732363537333733353831646530316438313366643461623963316535663761333564613136663735633265784036363465646662326131323766633137613461376562626665656131363636383631373336383635363466343538316363336465366464333631653032386230784063653963336137326562333265376439306363333463626162393137663938353462323836646266353834306562626530356535663161346261303364376139784036313132613730393561343835623765326461393866353534396632643036393062303139666434396239303631666536616430636565346464396237346335782c336265636163653763356639643836303032303636356364613862313636336136623731396462613436303069737562466f726d61746443424f526d7369676e61747572655479706569484153485f4f4e4c59
2023-09-28T23:10:01.955+02:00 ERROR 21187 --- [   scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task

org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively access the proxy class inheriting [com.bloxbean.cardano.client.backend.blockfrost.service.http.AddressesApi] without it being registered for runtime reflection. Add [com.bloxbean.cardano.client.backend.blockfrost.service.http.AddressesApi] to the dynamic-proxy metadata to solve this problem. Note: The order of interfaces used to create proxies matters. See https://www.graalvm.org/latest/reference-manual/native-image/metadata/#dynamic-proxy for help.
    at org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.forProxy(MissingReflectionRegistrationUtils.java:89) ~[na:na]
    at org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.proxy.DynamicProxySupport.getProxyClass(DynamicProxySupport.java:176) ~[na:na]
    at java.base@21/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:47) ~[vote-commitment-service:na]
    at java.base@21/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1034) ~[vote-commitment-service:na]
    at retrofit2.Retrofit.create(Retrofit.java:143) ~[vote-commitment-service:na]
    at com.bloxbean.cardano.client.backend.blockfrost.service.BFUtxoService.<init>(BFUtxoService.java:23) ~[na:na]
    at com.bloxbean.cardano.client.backend.blockfrost.service.BFBackendService.getUtxoService(BFBackendService.java:33) ~[na:na]
    at com.bloxbean.cardano.client.quicktx.QuickTxBuilder.<init>(QuickTxBuilder.java:90) ~[na:na]
    at org.cardano.foundation.voting.service.transaction_submit.L1TransactionCreator.serialiseTransaction(L1TransactionCreator.java:108) ~[vote-commitment-service:na]
    at org.cardano.foundation.voting.service.transaction_submit.L1TransactionCreator.lambda$submitMerkleCommitments$0(L1TransactionCreator.java:65) ~[vote-commitment-service:na]
    at io.vavr.control.Either.map(Either.java:402) ~[vote-commitment-service:na]
    at org.cardano.foundation.voting.service.transaction_submit.L1TransactionCreator.submitMerkleCommitments(L1TransactionCreator.java:59) ~[vote-commitment-service:na]
    at org.cardano.foundation.voting.service.transaction_submit.L1SubmissionService.submitMerkleCommitments(L1SubmissionService.java:25) ~[vote-commitment-service:na]
    at org.cardano.foundation.voting.service.merkle_tree.VoteCommitmentService.processVotesForAllEvents(VoteCommitmentService.java:56) ~[vote-commitment-service:na]
    at org.cardano.foundation.voting.jobs.VoteCommitmentJob.run(VoteCommitmentJob.java:29) ~[vote-commitment-service:na]
    at java.base@21/java.lang.reflect.Method.invoke(Method.java:580) ~[vote-commitment-service:na]
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[na:na]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196) ~[vote-commitment-service:6.0.11]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[vote-commitment-service:6.0.11]
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:756) ~[na:na]
    at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) ~[na:na]
    at io.micrometer.core.aop.TimedAspect.processWithTimer(TimedAspect.java:227) ~[vote-commitment-service:1.11.3]
    at io.micrometer.core.aop.TimedAspect.perform(TimedAspect.java:202) ~[vote-commitment-service:1.11.3]
    at io.micrometer.core.aop.TimedAspect.timedMethod(TimedAspect.java:194) ~[vote-commitment-service:1.11.3]