Jump to content

Recommended Posts

Posted

So, I have tried to make my own hamachi server, and after much trial and error I think I have it running, but whenever I try to join it crashes. I would appreciate any help anyone can give!

The mods I'm running are Pixelmon and Architecturecraft on version 1.12.2.

I have 8 gb RAM, too, and if I did things right 4gb should be allocated to both MC and the server.

Here is my crash report:

Spoiler

---- Minecraft Crash Report ----
// Sorry :(

Time: 1/4/19 3:33 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
    at safeplace.andwhat5.events.EventHandler.onPlayerTicked(EventHandler.java:76)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_101_EventHandler_onPlayerTicked_PlayerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:369)
    at net.minecraft.entity.player.EntityPlayer.func_184808_cD(EntityPlayer.java:378)
    at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:288)
    at net.minecraft.client.entity.EntityPlayerSP.func_70071_h_(EntityPlayerSP.java:181)
    at net.minecraft.world.World.func_72866_a(World.java:1990)
    at net.minecraft.world.World.func_72870_g(World.java:1952)
    at net.minecraft.world.World.func_72939_s(World.java:1756)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1845)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at safeplace.andwhat5.events.EventHandler.onPlayerTicked(EventHandler.java:76)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_101_EventHandler_onPlayerTicked_PlayerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:369)
    at net.minecraft.entity.player.EntityPlayer.func_184808_cD(EntityPlayer.java:378)
    at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:288)
    at net.minecraft.client.entity.EntityPlayerSP.func_70071_h_(EntityPlayerSP.java:181)
    at net.minecraft.world.World.func_72866_a(World.java:1990)
    at net.minecraft.world.World.func_72870_g(World.java:1952)

-- Entity being ticked --
Details:
    Entity Type: null (net.minecraft.client.entity.EntityPlayerSP)
    Entity ID: 118
    Entity Name: UrLordBeat
    Entity's Exact location: 1531.36, 243.00, -643.63
    Entity's Block location: World: (1531,243,-644), Chunk: (at 11,15,12 in 95,-41; contains blocks 1520,0,-656 to 1535,255,-641), Region: (2,-2; contains chunks 64,-64 to 95,-33, blocks 1024,0,-1024 to 1535,255,-513)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1756)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['UrLordBeat'/118, l='MpServer', x=1531.36, y=243.00, z=-643.63]]
    Chunk stats: MultiplayerChunkCache: 397, 397
    Level seed: 0
    Level generator: ID 01 - flat, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (1540,237,-579), Chunk: (at 4,14,13 in 96,-37; contains blocks 1536,0,-592 to 1551,255,-577), Region: (3,-2; contains chunks 96,-64 to 127,-33, blocks 1536,0,-1024 to 2047,255,-513)
    Level time: 586220 game time, 1000 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 3 total; [EntityPlayerSP['UrLordBeat'/118, l='MpServer', x=1531.36, y=243.00, z=-643.63], EntityPixelmon['Oddish'/116, l='MpServer', x=1535.50, y=237.00, z=-600.50], EntityPixelmon['Pidgey'/117, l='MpServer', x=1543.50, y=238.00, z=-596.50]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2738)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:418)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 477158120 bytes (455 MB) / 1174405120 bytes (1120 MB) up to 4294967296 bytes (4096 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.4.2705 11 mods loaded, 11 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID                | Version      | Source                                     | Signature                                |
    |:------ |:----------------- |:------------ |:------------------------------------------ |:---------------------------------------- |
    | UCHIJA | minecraft         | 1.12.2       | minecraft.jar                              | None                                     |
    | UCHIJA | mcp               | 9.42         | minecraft.jar                              | None                                     |
    | UCHIJA | FML               | 8.0.99.99    | forge-1.12.2-14.23.4.2705.jar              | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | forge             | 14.23.4.2705 | forge-1.12.2-14.23.4.2705.jar              | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | architecturecraft | @VERSION@    | architecturecraft-1.12-3.80.jar            | None                                     |
    | UCHIJA | journeymap        | 1.12.2-5.5.3 | journeymap-1.12.2-5.5.3.jar                | None                                     |
    | UCHIJA | pixelmon          | 6.3.4        | Pixelmon-1.12.2-6.3.4-universal.jar        | None                                     |
    | UCHIJA | pixelextras       | 2.3.10       | PixelExtras-1.12.2-2.3.10-universal.jar    | None                                     |
    | UCHIJA | safeplace         | 2.3.0        | SafePlace-1.12.2-2.4.0.jar                 | None                                     |
    | UCHIJA | trainercommands   | 2.4.1        | TrainerCommands-1.12.2-2.4.1-universal.jar | None                                     |
    | UCHIJA | wondertrade       | 4.5.4        | WonderTrade-1.12.2-4.5.4-universal.jar     | None                                     |

    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.13' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
    Launched Version: 1.12.2-forge1.12.2-14.23.4.2705
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.13, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: adventurepack.zip
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G 

From what I can tell the entity in question is the player that's causing the crash. Not entirely sure, though. Please help!

Posted
33 minutes ago, UrLordBeat said:

java.lang.NullPointerException: Ticking entity
    at safeplace.andwhat5.events.EventHandler.onPlayerTicked(EventHandler.java:76)

Try removing safeplace

  • Like 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.