Posted by
SteveWest on
Apr 22, 2017; 5:39pm
URL: http://imagej.273.s1.nabble.com/MCIB3D-Plugins-ClassCastException-when-running-Convex-Hull-plugin-tp5018589.html
Hi,
I am sure this is an easy fix, but I am getting the following error when trying to run the Convex Hull plugin in the mcib3D plugin suite:
(Fiji Is Just) ImageJ 2.0.0-rc-59/1.51k; Java 1.8.0_66 [64-bit]; Mac OS X 10.11.6; 47MB of 6966MB (<1%)
java.lang.ClassCastException: org.scijava.vecmath.Point3f cannot be cast to javax.vecmath.Point3f
at mcib3d.geom.Object3DSurface.translateTool(Object3DSurface.java:2068)
at mcib3d.geom.Object3D.computeMeshSurface(Object3D.java:3061)
at mcib3d.geom.Object3D.getConvexSurface(Object3D.java:3395)
at mcib3d.geom.Object3D.getConvexObject(Object3D.java:3412)
at mcib_plugins.Convex_Hull3D.run(Convex_Hull3D.java:66)
at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:265)
at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:114)
at ij.IJ.runUserPlugIn(IJ.java:219)
at ij.IJ.runPlugIn(IJ.java:181)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:745)
I understand this is a problem with Java3D, and that its not compatible with Java8. I have also followed the instructions of running 3D_viewer plugin. I can the 3D viewer plugin to work using either the 3D viewer which comes with FIJI, or by even downloading the zip archive from the mcib3D ImageJ Suite page:
http://imagejdocu.tudor.lu/doku.php?id=plugin:stacks:3d_ij_suite:startBut when I run the Convex Hull I still get the same error.
Can someone let me know how I can get the 3D suite to access the Java3D libraries please?
Thanks - any help would be great!
Steve.