oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.25k stars 1.62k forks source link

[windows] NullPointerException: Cannot invoke "AllInstantiatedTypeFlow.addState(PointsToAnalysis, TypeState)" because "t.instantiatedTypes" is null #4476

Closed st4s1k closed 8 months ago

st4s1k commented 2 years ago

I'm not sure if this is a GraalVM issue or Gluon issue, sorry. I get a NPE when trying to build the project. It appeared after I tried to integrate spring-boot into the project. I had other issues which I fixed by creating this file resources/META-INF/substrate/config/initbuildtime but then the current issue appeared.

Expected Behavior

The build should not throw a NPE

Current Behavior

The build throws a NPE

[Mon Apr 04 00:56:12 EEST 2022][INFO] [SUB] [3/7] Building universe...                                                                               (4.9s @ 5.67GB)
[Mon Apr 04 00:56:19 EEST 2022][INFO] [SUB] [4/7] Parsing methods...      [***]                                                                      (6.5s @ 2.94GB)
[Mon Apr 04 00:56:28 EEST 2022][INFO] [SUB] [5/7] Inlining methods...     [*****]                                                                    (8.1s @ 2.83GB)
[Mon Apr 04 00:56:59 EEST 2022][INFO] [SUB] [6/7] Compiling methods...    [*****]                                                                   (31.1s @ 4.27GB)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] [7/7] Creating image...
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] Fatal error: com.oracle.svm.core.util.VMError$HostedError: java.lang.NullPointerException: Cannot invoke "com.oracle.graal.pointsto.flow.AllInstantiatedTypeFlow.addState(com.oracle.graal.pointsto.PointsToAnalysis, com.oracle.graal.pointsto.typestate.TypeState)" because "t.instantiatedTypes" is null
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:72)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:656)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:494)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:426)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:587)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:126)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:617)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] Caused by: java.lang.NullPointerException: Cannot invoke "com.oracle.graal.pointsto.flow.AllInstantiatedTypeFlow.addState(com.oracle.graal.pointsto.PointsToAnalysis, com.oracle.graal.pointsto.typestate.TypeState)" because "t.instantiatedTypes" is null
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.lambda$registerAsInstantiated$4(AnalysisType.java:443)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:526)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:512)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:508)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.registerAsInstantiated(AnalysisType.java:442)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.registerAsAllocated(AnalysisType.java:425)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.markReachable(AnalysisType.java:482)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:526)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:512)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.forAllSuperTypes(AnalysisType.java:508)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisType.registerAsReachable(AnalysisType.java:466)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.registerAsReachable(AnalysisConstantReflectionProvider.java:290)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.ameta.HostedDynamicHubFeature.replace(HostedDynamicHubFeature.java:53)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.graal.pointsto.meta.AnalysisUniverse.replaceObject(AnalysisUniverse.java:575)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.image.NativeImageHeap.addArrayElements(NativeImageHeap.java:576)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.image.NativeImageHeap.addObjectToImageHeap(NativeImageHeap.java:473)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.image.NativeImageHeap.addObject(NativeImageHeap.java:295)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.image.NativeImageHeap.processAddObjectWorklist(NativeImageHeap.java:598)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.image.NativeImageHeap.addTrailingObjects(NativeImageHeap.java:198)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:638)
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]     ... 5 more
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] ------------------------------------------------------------------------------------------------------------------------
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]                        22.0s (13.9% of total time) in 101 GCs | Peak RSS: 9.66GB | CPU load: 6.92
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] ------------------------------------------------------------------------------------------------------------------------
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] Produced artifacts:
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB]  D:\MEGA\Plutus\DEV\LeagueTeamComp\target\gluonfx\x86_64-windows\gvm\LeagueTeamComp\com.st4s1k.leagueteamcomp.leagueteamcompapplication.build_artifacts.txt
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] ========================================================================================================================
[Mon Apr 04 00:57:05 EEST 2022][INFO] [SUB] Failed generating 'com.st4s1k.leagueteamcomp.leagueteamcompapplication' after 2m 37s.
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB] Error: Image build request failed with exit status 1
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB] com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB]     at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1770)
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB]     at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1477)
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB]     at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1438)
[Mon Apr 04 00:57:07 EEST 2022][INFO] [SUB]     at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1425)
[Mon Apr 04 00:57:07 EEST 2022][FINE] Result for compile: 1
[Mon Apr 04 00:57:07 EEST 2022][SEVERE] Process compile failed with result: 1

Steps to Reproduce

  1. checkout this branch https://github.com/st4s1k/League-of-Legends-Team-Composition-Tool/tree/spring-framework-integration
  2. mvn clean gluonfx:runagent gluonfx:build

My Environment

Platform: Windows 11 JDK: 17 GraalVM: graalvm-svm-java17-windows-gluon-22.0.0.3-Final

st4s1k commented 2 years ago

The only thing that pops up in google is this: https://build-native-java-apps.cc/developer-guide/debug-native-image-generation/

st4s1k commented 2 years ago

I cannot debug GraalVM classes because they are not accessible to me. Maybe there is a way to debug this but I don't know how. When you google Fatal error: com.oracle.svm.core.util.VMError$HostedError: java.lang.NullPointerException: Cannot invoke "com.oracle.graal.pointsto.flow.AllInstantiatedTypeFlow.addState(com.oracle.graal.pointsto.PointsToAnalysis, com.oracle.graal.pointsto.typestate.TypeState)" because "t.instantiatedTypes" is null you literally get 1 (one) search result.

oubidar-Abderrahim commented 2 years ago

Hi, thank you for reporting this we will take a look into it and get back to you

st4s1k commented 2 years ago

Spring boot with gradle fails as well clean build nativeBuild --> https://github.com/st4s1k/League-of-Legends-Team-Composition-Tool/tree/experimental/spring-boot-gradle Similar unresolved issue: https://github.com/oracle/graal/issues/3358

> Task :nativeLink
[Wed Apr 27 22:55:41 EEST 2022][FINE] Result for java-version: 0
[Wed Apr 27 22:55:41 EEST 2022][FINE] PB Command for check version: C:\Program Files\Java\graalvm-svm-java17-windows-gluon-22.0.0.3-Final\bin\java -version
[Wed Apr 27 22:55:41 EEST 2022][FINE] Start process check version...
[Wed Apr 27 22:55:41 EEST 2022][FINE] Result for check version: 0
[Wed Apr 27 22:55:41 EEST 2022][INFO] ==================== LINK TASK ====================
[Wed Apr 27 22:55:41 EEST 2022][FINE] Creating icon resource
[Wed Apr 27 22:55:41 EEST 2022][FINE] Copied resource D:\MEGA\Plutus\DEV\LeagueTeamComp\src\windows\assets\icon.ico to D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\icon.ico
[Wed Apr 27 22:55:41 EEST 2022][FINE] User provided icon.ico image used as application icon.
[Wed Apr 27 22:55:41 EEST 2022][FINE] Looking for resource: /native/windows/assets/IconGroup.rc
[Wed Apr 27 22:55:41 EEST 2022][FINE] PB Command for rc compile: rc -fo D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\IconGroup.res D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\IconGroup.rc
[Wed Apr 27 22:55:41 EEST 2022][FINE] Start process rc compile...
[Wed Apr 27 22:55:41 EEST 2022][FINE] Result for rc compile: 0
[Wed Apr 27 22:55:41 EEST 2022][FINE] PB Command for cvtres: cvtres  /machine:x64 -out:D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\IconGroup.obj D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\IconGroup.res
[Wed Apr 27 22:55:41 EEST 2022][FINE] Start process cvtres...
[Wed Apr 27 22:55:41 EEST 2022][FINE] Result for cvtres: 0
[Wed Apr 27 22:55:41 EEST 2022][FINE] IconGroup.obj created successfully
[Wed Apr 27 22:55:41 EEST 2022][FINE] Copied resource D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\icon\IconGroup.obj to D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\league-team-comp\IconGroup.obj
[Wed Apr 27 22:55:41 EEST 2022][FINE] Looking for resource: /native/windows/launcher.c
[Wed Apr 27 22:55:41 EEST 2022][FINE] PB Command for compile-additional-sources: cl -c -DGVM_VERBOSE -DSUBSTRATE /MD /D_UNICODE /DUNICODE /DWIN32 /D_WINDOWS -ID:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\league-team-comp launcher.c
[Wed Apr 27 22:55:41 EEST 2022][FINE] Start process compile-additional-sources...
[Wed Apr 27 22:55:41 EEST 2022][FINE] Result for compile-additional-sources: 0
[Wed Apr 27 22:55:42 EEST 2022][FINE] PB Command for link: link D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\league-team-comp\launcher.obj D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\tmp\SVM-1651089164439\com.st4s1k.leagueteamcomp.leagueteamcompapplication.obj D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\gvm\league-team-comp\IconGroup.obj j2pkcs11.lib java.lib net.lib nio.lib prefs.lib fdlibm.lib zip.lib sunmscapi.lib jvm.lib libchelper.lib advapi32.lib iphlpapi.lib secur32.lib userenv.lib version.lib ws2_32.lib winhttp.lib ncrypt.lib crypt32.lib /NODEFAULTLIB:libcmt.lib /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup comdlg32.lib dwmapi.lib gdi32.lib imm32.lib shell32.lib uiautomationcore.lib urlmon.lib winmm.lib glass.lib javafx_font.lib javafx_iio.lib prism_common.lib prism_d3d.lib /WHOLEARCHIVE:glass.lib /WHOLEARCHIVE:javafx_font.lib /WHOLEARCHIVE:javafx_iio.lib /WHOLEARCHIVE:prism_common.lib /WHOLEARCHIVE:prism_d3d.lib /OUT:D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\x86_64-windows\league-team-comp.exe /LIBPATH:C:\Users\Stanislav\.gluon\substrate\javafxStaticSdk\19-ea+4\windows-x86_64\sdk\lib /LIBPATH:C:\Program Files\Java\graalvm-svm-java17-windows-gluon-22.0.0.3-Final\lib\svm\clibraries\windows-amd64 /LIBPATH:C:\Program Files\Java\graalvm-svm-java17-windows-gluon-22.0.0.3-Final\lib\static\windows-amd64
[Wed Apr 27 22:55:42 EEST 2022][FINE] Start process link...
[Wed Apr 27 22:55:42 EEST 2022][FINE] Result for link: 0
[Wed Apr 27 22:55:42 EEST 2022][FINE] Logging process [link] to file: D:\MEGA\Plutus\DEV\LeagueTeamComp\build\gluonfx\log\process-link-1651089342396.log
[Wed Apr 27 22:55:42 EEST 2022][FINE] PB Command for find windows version: cmd.exe /c ver
[Wed Apr 27 22:55:42 EEST 2022][FINE] Start process find windows version...
[Wed Apr 27 22:55:42 EEST 2022][FINE] Result for find windows version: 0
[Wed Apr 27 22:55:42 EEST 2022][FINE] Windows version: Microsoft Windows [Version 10.0.22000.613]
[Wed Apr 27 22:55:42 EEST 2022][FINE] Windows Build number: 22000
[Wed Apr 27 22:55:42 EEST 2022][FINE] PB Command for Clear Explorer cache: ie4uinit -show
[Wed Apr 27 22:55:42 EEST 2022][FINE] Start process Clear Explorer cache...
[Wed Apr 27 22:55:42 EEST 2022][FINE] Result for Clear Explorer cache: 0
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] openjdk 17.0.2 2022-01-18
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] OpenJDK Runtime Environment GraalVM 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05)
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05, mixed mode, sharing)
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] openjdk version "17.0.2" 2022-01-18
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] OpenJDK Runtime Environment GraalVM 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05)
[Wed Apr 27 22:55:42 EEST 2022][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05, mixed mode, sharing)
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB] Main
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]   _                               _____                     ____
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]  | |    ___  __ _  __ _ _   _  __|_   _|__  __ _ _ __ ___  / ___|___  _ __ ___  _ __
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]  | |   / _ \/ _` |/ _` | | | |/ _ \| |/ _ \/ _` | '_ ` _ \| |   / _ \| '_ ` _ \| '_ \
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]  | |__|  __/ (_| | (_| | |_| |  __/| |  __/ (_| | | | | | | |__| (_) | | | | | | |_) |
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]  |_____\___|\__,_|\__, |\__,_|\___||_|\___|\__,_|_| |_| |_|\____\___/|_| |_| |_| .__/
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB] ==================|___/========================================================|_|====
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB] :: League of Legends Team Composition Tool ::                                 (v1.0.7)
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB]
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB] Apr 27, 2022 10:55:43 PM com.sun.javafx.application.PlatformImpl startup
[Wed Apr 27 22:55:43 EEST 2022][INFO] [SUB] WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @ff0b0ce'
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]   .   ____          _            __ _ _
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]   '  |____| .__|_| |_|_| |_\__, | / / / /
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]  =========|_|==============|___/=/_/_/_/
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]  :: Spring Boot ::                (v2.6.6)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] [INFO ] 2022-04-27 22:55:44.533 [JavaFX Application Thread] SpringApplication - Starting application using Java 17.0.2 on st4s1k-legion with PID 24024 (started by Stanislav in D:\MEGA\Plutus\DEV\LeagueTeamComp)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] [INFO ] 2022-04-27 22:55:44.533 [JavaFX Application Thread] SpringApplication - No active profile set, falling back to 1 default profile: "default"
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] [WARN ] 2022-04-27 22:55:44.533 [JavaFX Application Thread] AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.annotation.ConfigurationClassPostProcessor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] [ERROR] 2022-04-27 22:55:44.533 [JavaFX Application Thread] SpringApplication - Application run failed
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.annotation.ConfigurationClassPostProcessor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:106) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.st4s1k.leagueteamcomp.LeagueTeamCompApplication.lambda$start$0(LeagueTeamCompApplication.java:78) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.gluonhq.ignite.spring.SpringContext.init(SpringContext.java:149) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.st4s1k.leagueteamcomp.LeagueTeamCompApplication.start(LeagueTeamCompApplication.java:78) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.security.AccessController.doPrivileged(AccessController.java:107) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_Runnable_run_16403f8d32adb631126daa893e5e80085c5d6325(JNIJavaCallWrappers.java:0) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.win.WinApplication._runLoop(WinApplication.java) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Thread.run(Thread.java:833) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:597) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:140) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.annotation.ConfigurationClassPostProcessor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:83) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     ... 30 more
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Caused by: java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Class.getConstructor0(DynamicHub.java:3585) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Class.getDeclaredConstructor(DynamicHub.java:2754) ~[league-team-comp.exe:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326) ~[?:?]
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     ... 30 more
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Exception in Application start method
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:901)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Thread.run(Thread.java:833)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:597)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:140)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.annotation.ConfigurationClassPostProcessor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:106)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.st4s1k.leagueteamcomp.LeagueTeamCompApplication.lambda$start$0(LeagueTeamCompApplication.java:78)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.gluonhq.ignite.spring.SpringContext.init(SpringContext.java:149)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.st4s1k.leagueteamcomp.LeagueTeamCompApplication.start(LeagueTeamCompApplication.java:78)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.security.AccessController.doPrivileged(AccessController.java:107)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_Runnable_run_16403f8d32adb631126daa893e5e80085c5d6325(JNIJavaCallWrappers.java:0)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.win.WinApplication._runLoop(WinApplication.java)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     ... 3 more
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.annotation.ConfigurationClassPostProcessor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:83)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     ... 30 more
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB] Caused by: java.lang.NoSuchMethodException: org.springframework.context.annotation.ConfigurationClassPostProcessor.<init>()
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Class.getConstructor0(DynamicHub.java:3585)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at java.lang.Class.getDeclaredConstructor(DynamicHub.java:2754)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78)
[Wed Apr 27 22:55:44 EEST 2022][INFO] [SUB]     ... 31 more
oubidar-Abderrahim commented 8 months ago

If this issue is still relevant in the latest GraalVM versions with the latest springboot, please create a new issue for it and follow the template provided. Thank you