Git Product home page Git Product logo

Comments (13)

games647 avatar games647 commented on May 30, 2024

I need the full stacktrace

from changeskin.

cmisztur avatar cmisztur commented on May 30, 2024

[13:55:22] [Craft Scheduler Thread - 12/WARN]: org.apache.commons.lang.UnhandledException: Plugin ChangeSkin v2.3.2 generated an exception while executing task 1839 at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at java.net.URLEncoder.encode(Unknown Source) at com.github.games647.changeskin.core.MojangAuthApi.changeSkin(MojangAuthApi.java:90) at com.github.games647.changeskin.bukkit.tasks.SkinUploader.run(SkinUploader.java:48) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more

from changeskin.

games647 avatar games647 commented on May 30, 2024

The skinUrl is invalid. You need the raw skin file not the rendered one.

from changeskin.

games647 avatar games647 commented on May 30, 2024

And what's the username of your uploader account?

from changeskin.

cmisztur avatar cmisztur commented on May 30, 2024

I looked at the source and it points back to this, right?

String oldSkinUrl = plugin.getCore().getMojangAuthApi().getSkinUrl(profile.getName());

from changeskin.

games647 avatar games647 commented on May 30, 2024

Yes and that is null, because the header field Location (for redirection) wasn't available.

from changeskin.

games647 avatar games647 commented on May 30, 2024

I guess profile.getName() returned an invalid username.

from changeskin.

cmisztur avatar cmisztur commented on May 30, 2024

Anything I could try on my side?

from changeskin.

games647 avatar games647 commented on May 30, 2024

Yes, could you try the latest dev-build?

from changeskin.

cmisztur avatar cmisztur commented on May 30, 2024

do you have the bits or do I have to build?

from changeskin.

games647 avatar games647 commented on May 30, 2024

https://github.com/games647/ChangeSkin/releases/tag/upload-debug

from changeskin.

cmisztur avatar cmisztur commented on May 30, 2024

"/skinupload url" returns a successful response, however skin selection only works for skins uploaded directly on minecraft.net. "/skinselect 12" returns a success message, however the skin shown is the last skin uploaded on minecraft.net

/skinupload http://imgur.com/a/FFwWE
issued server command: /skinselect 12

from changeskin.

games647 avatar games647 commented on May 30, 2024

You have to use https://i.imgur.com/VpEebg9.png not http://imgur.com/a/FFwWE

from changeskin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.