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

Exception: GameProfile name and skin name do not match. #1410

Open
Brokkonaut opened this issue Feb 16, 2018 · 5 comments
Open

Exception: GameProfile name and skin name do not match. #1410

Brokkonaut opened this issue Feb 16, 2018 · 5 comments
Labels
Bug Report A bug was reported. Work To Do Development team has work to do on this issue.

Comments

@Brokkonaut
Copy link
Contributor

Since updating citizens I get the following exception

[05:04:48 WARN]: [Citizens] Task #465 for Citizens v2.0.22-SNAPSHOT (build 1503) generated an exception
java.lang.IllegalArgumentException: GameProfile name (xTICEx) and skin name (jacobus7) do not match.
at net.citizensnpcs.npc.skin.Skin.setData(Skin.java:268) ~[?:?]
at net.citizensnpcs.npc.skin.Skin.access$600(Skin.java:32) ~[?:?]
at net.citizensnpcs.npc.skin.Skin$1.onResult(Skin.java:173) ~[?:?]
at net.citizensnpcs.npc.profile.ProfileRequest$1.run(ProfileRequest.java:120) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.12.2.jar:git-Paper-1329]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.12.2.jar:git-Paper-1329]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:833) [patched_1.12.2.jar:git-Paper-1329]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [patched_1.12.2.jar:git-Paper-1329]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched_1.12.2.jar:git-Paper-1329]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched_1.12.2.jar:git-Paper-1329]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

@Brokkonaut Brokkonaut changed the title GameProfile name and skin name do not match. Exception: GameProfile name and skin name do not match. Feb 16, 2018
@fullwall
Copy link
Member

Can you post the npc savedata for that NPC?

@Brokkonaut
Copy link
Contributor Author

  '464':
    name: Jacobus7
    traits:
      spawned: true
      location:
        world: freebuild
        x: '-5565.4988'
        y: '74.5'
        z: '5360.6706'
        yaw: '-146.08541870117188'
        pitch: '0.0'
      inventory: {}
      lookclose:
        enabled: true
        range: '5.0'
        realisticlooking: false
      gravity:
        enabled: false
      type: PLAYER
      owner:
        owner: Brokkonaut
        uuid: 06d29950-2262-474c-acd6-fcab8e632ae1
    traitnames: lookclose,equipment,mounttrait,inventory,spawned,type,owner,location,gravity
    navigator:
      speedmodifier: '1.0'
      avoidwater: false
      usedefaultstuckaction: true
    uuid: eff45e74-ab5f-449d-8371-0fb54e61da57
    metadata:
      cached-skin-uuid: cab10fba-908f-4151-8f9b-b6b0861fcd3e
      cached-skin-uuid-name: jacobus7
      player-skin-textures: eyJ0aW1lc3RhbXAiOjE1MTg3NTM4ODg2NjksInByb2ZpbGVJZCI6ImNhYjEwZmJhOTA4ZjQxNTE4ZjliYjZiMDg2MWZjZDNlIiwicHJvZmlsZU5hbWUiOiJ4VElDRXgiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8v$
      player-skin-signature: l1j2l+DDIgOM5LWDZsqTvlC+yLodHo6VSd7TJYE2BxwWzcl2dqCnSRsosuF7PvFXrIoolMLh1Kz9VORiUqz+2Aur+ZnWT1YnkZuzvIXXURxyac01WnZgOC9FNCqoe3qTUq4+vT0/KVM9QrZXnlqRMPoBN092cwIK9/RsCK/58AyKr85lpHsp2UilK92FhFyze1NM0A1o/INdpWl$
 

@mcmonkey4eva
Copy link
Member

Looks like the user had name jacobus7 when the skin was saved, but later renamed to xTICEx, and since the skin still has the user saved under the old name but is aware of the new name it got confused somewhere along the way.

@fullwall
Copy link
Member

I guess the question is when to expire the cache.

@mcmonkey4eva mcmonkey4eva added Bug Report A bug was reported. Work To Do Development team has work to do on this issue. labels Oct 12, 2018
@fullwall
Copy link
Member

For now I have changed the exception to a debug message. Need to see what impact that has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report A bug was reported. Work To Do Development team has work to do on this issue.
Projects
None yet
Development

No branches or pull requests

3 participants