Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error! #1316

Closed
Orangian opened this issue Oct 27, 2014 · 6 comments
Closed

Fatal Error! #1316

Orangian opened this issue Oct 27, 2014 · 6 comments
Labels
Status: Needs Discussion Requires help discussing a reported issue or provided PR

Comments

@Orangian
Copy link

I was going to use the infin blocks thing then I pressed b and I got this java.lang.NullPointerException
at org.terasology.world.block.internal.BlockPrefabManager.updateBlock(BlockPrefabManager.java:65)
at org.terasology.world.block.internal.BlockPrefabManager.onBlockFamilyRegistered(BlockPrefabManager.java:47)
at org.terasology.world.block.internal.BlockManagerImpl.registerFamily(BlockManagerImpl.java:236)
at org.terasology.world.block.internal.BlockManagerImpl.getBlockFamily(BlockManagerImpl.java:370)
at org.terasology.blockPicker.ui.BlockPickerScreen.refreshAllItemEntities(BlockPickerScreen.java:150)
at org.terasology.blockPicker.ui.BlockPickerScreen.initialise(BlockPickerScreen.java:56)
at org.terasology.rendering.nui.CoreScreenLayer.onOpened(CoreScreenLayer.java:72)
at org.terasology.rendering.nui.internal.NUIManagerInternal.prepare(NUIManagerInternal.java:511)
at org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:243)
at org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:207)
at org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:196)
at org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:225)
at org.terasology.blockPicker.systems.BlockPickerClientSystem.onOpenContainer(BlockPickerClientSystem.java:37)
at org.terasology.blockPicker.systems.BlockPickerClientSystemMethodAccess.invoke(Unknown Source)
at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:497)
at org.terasology.entitySystem.event.internal.EventSystemImpl.sendConsumableEvent(EventSystemImpl.java:278)
at org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:257)
at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:166)
at org.terasology.input.internal.BindableButtonImpl.updateBindState(BindableButtonImpl.java:178)
at org.terasology.input.InputSystem.processKeyboardInput(InputSystem.java:319)
at org.terasology.input.InputSystem.update(InputSystem.java:205)
at org.terasology.engine.modes.StateIngame.handleInput(StateIngame.java:168)
at org.terasology.engine.subsystem.lwjgl.LwjglInput.postUpdate(LwjglInput.java:65)
at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:482)
at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:268)
at org.terasology.engine.Terasology.main(Terasology.java:115)
Here is the log file link https://www.dropbox.com/s/vomdxe0b7md27y0/Error.txt?dl=0 Im using the stable version on 10-26-2014

@Cervator
Copy link
Member

Oh boy that is a juicy error log, thanks for that :-)

Lots of possibly issues (Java8, Win8, huge memory settings, assorted errors on startup including video card warnings) but I am pretty sure this is because you ran with all modules enabled? I can reproduce the crash that way

Run game, enable all modules, start Perlin world, press 'b' for BlockPicker == crash!

We probably need to highlight better that running with all possible modules is becoming a less and less survivable experiment as we get more and more modules that may conflict with each other :-)

Could you try running the game with all modules disabled using the Core gameplay option? Using the gameplay templates and optionally enabling a few extras is generally the safer way to run the game. Imagine running Minecraft with all mods ever enabled :D

Let me know!

@Cervator Cervator added the Status: Needs Discussion Requires help discussing a reported issue or provided PR label Oct 27, 2014
@OvermindDL1
Copy link
Contributor

For note, I just got it, I only had Through the Ages II and its dependent mods enabled as well as block picker.
Linux host.name 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Terasology-1206 2014-11-03

@Cervator
Copy link
Member

Wonder if this might relate to Terasology/BlockPicker#7 - @MarcinSc ?

@MarcinSc
Copy link
Contributor

I think it might be related. It seems a block specifies a prefab that is not present in resources. This would not be a problem in a normal game, as these blocks would not be normally available/generated in world, however BlockPicker assumes everything has to be consistent, even unused or WIP stuff.

@MarcinSc
Copy link
Contributor

Yup, found the culprit: "lightAndShadowResources:redTarget". This just highlights another issue I've raised in the chat recently - LASR depends on other modules, but does not define it in module.txt.

@Cervator
Copy link
Member

Closing this - we just removed the "Enable all" button so it should be harder to encounter this. Also been a while so some of the other issues are likely gone too (or invalid after a lot of related changes have happened - could be broken in new and interesting ways!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Discussion Requires help discussing a reported issue or provided PR
Projects
None yet
Development

No branches or pull requests

4 participants