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

Crash putting card of script function in item importer 'import all items slot' #9

Closed
milkev opened this issue Apr 6, 2024 · 2 comments

Comments

@milkev
Copy link

milkev commented Apr 6, 2024

Issue type:

  • 🐛 Bug

Short description:

just started messing around with integrated scripting. Was wanting to try a basic settup to read the nbt data of a Powah energizing orb and import/export items based on it. I made a basic function, and stuck it in the 'import items to network' slot in an inventory importer only for the server to crash
I am running with sinytra connector, im lazy and just want to play rn so im not gonna relaunch a bunch of times to test without it and stuff, just gonna go use the visual scripting cards.

I was able to log back into the world without it crashing, and just pulled the card out of the item importer.

Steps to reproduce the problem:

  1. make function card
  2. put it in the 'import all items slot' of an item importer

Expected behaviour:

  1. not for it to work necessarily, but definitely for the server to not crash

Versions:

  • This mod: 1.21.2
  • Minecraft: 1.20.1
  • Forge: 47.1.3

Log file:

crash log: crash-2024-04-05_22.06.58-server.txt
latest.log: 2024-04-05-1.log.gz

@rubensworks
Copy link
Member

Thanks for reporting!

@rubensworks
Copy link
Member

Note to self:

java.lang.ClassCastException: class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeOperator$ValueOperator cannot be cast to class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeList$ValueList (org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeOperator$ValueOperator and org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeList$ValueList are in module [email protected] of loader 'TRANSFORMER' @34e0d52e)
	at org.cyclops.integratedtunnels.part.aspect.TunnelAspectWriteBuilders$Item.lambda$static$6(TunnelAspectWriteBuilders.java:653) ~[IntegratedTunnels-1.20.1-1.8.25.jar%231033!/:1.8.25] {re:classloading}
	at org.cyclops.integrateddynamics.core.part.aspect.build.AspectBuilder$BuiltWriter.write(AspectBuilder.java:396) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.part.aspect.write.AspectWriteBase.update(AspectWriteBase.java:58) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.part.aspect.build.AspectBuilder$BuiltWriter.update(AspectBuilder.java:419) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.part.write.PartTypeWriteBase.update(PartTypeWriteBase.java:90) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.part.write.PartTypeWriteBase.update(PartTypeWriteBase.java:57) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.network.PartNetworkElement.update(PartNetworkElement.java:168) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.network.Network.update(Network.java:409) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.TickHandler.onTick(TickHandler.java:74) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading}
	at org.cyclops.integrateddynamics.core.__TickHandler_onTick_TickEvent.invoke(.dynamic) ~[IntegratedDynamics-1.20.1-1.21.2.jar%231030!/:1.21.2] {re:classloading,pl:eventbus:B}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2387!/:?] {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants