Skip to content

Ctrl crash - #5280

Closed
soloturn wants to merge 1 commit into
developfrom
ctrl-crash
Closed

Ctrl crash#5280
soloturn wants to merge 1 commit into
developfrom
ctrl-crash

Conversation

@soloturn

@soloturn soloturn commented Oct 9, 2024

Copy link
Copy Markdown
Contributor

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.

@Cervator

Copy link
Copy Markdown
Member

Rebased this one as a relatively recent and small PR just to validate infra changes (to see if this PR passes all the checks)

Hoping to finally get back into some real review and coding when infra work is finally over, hopefully soon :-)

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f8371e72-ce6c-47a3-9602-701b43699da4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ctrl-crash

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@soloturn

Copy link
Copy Markdown
Contributor Author

AI-assisted update. Filed by agent driven by @soloturn via GDD.

Superseded. This wrapped tick() in a catch-all to keep the game alive long enough to observe the two crashes described here, tied to #5224. Both are now properly root-caused and fixed rather than swallowed:

Closing this in favor of those two.

@soloturn soloturn closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants