I'm rewriting OC-Minecarts for 1.10.2. But the Carts won't boot. If I insert no BIOS it works as intended and tells me, that I have to insert a BIOS EEPROM, same if I insert a BIOS but no OpenOS, but if I insert a OpenOS disk and power the computer cart up. The Startup routine crashes with "Unrecoverable Error java.lang.NullPointerException"
I don't know where this is coming from. The log doesn't tell me anything, even if I enable "logCallbackErrors" (and also some other options in debug category). Debugging with breakpoints also didn't help.
Forcing LuaJ it printed "machine:1447: machine:631: java.lang.NullPointerException stacktrace traceback: [Java] in ?"
EDIT: Didn't open a github issue because i'm pretty sure I did something wrong.
EDIT2: After some testing I figured out, that a method in the /lib/core/boot.lua or below the loading of boot.lua in the init.lua file leads to that error. Didn't figured out what method or where.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I'm rewriting OC-Minecarts for 1.10.2. But the Carts won't boot. If I insert no BIOS it works as intended and tells me, that I have to insert a BIOS EEPROM, same if I insert a BIOS but no OpenOS, but if I insert a OpenOS disk and power the computer cart up. The Startup routine crashes with "Unrecoverable Error java.lang.NullPointerException"
I don't know where this is coming from. The log doesn't tell me anything, even if I enable "logCallbackErrors" (and also some other options in debug category). Debugging with breakpoints also didn't help.
Forcing LuaJ it printed "machine:1447: machine:631: java.lang.NullPointerException stacktrace traceback: [Java] in ?"
OpenComputers: 1.7.0.128
Source: https://github.com/feldim2425/OC-Minecarts/tree/master-1.10
EDIT: Didn't open a github issue because i'm pretty sure I did something wrong.
EDIT2: After some testing I figured out, that a method in the /lib/core/boot.lua or below the loading of boot.lua in the init.lua file leads to that error. Didn't figured out what method or where.
Link to post
Share on other sites