MovingBlocks / Terasology

Terasology - open source voxel world
http://terasology.org
Apache License 2.0
3.69k stars 1.34k forks source link

Ctrl crash #5280

Open soloturn opened 1 month ago

soloturn commented 1 month ago

to better find the cause of #5224 , crash on right ctrl, it catches all exceptions. the error on right-ctrl is then when debugging in intellij:

Caused by: java.lang.NullPointerException: Cannot load from byte/boolean array because "this.deflated" is null

when running with gradle game :

java.lang.IllegalArgumentException: moduleName must not be null or empty
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
        at org.terasology.gestalt.assets.ResourceUrn.<init>(ResourceUrn.java:185)
        at org.terasology.gestalt.assets.ResourceUrn.<init>(ResourceUrn.java:128)
        at org.terasology.engine.rendering.nui.internal.NUIManagerInternal.bindEvent(NUIManagerInternal.java:770)
        at org.terasology.engine.rendering.nui.internal.NUIManagerInternalMethodAccess.invoke(Unknown Source)
        at org.terasology.engine.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:399)
        at org.terasology.engine.entitySystem.event.internal.EventSystemImpl.sendConsumableEvent(EventSystemImpl.java:274)
        at org.terasology.engine.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:253)
        at org.terasology.engine.core.bootstrap.eventSystem.AbstractEventSystemDecorator.send(AbstractEventSystemDecorator.java:67)
        at org.terasology.engine.network.NetworkEventSystemDecorator.send(NetworkEventSystemDecorator.java:54)
        at org.terasology.engine.core.bootstrap.eventSystem.AbstractEventSystemDecorator.send(AbstractEventSystemDecorator.java:67)
        at org.terasology.engine.recording.RecordingEventSystemDecorator.send(RecordingEventSystemDecorator.java:32)
        at org.terasology.engine.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:188)
        at org.terasology.engine.input.internal.BindableButtonImpl.updateBindState(BindableButtonImpl.java:153)
        at org.terasology.engine.input.InputSystem.updateBindState(InputSystem.java:314)
        at org.terasology.engine.input.InputSystem.processKeyboardInput(InputSystem.java:389)
        at org.terasology.engine.input.InputSystem.update(InputSystem.java:132)

but it stays alive.