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

Invocation Target Exception #103

Closed
Just-a-Unity-Dev opened this issue May 5, 2022 · 4 comments
Closed

Invocation Target Exception #103

Just-a-Unity-Dev opened this issue May 5, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Just-a-Unity-Dev
Copy link

How to reproduce
Steps to reproduce the behavior:

  1. aws server
  2. wget latest release
  3. run the workaround in AWS server stuck at 100% for 7 hours #102

Logs

[E] Failed to load mod file config/mods/Essentials.jar. Skipping.                  
[05-05-2022 05:45:05] [E] java.lang.reflect.InvocationTargetException                                    
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)      
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)                 
        at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)                           
        at mindustry.mod.Mods.loadMod(Mods.java:812)                                                     
        at mindustry.mod.Mods.loadMod(Mods.java:714)                                                     
        at mindustry.mod.Mods.load(Mods.java:363)                                                        
        at mindustry.Vars.init(Vars.java:320)                                                            
        at mindustry.server.ServerLauncher.init(ServerLauncher.java:47)                                  
        at arc.backend.headless.HeadlessApplication.mainLoop(HeadlessApplication.java:65)                
        at arc.backend.headless.HeadlessApplication$1.run(HeadlessApplication.java:53)                   
Caused by: java.lang.NoSuchFieldError: player                                                            
        at essentials.PluginData.<clinit>(PluginData.kt:32)                                              
        at essentials.Main.<init>(Main.kt:67)                                                            
        ... 12 more

Additional context

@Just-a-Unity-Dev Just-a-Unity-Dev added the bug Something isn't working label May 5, 2022
@Kieaer
Copy link
Owner

Kieaer commented May 5, 2022

7.0 version still in development (Anuke keep changing internal structure)
You must check your 7.0 sevrer is last released version.

@Just-a-Unity-Dev
Copy link
Author

im on latest version v135.2

@Kieaer
Copy link
Owner

Kieaer commented May 19, 2022

Use 6.0 version plugin

@Kieaer Kieaer closed this as completed Jul 9, 2022
@Kieaer
Copy link
Owner

Kieaer commented Aug 4, 2022

It caused by gradle.

@Kieaer Kieaer reopened this Aug 4, 2022
@Kieaer Kieaer closed this as completed Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants