Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to read a minecraft log?


DragonITA
 Share

Recommended Posts

Hi, i have see a lot of users that have start its game, then it has stop and its received a great (crash) log, not only these users but i self included. So, when i am getting a crash, i try to read its log, but i never full understand where i should see… Can here explain how logs to read logs, a sort of mini-tutorial? Pls.

New in Modding? == Still learning!

Link to comment
Share on other sites

No, i mean this in general. Here was a method to read any sort of log, or not? This is my question. I yet not have a problem (outside from my entity problem that the stream was empty, no, i not have any problem). But thanks for replying.

 

New in Modding? == Still learning!

Link to comment
Share on other sites

So this is how I am reading that log you linked:

1. I notice it's a Null Pointer Exception (NPE), so something that's null is being accessed

2. Not much more information at the top here, just a list of classes where it errored out, but I don't believe that it was the actual AgeableModel that is crashing us, so I continue scrolling/scanning the log

3. Further down, we see some stuff about a unicorn, so to me, that's where I'd be looking.

 

Of course, you only posted the crash log, no debug, so info is limited, and no code to go with the crash. But basically, scan through it (you have to be patient, and actually LOOK at everything, at least a little) and look for stuff that is:

A) understandable, i.e. looking for "exception caused by" or something like that;

B) any class/package names that are from your project, as these are most likely to cause the issues.

 

Honestly, it's really just programming experience and practice that make a programmer able to debug their stuff. The more you are exposed to it, the more you will understand. Something confusing now, if you keep with it, and continue to learn/grow, in a month you'll look at the same confusing thing and find it much easier to understand. If you find something too hard, back off a bit, work with something a little easier, then come back to it later with a clear mind and maybe a little more knowledge.

Link to comment
Share on other sites

1 minute ago, Ugdhar said:

1. I notice it's a Null Pointer Exception (NPE), so something that's null is being accessed

Whats Line?

1 minute ago, Ugdhar said:

3. Further down, we see some stuff about a unicorn, so to me, that's where I'd be looking.

Thanks

 

I not have ask for help with my problem (i already resolved this), but on how to read in general all type of log. Thanks, now i know a little more on how to attempt this.

New in Modding? == Still learning!

Link to comment
Share on other sites

1 minute ago, DragonITA said:
4 minutes ago, Ugdhar said:

1. I notice it's a Null Pointer Exception (NPE), so something that's null is being accessed

Whats Line?

Quote
java.lang.NullPointerException: Rendering entity in world

at net.minecraft.client.renderer.entity.model.AgeableModel.func_225598_a_(SourceFile:62) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3.jar:?] {re:classloading,pl:runtimedistcleaner:A}

Not sure if that's the line number or not where it says "SourceFile:62", but again, probably would want to look at the debug log, not just the crashlog (I know this is old, but if it were new that's what you'd want to do) for more info, as it may be crashing in that method in AgeableModel, but it's more than likely not CAUSED by the AgeableModel.

Link to comment
Share on other sites

Ok, but here is a user that has ask for help with a server log, and it see different as the normal logs. Does this was normal (not need to understand the log, but only want to know if mod and server logs are different)?

New in Modding? == Still learning!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Take a look at the github https://github.com/lordofwizard/mcserver and the video in it if you want to try it out You can host your very own Java/Bedrock Minecraft Server using Google Cloud Shell. This works under Ubuntu/Debian based Linux operation system. This project requires NO CREDIT CARD and the whole project is entirely FREE! You can make a server without costing you anything. The following features are added into this project are:   Supports different type of Bedrock Servers Clean & Friendly Interface Supports Additional type of Java Server (eg. Sponge, Paper, Fabric etc) Added Server Management Easier functional scripts (eg. ./uninstall allows you to delete your server easily) Instant EULA script setup (Completly skipping this part which makes other people's life much easier to manage) Faster Server Installation (It would probably take you like approx 30 seconds to setup a server) Server Specs: OS: Debian GNU/Linux 10 (buster) x86_64 RAM: 8GB to 16GB Location: Based on your physical location. Storage: Approx 5GB CPU: AMD EPYC (2) 7B12 @ 2.249GHz or Intel Xeon (4) @ 2.199GHz You can view your exact specs by doing ./specinfo Keeping the Server Alive 24/7 There's only ONE way to keep your server online longer than 20 minutes: You must Keep your browser open to keep your server online. This so the shell doesn't get terminated when it's unused or the browser is closed. You can also use google cloud sdk if you don't want to keep you browser open (Don't worry, your device that is being used to host your server isn't affected from the intensity of your server.) If you have any method the would possibly keep the server alive 24/7, feel free to Fork this project and request a Pull to this project. Any help will be greatly appreciated. Limitation of this project Google Cloud Shell Quota While I was editing this project, I notice that Google has added a quota for each Cloud Shell uses and you can only host your server for the max of 50 hours per Week. Once you used all of the hours, you can't use it again until next week. No Dedicated IP Sadly you can't use the host IP into your dedicated IP as it won't let you join that server, you can only join your server by the generated dedicated IP provided by playit.gg. If you know how to reverse proxy the tunnel system, you can actually use the host IP to make a dedicated IP for your server but I highly doubt that would ever happen. Mixed Server Specs Each Cloud Shell session will have different specs of your server based on your physical location so you won't always get the best performance of your server but good news being that it's always the range between 8GB to 16GB so you won't have to worry about lag when playing in the server with high processing in your server. Even take a look at this:https://cloud.google.com/shell/docs/limitations Conclusion Now you can host your very own Minecraft Server for both Java & Bedrock fast and easy and it won't cost you a single penny to make a fast and strong server. Best of all, IT'S FOREVER! Feel free to leave any requests you would like me to add into the project. If you have any issues, go to the Issues tab and submit a issue there.
    • Take a look at the github https://github.com/lordofwizard/mcserver and the video in it if you want to try it out You can host your very own Java/Bedrock Minecraft Server using Google Cloud Shell. This works under Ubuntu/Debian based Linux operation system. This project requires NO CREDIT CARD and the whole project is entirely FREE! You can make a server without costing you anything. The following features are added into this project are:   Supports different type of Bedrock Servers Clean & Friendly Interface Supports Additional type of Java Server (eg. Sponge, Paper, Fabric etc) Added Server Management Easier functional scripts (eg. ./uninstall allows you to delete your server easily) Instant EULA script setup (Completly skipping this part which makes other people's life much easier to manage) Faster Server Installation (It would probably take you like approx 30 seconds to setup a server) Server Specs: OS: Debian GNU/Linux 10 (buster) x86_64 RAM: 8GB to 16GB Location: Based on your physical location. Storage: Approx 5GB CPU: AMD EPYC (2) 7B12 @ 2.249GHz or Intel Xeon (4) @ 2.199GHz You can view your exact specs by doing ./specinfo Keeping the Server Alive 24/7 There's only ONE way to keep your server online longer than 20 minutes: You must Keep your browser open to keep your server online. This so the shell doesn't get terminated when it's unused or the browser is closed. You can also use google cloud sdk if you don't want to keep you browser open (Don't worry, your device that is being used to host your server isn't affected from the intensity of your server.) If you have any method the would possibly keep the server alive 24/7, feel free to Fork this project and request a Pull to this project. Any help will be greatly appreciated. Limitation of this project Google Cloud Shell Quota While I was editing this project, I notice that Google has added a quota for each Cloud Shell uses and you can only host your server for the max of 50 hours per Week. Once you used all of the hours, you can't use it again until next week. No Dedicated IP Sadly you can't use the host IP into your dedicated IP as it won't let you join that server, you can only join your server by the generated dedicated IP provided by playit.gg. If you know how to reverse proxy the tunnel system, you can actually use the host IP to make a dedicated IP for your server but I highly doubt that would ever happen. Mixed Server Specs Each Cloud Shell session will have different specs of your server based on your physical location so you won't always get the best performance of your server but good news being that it's always the range between 8GB to 16GB so you won't have to worry about lag when playing in the server with high processing in your server. Even take a look at this:https://cloud.google.com/shell/docs/limitations Conclusion Now you can host your very own Minecraft Server for both Java & Bedrock fast and easy and it won't cost you a single penny to make a fast and strong server. Best of all, IT'S FOREVER! Feel free to leave any requests you would like me to add into the project. If you have any issues, go to the Issues tab and submit a issue there.
    • Hey guys, I'm trying to run the dev env with two mods (Alexs Mobs and Citadel), therefore I copied their build.gradle because there's a lot of mixin stuff: build.gradle: https://pastebin.com/PUef70eP The server boots up normally when I use the old mappings, but when I change to Mojang's mappings, I get this error on startup: java.lang.BootstrapMethodError: java.lang.ClassFormatError: Duplicate method name "isFood" with signature "(Lnet.minecraft.item.ItemStack;)Z" in class file com/github/alexthe666/alexsmobs/entity/EntityRaccoon I already use fg.deof to match the mappings of the mods to my mappings, what else could be the reason for this error?  
    • Your code does not compile for me, because you are using the Vec3f class from javafx. This means your code will also not work for many people that aren't using Oracle Java. You should use Vector3f from Minecraft instead.
    • I'll preface this by saying I'm almost certainly doing something really stupid here, but I'm at a loss. I'm running the following on the client: player.lookAt(EntityAnchorArgument.Type.EYES,player.getLookAngle()); player is an instance of PlayerEntity. The problem is that every time I test it, it forces the player to look in the same direction, regardless of where they were looking previously. The intended behavior is for this to run repeatedly as a potion effect, which will just lock the player's camera direction for the duration, so they can't rotate the camera. That part works fine, it just locks the camera facing the wrong direction. I currently have it running on the client, but I tested it on the server side and it behaves the same way. Any suggestions would be much appreciated.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.