AcademyCraft

AcademyCraft

1M Downloads

[Bug] 重置能力导致崩溃

ztmzzz opened this issue · 4 comments

commented

用能力诱导因子重置能力时会崩溃
1.1.0_beta5

commented

请附上详细的崩溃报告(crash_report)

commented

无法复现
请您在1月31日23:59前提供具体的crash-report,否则我们将关闭该issue

commented
---- Minecraft Crash Report ----

WARNING: coremods are present:
  CorePlugin (LambdaLib2-0.1.4.jar)
Contact their authors BEFORE contacting forge

// You're mean.

Time: 1/28/19 12:38 PM
Description: Ticking player

java.lang.NullPointerException: Ticking player
	at cn.academy.analyticUtil.AnalyticDataListener.levelChangeListener(AnalyticDataListener.java:128)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_7_AnalyticDataListener_levelChangeListener_LevelChangeEvent.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 cn.academy.datapart.AbilityData.setLevel(AbilityData.java:135)
	at cn.academy.ability.develop.action.DevelopActionReset.onLearned(DevelopActionReset.java:63)
	at cn.academy.ability.develop.DevelopData.tick(DevelopData.java:156)
	at cn.lambdalib2.datapart.DataPart.callTick(DataPart.java:224)
	at cn.lambdalib2.datapart.EntityData.tick(EntityData.java:225)
	at cn.lambdalib2.datapart.EntityData.access$000(EntityData.java:32)
	at cn.lambdalib2.datapart.EntityData$EventListener.onLivingUpdate(EntityData.java:241)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_69_EventListener_onLivingUpdate_LivingUpdateEvent.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.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:575)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095)
	at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:234)
	at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
	at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:173)
	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209)
	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
	at java.lang.Thread.run(Unknown Source)


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

-- Head --
Thread: Server thread
Stacktrace:
	at cn.academy.analyticUtil.AnalyticDataListener.levelChangeListener(AnalyticDataListener.java:128)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_7_AnalyticDataListener_levelChangeListener_LevelChangeEvent.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 cn.academy.datapart.AbilityData.setLevel(AbilityData.java:135)
	at cn.academy.ability.develop.action.DevelopActionReset.onLearned(DevelopActionReset.java:63)
	at cn.academy.ability.develop.DevelopData.tick(DevelopData.java:156)
	at cn.lambdalib2.datapart.DataPart.callTick(DataPart.java:224)
	at cn.lambdalib2.datapart.EntityData.tick(EntityData.java:225)
	at cn.lambdalib2.datapart.EntityData.access$000(EntityData.java:32)
	at cn.lambdalib2.datapart.EntityData$EventListener.onLivingUpdate(EntityData.java:241)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_69_EventListener_onLivingUpdate_LivingUpdateEvent.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.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:575)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095)
	at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:234)

-- Player being ticked --
Details:
	Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
	Entity ID: 1923
	Entity Name: ztmzzz
	Entity's Exact location: 42.27, 64.00, -161.83
	Entity's Block location: World: (42,64,-162), Chunk: (at 10,4,14 in 2,-11; contains blocks 32,0,-176 to 47,255,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
	at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:173)
	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209)
	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)

-- Ticking connection --
Details:
	Connection: net.minecraft.network.NetworkManager@309396c4
Stacktrace:
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
	at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_191, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 6600799704 bytes (6295 MB) / 7516192768 bytes (7168 MB) up to 8589934592 bytes (8192 MB)
	JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx8192m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
	IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94
	FML: MCP 9.42 Powered by Forge 14.23.5.2808 Optifine OptiFine_1.12.2_HD_U_E3 7 mods loaded, 7 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                                |
	|:------ |:-------------- |:------------ |:----------------------------- |:---------------------------------------- |
	| LCHIJA | minecraft      | 1.12.2       | minecraft.jar                 | None                                     |
	| LCHIJA | mcp            | 9.42         | minecraft.jar                 | None                                     |
	| LCHIJA | FML            | 8.0.99.99    | forge-1.12.2-14.23.5.2808.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| LCHIJA | forge          | 14.23.5.2808 | forge-1.12.2-14.23.5.2808.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| LCHIJA | LambdaLib|Core | 0.1.4        | minecraft.jar                 | None                                     |
	| LCHIJA | lambdalib2     | 0.1.4        | LambdaLib2-0.1.4.jar          | None                                     |
	| LCHIJA | academy        | 1.1.0_beta5  | AcademyCraft-1.1.0_beta5.jar  | None                                     |

	Loaded coremods (and transformers): 
CorePlugin (LambdaLib2-0.1.4.jar)
  cn.lambdalib2.render.mc.PipelineTransformer
  cn.lambdalib2.registry.impl.RegistryTransformer
	GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [EntityPlayerMP['ztmzzz'/1923, l='新的世界', x=42.27, y=64.00, z=-161.83]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	OptiFine Version: OptiFine_1.12.2_HD_U_E3
	OptiFine Build: 20181210-121000
	Render Distance Chunks: 8
	Mipmaps: 4
	Anisotropic Filtering: 16
	Antialiasing: 0
	Multitexture: true
	Shaders: null
	OpenGlVersion: 4.6.0 NVIDIA 417.71
	OpenGlRenderer: GeForce GTX 980 Ti/PCIe/SSE2
	OpenGlVendor: NVIDIA Corporation
	CpuCount: 8
commented

@voidcl 接锅