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

Spamming Error in Console on 1.14.4 #1942

Open
MysticCity opened this issue Sep 5, 2019 · 24 comments

Comments

@MysticCity
Copy link

commented Sep 5, 2019

15:20:16 [INFO] [Citizens] Exception while updating 119: null.
15:20:16 [WARNING] java.lang.NullPointerException
15:20:16 [WARNING] at net.citizensnpcs.trait.LookClose.randomLook(LookClose.java:135)
15:20:17 [WARNING] at net.citizensnpcs.trait.LookClose.run(LookClose.java:149)
15:20:17 [WARNING] at net.citizensnpcs.api.npc.AbstractNPC.update(AbstractNPC.java:430)
15:20:17 [WARNING] at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:306)
15:20:17 [WARNING] at net.citizensnpcs.nms.v1_14_R1.entity.EntityHumanNPC.tick(EntityHumanNPC.java:439)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:584)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.World.a(World.java:936)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:356)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1207)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1074)
15:20:17 [WARNING] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:918)
15:20:17 [WARNING] at java.lang.Thread.run(Unknown Source)

Just wiith Random Numbers. (7,119,118,6,5,9,183......)

I use Paper171 with Citizens Citizens-2.0.25-b1745

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 5, 2019

Can you post the section of your Citizens/saves.yml for NPC 119?

It looks like your LookClose settings for that NPC are corrupt (Random look enabled, but pitchRange is null?)

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

  '119':
    name: Home-Welt-Infos
    uuid: 5a48d424-a389-40e0-a1ae-24673bbd3beb
    traits:
      type: PLAYER
      location:
        world: Home-Welt
        x: '2.5'
        y: '76.0'
        z: '1.5'
        yaw: '147.4628143310547'
        pitch: '0.0'
      spawned: true
      lookclose:
        enabled: true
        range: '5.0'
        realisticlooking: false
      gravity:
        enabled: false
      equipment:
        hand:
          type: CHEST
          amount: 1
          durability: 0
          mdata: 2
          type_namespace: minecraft
          type_key: chest
        helmet:
          type: LEATHER_HELMET
          amount: 1
          durability: 0
          mdata: 0
          type_namespace: minecraft
          type_key: leather_helmet
        chestplate:
          type: IRON_CHESTPLATE
          amount: 1
          durability: 0
          mdata: 0
          type_namespace: minecraft
          type_key: iron_chestplate
        leggings:
          type: CHAINMAIL_LEGGINGS
          amount: 1
          durability: 0
          mdata: 0
          type_namespace: minecraft
          type_key: chainmail_leggings
        boots:
          type: GOLD_BOOTS
          amount: 1
          durability: 0
          mdata: 0
          type_namespace: minecraft
          type_key: golden_boots
      inventory:
        '0':
          type_namespace: minecraft
          type_key: chest
          amount: 1
          durability: 0
          mdata: 2
        '36':
          type_namespace: minecraft
          type_key: golden_boots
          amount: 1
          durability: 0
          mdata: 0
        '37':
          type_namespace: minecraft
          type_key: chainmail_leggings
          amount: 1
          durability: 0
          mdata: 0
        '38':
          type_namespace: minecraft
          type_key: iron_chestplate
          amount: 1
          durability: 0
          mdata: 0
        '39':
          type_namespace: minecraft
          type_key: leather_helmet
          amount: 1
          durability: 0
          mdata: 0
      owner:
        owner: server
        uuid: ''
    traitnames: type,mounttrait,spawned,lookclose,owner,inventory,gravity,equipment,location
    navigator:
      speedmodifier: '1.0'
      avoidwater: false
      usedefaultstuckaction: true
@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

I'm... confused how that error could possibly have come from that NPC. It doesn't look to have randomLook enabled. It doesn't even appear to have that section of trait data persisted at all (is that maybe an older copy of your saves.yml?)

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

My old server is on 1.13.2 and work
but now i update to 1.14.4

(just replace the old jar with the new one)

and get this error

@fullwall

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

What are your settings?

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

I again think that's an older copy, not a current one. That's missing relevant settings entirely, that shouldn't be missing if it was a current copy.

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

Yes this is from my 1.13.2 server that i use at this moment on the 1.13.2 server

but i try to update to 1.14.4

and on 1.14.4 i get this error now.... what must i do to prefent this spamming error

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

Post the config and saves.yml from the 1.14.4 server that has the error

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

random-look-enabled: true
why did you set that to true in the config? (It defaults to false)

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

because i think this is that npc dont look in 1 direction.... thay look random in all directions or not?

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

Sorta, yes... but... why did you enable that globally, as opposed to on a per-NPC basis? You probably don't want that on most NPCs.

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

why for all per command if i can use an option that the plugin have ^^

this is easy and apply for all npcs not only 1 thats why i use this option

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

This may be fixed by CitizensDev/CitizensAPI@74f8394 (in Citizens build 1746+).

You may or may not need to regenerate/fix all affected NPCs for the fix to apply (or reload from the original 1.13 saves file).

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

Okay i dl the last build and start the server and get the error... so what i need to do now?

place all npc`s new ?

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 10, 2019

any news?

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 18, 2019

any news ???

Becaus i need only this plugin to update my server to 1.14.4 ^^

@fullwall

This comment has been minimized.

Copy link
Member

commented Sep 18, 2019

Can you post your saves.yml? Latest one

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 18, 2019

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 18, 2019

That is not a current copy.

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 18, 2019

this is the last one i have

@mcmonkey4eva

This comment has been minimized.

Copy link
Member

commented Sep 18, 2019

That is from september 6th, prior to the possible-fix commit.

@MysticCity

This comment has been minimized.

Copy link
Author

commented Sep 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.