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

NPE on startup when creating input descriptions #3

Closed
oniatus opened this issue Dec 16, 2016 · 3 comments
Closed

NPE on startup when creating input descriptions #3

oniatus opened this issue Dec 16, 2016 · 3 comments

Comments

@oniatus
Copy link

oniatus commented Dec 16, 2016

Tested from the latest engine develop branch and fetched the module today:
Used core gameplay, disabled all modules and activated WorkstationCrafting.
Startup produces this exception:

11:38:24.493 [main] ERROR o.t.e.event.internal.EventSystemImpl - Failed to invoke event
java.lang.NullPointerException: null
	at org.terasology.workstation.process.inventory.InventoryProcessPartUtils.createItems(InventoryProcessPartUtils.java:62)
	at org.terasology.workstation.process.inventory.InventoryInputProcessPartCommonSystem.getInputDescriptions(InventoryInputProcessPartCommonSystem.java:171)
	at org.terasology.workstation.process.inventory.InventoryInputProcessPartCommonSystemMethodAccess.invoke(Unknown Source)
	at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:506)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.sendStandardEvent(EventSystemImpl.java:269)
	at org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:260)
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:145)
	at org.terasology.workstationCrafting.system.CraftingWorkstationProcess.getInputDescriptions(CraftingWorkstationProcess.java:183)
	at org.terasology.workstationInGameHelp.systems.WorkstationItemsInGameHelpCommonSystem.postBegin(WorkstationItemsInGameHelpCommonSystem.java:83)
	at org.terasology.engine.modes.loadProcesses.PostBeginSystems.step(PostBeginSystems.java:44)
	at org.terasology.engine.modes.StateLoading.update(StateLoading.java:242)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:413)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:368)
	at org.terasology.engine.Terasology.main(Terasology.java:152)

The recipe that is processed in InventoryInputProcessPartCommonSystem.getInputDescriptions is WorkstationCrafting:RecipeStick.

@Cervator
Copy link
Member

Cervator commented Jan 4, 2017

Just to verify: this still happens, with the full NeoTTA template running.

@aaron-harris
Copy link
Member

I wanted to take a crack at this, but can't reproduce the error (either with WorkstationCrafting alone, or with all of NeoTTA). Is it possible that this has gotten fixed accidentally?

@Cervator
Copy link
Member

Cervator commented Feb 8, 2018

Hey @aaron-harris - sorry for missing that message for months :-) Yeah I just tried again, cannot replicate. Accidental fix ftw! Although I see another fix I had marked as maybe related, so that might be it. Closing!

@Cervator Cervator closed this as completed Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants