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

Fails to load on Skript 2.8 #80

Closed
ShaneBeee opened this issue Jan 1, 2024 · 0 comments · Fixed by #81
Closed

Fails to load on Skript 2.8 #80

ShaneBeee opened this issue Jan 1, 2024 · 0 comments · Fixed by #81
Labels
bug Something isn't working priority: medium

Comments

@ShaneBeee
Copy link

Describe the bug
Skript-reflect fails to load on Skript 2.8

To reproduce
Add Skript-Reflect to server, start, see error

[15:44:20 INFO]: [skript-reflect] Enabling skript-reflect v2.4-beta1
[15:44:20 ERROR]: Error occurred while enabling skript-reflect v2.4-beta1 (Is it up to date?)
java.lang.NoSuchFieldError: c
	at org.skriptlang.reflect.syntax.condition.elements.StructCustomCondition.lambda$static$0(StructCustomCondition.java:59) ~[skript-reflect-2.4-beta1.jar:?]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178) ~[?:?]
	at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602) ~[?:?]
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) ~[?:?]
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) ~[?:?]
	at org.skriptlang.reflect.syntax.condition.elements.StructCustomCondition.<clinit>(StructCustomCondition.java:60) ~[skript-reflect-2.4-beta1.jar:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:496) ~[?:?]
	at java.lang.Class.forName(Class.java:475) ~[?:?]
	at ch.njol.skript.util.Utils.getClasses(Utils.java:201) ~[Skript.jar:?]
	at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:82) ~[Skript.jar:?]
	at com.btk5h.skriptmirror.SkriptMirror.onEnable(SkriptMirror.java:59) ~[skript-reflect-2.4-beta1.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:190) ~[paper-1.20.4.jar:git-Paper-349]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper-349]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:637) ~[paper-1.20.4.jar:git-Paper-349]
	at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:548) ~[paper-1.20.4.jar:git-Paper-349]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:673) ~[paper-1.20.4.jar:git-Paper-349]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:433) ~[paper-1.20.4.jar:git-Paper-349]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.4.jar:git-Paper-349]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1132) ~[paper-1.20.4.jar:git-Paper-349]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[paper-1.20.4.jar:git-Paper-349]
	at java.lang.Thread.run(Thread.java:1623) ~[?:?]

Expected behavior
to load

Server information

  • skript-reflect: skript-reflect v2.4-beta1
  • Skript: Skript v2.8.0-pre1
  • Bukkit: git-Paper-349 (MC: 1.20.4)
  • Minecraft: 1.20.4
  • Java: Java 20 (OpenJDK 64-Bit Server VM 20.0.2+9)
  • OS: Mac OS X 14.2.1 (aarch64)
@sovdeeth sovdeeth added bug Something isn't working priority: medium labels Jan 2, 2024
@sovdeeth sovdeeth mentioned this issue Jan 2, 2024
@sovdeeth sovdeeth linked a pull request Jan 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants