The other thread that reported crashes had the same Exception message. (This post here: https://www.cubecraft.net/threads/stop-those-random-crashing.204163/#post-965051)
Here comes some speculation. If you don't like speculation, troubleshooting, or programming, then you probably won't want to read the rest of this post as it may leave you posting a negative comment as a response.
I'm rather shocked by the Exception in particular. The very core of the Exception seems to be rather bizarre. It says (on line 7 of Ph0enix_Flight's pastebin report) java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Integer, which isn't something (casting a boolean to an integer) that I would think a Java programmer would do often. While the Exception message seems clear enough to me, I have no idea what kind of file zp.di is in the slightest, let alone what line 214 says. I suspect that the line where someone's trying to cast a boolean as an integer is line 214 of that file, as it's the line at the top of the stack trace in the pastebin report. If it's one of Mojang's files, then I'm not sure that you can do anything about it. If it's one of Cubecraft's files, then I'd look at that line. I don't know all of the contents of those files, or any details about what they do, so my insight is rather limited. My speculation/reasoning is based on my programming experiences.
On another note, if the programmer has programmed in another language like Ruby, then that might explain why the programmer tried to cast the boolean as an integer. In languages like Ruby, you're allowed to treat integers, strings, and other data-types as booleans. If the programmer that wrote the file isn't familiar with a language like Ruby, then I'm not sure why they tried to cast the boolean as an integer. I don't imagine that it's common practice for Java programmers to write code that converts booleans to integers.
Here's a very simple example (for Java programmers that aren't familiar with Ruby or languages like it) of treating an integer as a boolean in Ruby:
Thanks for reading.
Here comes some speculation. If you don't like speculation, troubleshooting, or programming, then you probably won't want to read the rest of this post as it may leave you posting a negative comment as a response.
I'm rather shocked by the Exception in particular. The very core of the Exception seems to be rather bizarre. It says (on line 7 of Ph0enix_Flight's pastebin report) java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Integer, which isn't something (casting a boolean to an integer) that I would think a Java programmer would do often. While the Exception message seems clear enough to me, I have no idea what kind of file zp.di is in the slightest, let alone what line 214 says. I suspect that the line where someone's trying to cast a boolean as an integer is line 214 of that file, as it's the line at the top of the stack trace in the pastebin report. If it's one of Mojang's files, then I'm not sure that you can do anything about it. If it's one of Cubecraft's files, then I'd look at that line. I don't know all of the contents of those files, or any details about what they do, so my insight is rather limited. My speculation/reasoning is based on my programming experiences.
On another note, if the programmer has programmed in another language like Ruby, then that might explain why the programmer tried to cast the boolean as an integer. In languages like Ruby, you're allowed to treat integers, strings, and other data-types as booleans. If the programmer that wrote the file isn't familiar with a language like Ruby, then I'm not sure why they tried to cast the boolean as an integer. I don't imagine that it's common practice for Java programmers to write code that converts booleans to integers.
Here's a very simple example (for Java programmers that aren't familiar with Ruby or languages like it) of treating an integer as a boolean in Ruby:
- if 1
- [indentation mark goes here] puts "if statement's conditional expression evaluated to True"
Thanks for reading.