ihmcrobotics / simulation-construction-set-2

Graphical user interface for visualizing control variables from either a server, a log file, or a simulation.
Apache License 2.0
13 stars 0 forks source link

Null Pointer Exception in SimpleColorFX #165

Closed jerryepratt closed 8 months ago

jerryepratt commented 8 months ago

If you go to YoGraphicProperties and create a 2D line and then give it some variable names, you get a null pointer exception in SimpleColorFX().

Quick workaround if you have source is to change line 7 in SimpleColorFX to private Color color = Color.RED;

That fixes the null pointer, but now all of your lines are red and seems like they change back to red when you reload each time.

SylvainBertrand commented 8 months ago

Ok I just pushed a fix on develop. I'm gonna close this issue, feel free to reopen it if there's something else popping up.