scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
64 stars 17 forks source link

TextDemo is broken #514

Closed kephale closed 1 year ago

kephale commented 1 year ago

I'm getting

java.lang.NullPointerException: Parameter specified as non-null is null: method sc.iview.SciView.addMesh, parameter mesh
    at sc.iview.SciView.addMesh(SciView.kt)
    at sc.iview.commands.demo.basic.TextDemo.run(TextDemo.java:88)
    at org.scijava.command.CommandModule.run(CommandModule.java:196)
    at org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)
    at org.scijava.module.ModuleRunner.call(ModuleRunner.java:125)
    at org.scijava.module.ModuleRunner.call(ModuleRunner.java:64)
    at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:247)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
kephale commented 1 year ago

Oops, but solved by this accidental push to main https://github.com/scenerygraphics/sciview/commit/93e27663aa55c83584de983e7f5bd619ddc1b816