DFOnline / CodeClient

A DiamondFire utility client for advanced coding.
MIT License
12 stars 8 forks source link

CCDBUG kicks me with Internal Exception: java.lang.NullPointerException: Cannot assign field "type" because "dev.dfonline.codeclient.dev.Debug.Debug.variable" is null #70

Closed AlignedCookie88 closed 2 months ago

AlignedCookie88 commented 3 months ago

Describe the bug I was trying to setup CCDBUG for the first time and stumbled upon this. Using CCDBUG seems to throw the following error:

Internal Exception: java.lang.NullPointerException: Cannot assign field "type" because "dev.dfonline.codeclient.dev.Debug.Debug.variable" is null The log isn't going into any more detail (no stacktrace for some reason) so I don't see any point in sharing it.

To Reproduce

  1. Enable CCDBUG
  2. Copy the setup from my screenshots.
  3. /play

Expected behavior I expected it to display debug text on the screen.

Screenshots 2024-04-01_00 16 03 2024-04-01_00 16 05 2024-04-01_00 16 07 2024-04-01_00 16 10 2024-04-01_00 23 53

Checks Please check all these for more infomation with the bug.

GeorgeRNG commented 2 months ago

Forgot to close this, I changed how CCDBUG works: https://github.com/DFOnline/CodeClient/commit/08050f03f1562130deb183ac474cc289316ce3ed Using it should be far simpler, but it means all data needs to be handled plot side: https://github.com/DFOnline/CodeClient/wiki/ccdbug