[ImageJ-bugs] [Bug 1237] New: Launching jython interpreter causes java exception
bugzilla at fiji.sc
bugzilla at fiji.sc
Wed Mar 2 10:02:15 CST 2016
http://fiji.sc/bugzilla/show_bug.cgi?id=1237
Bug ID: 1237
Summary: Launching jython interpreter causes java exception
Product: Fiji
Version: unspecified
Hardware: PC
OS: Windows
Status: NEW
Severity: normal
Priority: P4
Component: Plugins
Assignee: imagej-bugs at imagej.net
Reporter: mw283 at cam.ac.uk
CC: mw283 at cam.ac.uk
Opening the jython interpreter from the Plugins>Scripting menu causes the
following java exception:
(Fiji Is Just) ImageJ 2.0.0-rc-44/1.50e; Java 1.8.0_66 [64-bit]; Windows 7 6.1;
44MB of 6075MB (<1%)
Traceback (most recent call last):
File "<string>", line 8, in <module>
java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.python.core.Py.loadAndInitClass(Py.java:909)
at org.python.core.Py.findClassInternal(Py.java:822)
at org.python.core.Py.findClassEx(Py.java:895)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
at org.python.core.PyObject.__findattr__(PyObject.java:863)
at org.python.core.imp.importFromAs(imp.java:1015)
at org.python.core.imp.importFrom(imp.java:987)
at org.python.pycode._pyx0.f$0(<string>:43)
at org.python.pycode._pyx0.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.Py.exec(Py.java:1319)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)
at common.AbstractInterpreter.importAll(AbstractInterpreter.java:962)
at Jython.Jython_Interpreter.run(Jython_Interpreter.java:73)
at ij.IJ.runUserPlugIn(IJ.java:212)
at ij.IJ.runPlugIn(IJ.java:176)
at ij.Executer.runCommand(Executer.java:136)
at ij.Executer.run(Executer.java:65)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Canvas3D
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 27 more
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError:
javax/media/j3d/Canvas3D
at org.python.core.Py.JavaError(Py.java:495)
at org.python.core.Py.findClassEx(Py.java:901)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
at org.python.core.PyObject.__findattr__(PyObject.java:863)
at org.python.core.imp.importFromAs(imp.java:1015)
at org.python.core.imp.importFrom(imp.java:987)
at org.python.pycode._pyx0.f$0(<string>:43)
at org.python.pycode._pyx0.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.Py.exec(Py.java:1319)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)
at common.AbstractInterpreter.importAll(AbstractInterpreter.java:962)
at Jython.Jython_Interpreter.run(Jython_Interpreter.java:73)
at ij.IJ.runUserPlugIn(IJ.java:212)
at ij.IJ.runPlugIn(IJ.java:176)
at ij.Executer.runCommand(Executer.java:136)
at ij.Executer.run(Executer.java:65)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.python.core.Py.loadAndInitClass(Py.java:909)
at org.python.core.Py.findClassInternal(Py.java:822)
at org.python.core.Py.findClassEx(Py.java:895)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Canvas3D
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 27 more
Information about your version of Java:
os.arch => amd64
os.name => Windows 7
os.version => 6.1
java.version => 1.8.0_66
java.vendor => Oracle Corporation
java.runtime.name => Java(TM) SE Runtime Environment
java.runtime.version => 1.8.0_66-b18
java.vm.name => Java HotSpot(TM) 64-Bit Server VM
java.vm.version => 25.66-b18
java.vm.vendor => Oracle Corporation
java.vm.info => mixed mode
java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
java.specification.name => Java Platform API Specification
java.specification.version => 1.8
sun.cpu.endian => little
sun.desktop => windows
file.separator => \
The up-to-date check says: REMIND_LATER
Information relevant to JAVA_HOME related problems:
JAVA_HOME is set to: C:\Fiji.app/java/win64/jdk1.8.0_66//jre
imagej.dir => C:\Fiji.app
Information about the version of each plugin:
Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20160121055533)
Fiji: http://update.fiji.sc/ (last check:20160114142236)
Java-8: http://sites.imagej.net/Java-8/ (last check:20160121051645)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20160302/5afa2de3/attachment-0001.html>
More information about the Imagej-bugs
mailing list