NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 825 - fiji-compat.jar update (27-Jun-14) breaks jython
fiji-compat.jar update (27-Jun-14) breaks jython
Status: NEW
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Windows
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-07-01 02:50 CDT by michael muniak
Modified: 2014-07-01 02:50 CDT
0 users

See Also:

Description michael muniak 2014-07-01 02:50:54 CDT
Hello. The latest (27-Jun-14) update to jars/fiji-compat.jar causes the following command to fail using jython.  If I replace jars/fiji-compat.jar with the previous version (listed as "98c59472 (UPDATEABLE) 20140626120009 jars/fiji-compat-2.0.0-SNAPSHOT.jar" in bug report interface), it works as expected.  I'm afraid I don't know enough to chase it any further than that.  All other components are up-to-date as of 1-July-14.  Cheers.

> import os
> root,dirs,files = os.walk('/').next()

Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\os.py", line 285, in walk
  File "C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py", line 270, in isdir
  File "C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py", line 270, in isdir
java.lang.IncompatibleClassChangeError: Found class com.kenai.jffi.InvocationBuffer, but interface was expected

	at com.kenai.jaffl.provider.jffi.AsmRuntime.marshal(AsmRuntime.java:167)

	at org.python.posix.WindowsLibC$jaffl$0.stat$raw(Unknown Source)

	at org.python.posix.WindowsLibC$jaffl$0.stat(Unknown Source)

	at org.python.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:200)

	at org.python.posix.LazyPOSIX.stat(LazyPOSIX.java:207)

	at org.python.modules.posix.PosixModule$StatFunction.__call__(PosixModule.java:966)

	at ntpath$py.isdir$17(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py:273)

	at ntpath$py.call_function(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py)

	at org.python.core.PyTableCode.call(PyTableCode.java:165)

	at org.python.core.PyBaseCode.call(PyBaseCode.java:134)

	at org.python.core.PyFunction.__call__(PyFunction.java:317)

	at os$py.walk$5(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\os.py:298)

	at os$py.call_function(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\os.py)

	at org.python.core.PyTableCode.call(PyTableCode.java:165)

	at org.python.core.PyGenerator.__iternext__(PyGenerator.java:149)

	at org.python.core.PyGenerator.__iternext__(PyGenerator.java:131)

	at org.python.core.PyIterator.next(PyIterator.java:42)

	at org.python.core.PyGenerator.generator_next(PyGenerator.java:81)

	at org.python.core.PyGenerator$generator_next_exposer.__call__(Unknown Source)

	at org.python.core.PyObject.__call__(PyObject.java:375)

	at org.python.pycode._pyx1.f$0(<string>:2)

	at org.python.pycode._pyx1.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:1261)

	at org.python.core.Py.exec(Py.java:1305)

	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)

	at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)

	at common.AbstractInterpreter.execute(AbstractInterpreter.java:659)

	at common.AbstractInterpreter$ExecuteCode.run(AbstractInterpreter.java:559)


java.lang.IncompatibleClassChangeError: java.lang.IncompatibleClassChangeError: Found class com.kenai.jffi.InvocationBuffer, but interface was expected

	at org.python.core.PyException.fillInStackTrace(PyException.java:70)
	at java.lang.Throwable.<init>(Throwable.java:181)
	at java.lang.Exception.<init>(Exception.java:29)
	at java.lang.RuntimeException.<init>(RuntimeException.java:32)
	at org.python.core.PyException.<init>(PyException.java:46)
	at org.python.core.PyException.<init>(PyException.java:43)
	at org.python.core.Py.JavaError(Py.java:481)
	at org.python.core.Py.setException(Py.java:1204)
	at ntpath$py.isdir$17(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py:273)
	at ntpath$py.call_function(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\ntpath.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
	at org.python.core.PyFunction.__call__(PyFunction.java:317)
	at os$py.walk$5(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\os.py:298)
	at os$py.call_function(C:\Users\MICHAE~1\Fiji.app\jars\jython-2.5.2.jar\Lib\os.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyGenerator.__iternext__(PyGenerator.java:149)
	at org.python.core.PyGenerator.__iternext__(PyGenerator.java:131)
	at org.python.core.PyIterator.next(PyIterator.java:42)
	at org.python.core.PyGenerator.generator_next(PyGenerator.java:81)
	at org.python.core.PyGenerator$generator_next_exposer.__call__(Unknown Source)
	at org.python.core.PyObject.__call__(PyObject.java:375)
	at org.python.pycode._pyx1.f$0(<string>:2)
	at org.python.pycode._pyx1.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:1261)
	at org.python.core.Py.exec(Py.java:1305)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
	at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)
	at common.AbstractInterpreter.execute(AbstractInterpreter.java:659)
	at common.AbstractInterpreter$ExecuteCode.run(AbstractInterpreter.java:559)
Caused by: java.lang.IncompatibleClassChangeError: Found class com.kenai.jffi.InvocationBuffer, but interface was expected
	at com.kenai.jaffl.provider.jffi.AsmRuntime.marshal(AsmRuntime.java:167)
	at org.python.posix.WindowsLibC$jaffl$0.stat$raw(Unknown Source)
	at org.python.posix.WindowsLibC$jaffl$0.stat(Unknown Source)
	at org.python.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:200)
	at org.python.posix.LazyPOSIX.stat(LazyPOSIX.java:207)
	at org.python.modules.posix.PosixModule$StatFunction.__call__(PosixModule.java:966)
	... 24 more