[SPIGOT-4583] Unexpected NullPointerExceptions with API objects Created: 15/Jan/19 Updated: 16/Jan/19 Resolved: 15/Jan/19 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | LeSeulArtichaut | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | 1.13.2, bukkit, nullpointerexception, spigot | ||
| Environment: |
MacBook Pro 9.2 (2012) Hardware: Java: JVM: |
||
| Version: | 1.13.2-R0.1-SNAPSHOT |
| Guidelines Read: | Yes |
| Description |
| Comments |
| Comment by md_5 [ 16/Jan/19 ] |
|
If random NPEs are appearing completely unrelated to your code, whilst executing your code (which I highly doubt), then its going to be a Spigot/hardware bug anyway.
But I would still bet its line 25 of your code and world is null. |
| Comment by LeSeulArtichaut [ 16/Jan/19 ] |
|
The problem is that the error appears completely randomly and doesn’t seem to be related to the code, since the bug disapears without any modifications to the code... |
| Comment by md_5 [ 15/Jan/19 ] |
|
Need reproduction code, that error is in your plugin |