Clearvolume error

clearvolume
Tags: #<Tag:0x00007fb87d892410>

#1

Would like to try to substitute Imaris with Clearvolume, but when I try to open a dataset, I only get this:

null
ClearGLWindow: GLProfile[GL4bc/GL4bc.hw]
1.0
1.0
1.0
Windowsokt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : atiocl64
okt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : amdocl64
okt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : atiocl32
okt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : atiocl
okt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : amdocl32
okt 12, 2017 12:35:14 EM org.bridj.BridJ log
INFO: Library not found : amdocl
clearcl.exceptions.ClearCLException
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161)
	at clearcl.backend.jocl.ClearCLBackendJOCL.releaseImage(ClearCLBackendJOCL.java:1153)
	at clearcl.ClearCLImage.close(ClearCLImage.java:628)
	at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:248)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.NullPointerException
	at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$releaseImage$40(ClearCLBackendJOCL.java:1154)
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154)
	... 22 more
java.lang.NullPointerException
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
clearcl.exceptions.ClearCLException
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161)
	at clearcl.backend.jocl.ClearCLBackendJOCL.setKernelArgument(ClearCLBackendJOCL.java:626)
	at clearcl.ClearCLKernel.setArgumentsInternal(ClearCLKernel.java:259)
	at clearcl.ClearCLKernel.lambda$run$0(ClearCLKernel.java:306)
	at clearcl.util.ElapsedTime.measure(ElapsedTime.java:39)
	at clearcl.ClearCLKernel.run(ClearCLKernel.java:302)
	at clearcl.ClearCLKernel.run(ClearCLKernel.java:285)
	at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:234)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.NullPointerException
	at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$setKernelArgument$20(ClearCLBackendJOCL.java:726)
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154)
	... 26 more
java.lang.NullPointerException
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
clearcl.exceptions.ClearCLException
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161)
	at clearcl.backend.javacl.ClearCLBackendJavaCL.releaseImage(ClearCLBackendJavaCL.java:1206)
	at clearcl.ClearCLImage.close(ClearCLImage.java:628)
	at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:248)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.NullPointerException
	at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$releaseImage$40(ClearCLBackendJavaCL.java:1207)
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154)
	... 22 more
java.lang.NullPointerException
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
clearcl.exceptions.ClearCLException
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161)
	at clearcl.backend.javacl.ClearCLBackendJavaCL.setKernelArgument(ClearCLBackendJavaCL.java:652)
	at clearcl.ClearCLKernel.setArgumentsInternal(ClearCLKernel.java:259)
	at clearcl.ClearCLKernel.lambda$run$0(ClearCLKernel.java:306)
	at clearcl.util.ElapsedTime.measure(ElapsedTime.java:39)
	at clearcl.ClearCLKernel.run(ClearCLKernel.java:302)
	at clearcl.ClearCLKernel.run(ClearCLKernel.java:285)
	at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:234)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115)
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.NullPointerException
	at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$setKernelArgument$20(ClearCLBackendJavaCL.java:756)
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154)
	... 26 more
java.lang.NullPointerException
	at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60)
	at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49)
	at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69)
	at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99)
	at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
 --> Using backend: ClearCLBackendJOCL
________________________________________________________________________________
2 available OpenCL devices:

Device name: Hawaii, type: GPU, OpenCL version: 2,00000 
 max global memory: 8589934592 
 max local memory: 32768 
 clock freq: 1020Mhz 
 nb compute units: 44 
 extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_liquid_flash   

Device name: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz, type: CPU, OpenCL version: 1,20000 
 max global memory: 137335562240 
 max local memory: 32768 
 clock freq: 3500Mhz 
 nb compute units: 12 
 extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_spir cl_khr_gl_event   

________________________________________________________________________________
Selected device:
Device name: Hawaii, type: GPU, OpenCL version: 2,00000 
 max global memory: 8589934592 
 max local memory: 32768 
 clock freq: 1020Mhz 
 nb compute units: 44 
 extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_liquid_flash   

Device name: 	 ClearCLDevice [mClearCLPlatform=ClearCLPlatform [name=AMD Accelerated Parallel Processing], name=Hawaii] 
Exception in thread "SciJava-6b00ad9-Thread-1-FPSAWTAnimator#00-Timer0" com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught ClearCLException: null on thread SciJava-6b00ad9-Thread-1-FPSAWTAnimator#00-Timer0
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: com.jogamp.opengl.GLException: Caught ClearCLException: null on thread SciJava-6b00ad9-Thread-1-FPSAWTAnimator#00-Timer0
	at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	... 4 more
Caused by: clearcl.exceptions.ClearCLException
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161)
	at clearcl.backend.jocl.ClearCLBackendJOCL.enqueueWriteToImage(ClearCLBackendJOCL.java:1003)
	at clearcl.ClearCLImage.readFrom(ClearCLImage.java:375)
	at clearcl.ClearCLImage.readFrom(ClearCLImage.java:396)
	at clearvolume.renderer.opencl.OpenCLDevice.writeImage(OpenCLDevice.java:365)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.fillWithByteBuffer(OpenCLVolumeRenderer.java:406)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.prepareVolumeDataArray(OpenCLVolumeRenderer.java:230)
	at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:153)
	at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
	... 7 more
Caused by: java.lang.NullPointerException
	at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$enqueueWriteToImage$31(ClearCLBackendJOCL.java:1005)
	at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154)
	... 19 more

And a white square where the rendering should be.

Windows 10
AMD Radeon R9 with latest drivers

Any ideas?


#2

@David

How exactly are you opening your images to begin with? We recommend opening images via File > Import > Bio-Formats - that way your metadata in read in correctly. You can read up more on Bio-Formats here.

Otherwise - @skalarproduktraum @fjug any thoughts on this error?

eta


#3

Hey @etarena, thanks for the ping! I think Loic would be the best person to ask about this issue, as he did the ClearCL integration.

@David: This has nothing to do with the way you load your images. May I ask you to post this as an issue at https://github.com/clearvolume/clearvolume/issues ? Sorry for the inconvenience!


#4

@etarena: That’s the way I open them, with Bio-Formats.

@skalarproduktraum: Ok, thanks. But isn’t my issue the same as this one: https://github.com/ClearVolume/ClearVolume/issues/53