Error locking surface

java
3d-viewer
Tags: #<Tag:0x00007fd6a09f0eb0> #<Tag:0x00007fd6a09f0aa0>

#1

Hello,
I don’t know why I have this error:

Error locking surface

when I execute this code:

ImagePlus imp;
String path="/Users/Downloads/imageSeries";
IJ.run("Image Sequence...", "open=[" + path + "] sort");
imp=IJ.getImage();
new StackConverter(imp).convertToGray8();
// Create a universe and show it
Image3DUniverse univ = new Image3DUniverse();
// Add the image as a volume rendering
Content c = univ.addVoltex(imp);
univ.show();

Thanks