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

Synchronize the Gson version with the one used in Bungeecord and Minecraft #1

Closed
GiantTreeLP opened this issue May 25, 2019 · 1 comment
Labels
t: bug Something isn't working as intended
Milestone

Comments

@GiantTreeLP
Copy link
Member

The cloudnet-common module is completely compiled into the Bungeecord and Bukkit plugins.
Due to mismatching Gson versions, some usage of Gson in conjunction with CloudNet is broken and fails.

Example error message:

java.lang.LinkageError: loader constraint violation: when resolving method "de.dytanic.cloudnet.common.document.gson.JsonDocument.<init>(Lcom/google/gson/JsonObject;)V" the class loader (instance of net/md_5/bungee/api/plugin/PluginClassloader) of the current class, de/web/bungeeplugin/partysystem2/listener/Events, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, de/dytanic/cloudnet/common/document/gson/JsonDocument, have different Class objects for the type com/google/gson/JsonObject used in the signature
@GiantTreeLP GiantTreeLP added the t: bug Something isn't working as intended label May 25, 2019
juliarn added a commit that referenced this issue Jun 3, 2019
juliarn added a commit that referenced this issue Jun 3, 2019
Merge pull request #1 from CloudNetService/development
juliarn added a commit that referenced this issue Jun 3, 2019
Revert "Merge pull request #1 from CloudNetService/development"
@ghost
Copy link

ghost commented Jun 13, 2019

So... is this bug fixed? If not I'd like to take actions and fix it rn

juliarn pushed a commit that referenced this issue Sep 9, 2019
* Removed illegal reflective access to field defaultCharset

* Changed imports
@juliarn juliarn mentioned this issue Sep 9, 2019
2 tasks
@juliarn juliarn added this to the 3.1.0-RELEASE milestone Sep 30, 2019
@juliarn juliarn closed this as completed Sep 30, 2019
@juliarn juliarn reopened this Sep 30, 2019
@juliarn juliarn closed this as completed in 8a9d3e8 Nov 2, 2019
einrobin pushed a commit that referenced this issue Mar 27, 2020
derklaro added a commit that referenced this issue Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t: bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants