Advertisement
riking

CraftBukkit Scoreboard crash

Apr 3rd, 2013
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.05 KB | None | 0 0
  1. Sometimes, when a player logs onto a server, the scoreboard is not properly sent. This can result in a client-side NullPointerException when the Scoreboard display slot is set for an objective already in that exact same slot.
  2. Here is an example stacktrace:
  3. ```
  4. java.lang.NullPointerException
  5. at arj.k(SourceFile:133)
  6. at bdl.a(SourceFile:1086)
  7. at fc.a(SourceFile:43)
  8. at ci.b(SourceFile:350)
  9. at bdl.d(SourceFile:95)
  10. ```
  11. Here is an example data dump of the client's Scoreboard when this occurs:
  12. ```
  13. a{}
  14. b{}
  15. c{Riking={null=arg@dbe848}}
  16. d[null, null, null]
  17. e{}
  18. f{}
  19. ```
  20. Here is an example data dump of the client's scoreboard in proper conditions:
  21. ```
  22. a{health=are@9befde}
  23. b{arl@35f5cb=[are@9befde]}
  24. c{Mattman1153={are@9befde=arg@ff742e}, Wolvereness={are@9befde=arg@1249f80}, Riking={are@9befde=arg@163985e}}
  25. d[null, are@9befde, null]
  26. e{Orange-Red=arf@1a87752, Yeller=arf@131e0bc, Periwinkle=arf@1997f42}
  27. f{Mattman1153=arf@1997f42, Wolvereness=arf@1a87752}
  28. ```
  29.  
  30. The cause of this is unknown as of April 2.
  31. Any additional information is appreciated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement