Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot boot services. #1276

Open
1 task done
rmilansky opened this issue Jul 12, 2023 · 1 comment
Open
1 task done

Cannot boot services. #1276

rmilansky opened this issue Jul 12, 2023 · 1 comment
Labels
in: wrapper An issue/pull request releated to the wrapper module code s: we need to go deeper Something might not be working but we're currently unsure why and need to invest more time t: bug Something isn't working as intended v: 4.X This pull should be included in the 4.0 release

Comments

@rmilansky
Copy link

rmilansky commented Jul 12, 2023

Stacktrace

[12.07 21:16:57.011] WARNING: [Lobby-1/SERR]: Exception in thread "main" dev.derklaro.aerogel.AerogelException: Unable to invoke method private void eu.cloudnetservice.wrapper.Wrapper.startApplication(eu.cloudnetservice.driver.event.EventManager,java.util.List) throws java.lang.Exception
[12.07 21:16:57.012] WARNING: [Lobby-1/SERR]: Caused by: java.lang.IllegalArgumentException
[12.07 21:16:57.012] WARNING: [Lobby-1/SERR]:   at java.instrument/sun.instrument.InstrumentationImpl.appendToClassLoaderSearch0(Native Method)
[12.07 21:16:57.013] WARNING: [Lobby-1/SERR]:   at java.instrument/sun.instrument.InstrumentationImpl.appendToSystemClassLoaderSearch(InstrumentationImpl.java:225)
[12.07 21:16:57.013] WARNING: [Lobby-1/SERR]:   at eu.cloudnetservice.wrapper.Wrapper.startApplication(Wrapper.java:228)[12.07 21:16:57.013] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.util.MethodHandleUtil.invokeMethod(MethodHandleUtil.java:71)
[12.07 21:16:57.013] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector$InjectableMethod.invoke(DefaultMemberInjector.java:584)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.injectMethod(DefaultMemberInjector.java:371)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.injectInstanceMethods(DefaultMemberInjector.java:330)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.inject(DefaultMemberInjector.java:166)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.context.MemberInjectionRequest.executeMemberInjection(MemberInjectionRequest.java:73)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.context.DefaultInjectionContext.finishConstruction(DefaultInjectionContext.java:527)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstanceAndRemoveContext(ContextInstanceResolveHelper.java:100)
[12.07 21:16:57.014] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstance(ContextInstanceResolveHelper.java:79)
[12.07 21:16:57.015] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstance(ContextInstanceResolveHelper.java:63)
[12.07 21:16:57.016] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.DefaultInjector.instance(DefaultInjector.java:139)
[12.07 21:16:57.016] WARNING: [Lobby-1/SERR]:   at dev.derklaro.aerogel.internal.DefaultInjector.instance(DefaultInjector.java:121)
[12.07 21:16:57.017] WARNING: [Lobby-1/SERR]:   at eu.cloudnetservice.driver.inject.DefaultInjectionLayer.instance(DefaultInjectionLayer.java:58)
[12.07 21:16:57.017] WARNING: [Lobby-1/SERR]:   at eu.cloudnetservice.driver.inject.UncloseableInjectionLayer.instance(UncloseableInjectionLayer.java:58)
[12.07 21:16:57.018] WARNING: [Lobby-1/SERR]:   at eu.cloudnetservice.wrapper.Main.main(Main.java:72)
[12.07 21:16:57.018] WARNING: [Proxy-1/SERR]: Exception in thread "main" dev.derklaro.aerogel.AerogelException: Unable to invoke method private void eu.cloudnetservice.wrapper.Wrapper.startApplication(eu.cloudnetservice.driver.event.EventManager,java.util.List) throws java.lang.Exception
[12.07 21:16:57.018] WARNING: [Proxy-1/SERR]: Caused by: java.lang.IllegalArgumentException
[12.07 21:16:57.019] WARNING: [Proxy-1/SERR]:   at java.instrument/sun.instrument.InstrumentationImpl.appendToClassLoaderSearch0(Native Method)
[12.07 21:16:57.019] WARNING: [Proxy-1/SERR]:   at java.instrument/sun.instrument.InstrumentationImpl.appendToSystemClassLoaderSearch(InstrumentationImpl.java:225)
[12.07 21:16:57.019] WARNING: [Proxy-1/SERR]:   at eu.cloudnetservice.wrapper.Wrapper.startApplication(Wrapper.java:228)[12.07 21:16:57.020] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.util.MethodHandleUtil.invokeMethod(MethodHandleUtil.java:71)
[12.07 21:16:57.021] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector$InjectableMethod.invoke(DefaultMemberInjector.java:584)
[12.07 21:16:57.021] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.injectMethod(DefaultMemberInjector.java:371)
[12.07 21:16:57.021] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.injectInstanceMethods(DefaultMemberInjector.java:330)
[12.07 21:16:57.021] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.member.DefaultMemberInjector.inject(DefaultMemberInjector.java:166)
[12.07 21:16:57.022] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.context.MemberInjectionRequest.executeMemberInjection(MemberInjectionRequest.java:73)
[12.07 21:16:57.022] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.context.DefaultInjectionContext.finishConstruction(DefaultInjectionContext.java:527)
[12.07 21:16:57.022] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstanceAndRemoveContext(ContextInstanceResolveHelper.java:100)
[12.07 21:16:57.023] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstance(ContextInstanceResolveHelper.java:79)
[12.07 21:16:57.023] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.context.util.ContextInstanceResolveHelper.resolveInstance(ContextInstanceResolveHelper.java:63)
[12.07 21:16:57.023] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.DefaultInjector.instance(DefaultInjector.java:139)
[12.07 21:16:57.023] WARNING: [Proxy-1/SERR]:   at dev.derklaro.aerogel.internal.DefaultInjector.instance(DefaultInjector.java:121)
[12.07 21:16:57.024] WARNING: [Proxy-1/SERR]:   at eu.cloudnetservice.driver.inject.DefaultInjectionLayer.instance(DefaultInjectionLayer.java:58)
[12.07 21:16:57.024] WARNING: [Proxy-1/SERR]:   at eu.cloudnetservice.driver.inject.UncloseableInjectionLayer.instance(UncloseableInjectionLayer.java:58)
[12.07 21:16:57.024] WARNING: [Proxy-1/SERR]:   at eu.cloudnetservice.wrapper.Main.main(Main.java:72)

Actions to reproduce

Install CloudNet and run any service.

CloudNet version

[12.07 21:18:22.440] INFO:
[12.07 21:18:22.440] INFO: CloudNet Blizzard 4.0.0-RC9 f6ca4c38
[12.07 21:18:22.440] INFO: Discord: <https://discord.cloudnetservice.eu/>
[12.07 21:18:22.441] INFO:
[12.07 21:18:22.441] INFO: ClusterId: 1cc50ee7-****-4517-****-d6611a62c855
[12.07 21:18:22.441] INFO: NodeId: Node-1
[12.07 21:18:22.441] INFO: Head-NodeId: Node-1
[12.07 21:18:22.442] INFO: CPU usage: (P/S) .09/.29/100%
[12.07 21:18:22.442] INFO: Node services memory allocation (U/R/M): 768/768/23988 MB
[12.07 21:18:22.442] INFO: Threads: 30
[12.07 21:18:22.442] INFO: Heap usage: 46/256MB
[12.07 21:18:22.442] INFO: JVM: Amazon.com Inc. 17 (OpenJDK 64-Bit Server VM 17.0.7+7-LTS)
[12.07 21:18:22.443] INFO: Update Repo: CloudNetService/launchermeta, Update Branch: beta
[12.07 21:18:22.443] INFO:

Other

No response

Issue uniqueness

  • Yes, this issue is unique. There are no similar issues.
@rmilansky rmilansky added s: needs triage Issue waiting for triage t: bug Something isn't working as intended labels Jul 12, 2023
@derklaro
Copy link
Member

Not sure about this one. IllegalArgumentException is not documented to get thrown by appendToSystemClassLoaderSearch.

@derklaro derklaro added v: 4.X This pull should be included in the 4.0 release in: wrapper An issue/pull request releated to the wrapper module code s: we need to go deeper Something might not be working but we're currently unsure why and need to invest more time and removed s: needs triage Issue waiting for triage labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: wrapper An issue/pull request releated to the wrapper module code s: we need to go deeper Something might not be working but we're currently unsure why and need to invest more time t: bug Something isn't working as intended v: 4.X This pull should be included in the 4.0 release
Projects
None yet
Development

No branches or pull requests

2 participants