Re: Image5D and ij1.43p
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Feb 12, 2010; 7:04pm
URL: http://imagej.273.s1.nabble.com/Image5D-and-ij1-43p-tp3689417p3689422.html
On Feb 12, 2010, at 12:53 PM, Bill Mohler wrote:
> FOI, what was the fix? Was it the classes/methods that Dscho mentioned?
You can see the fix be going to the ImageJ Git source code repository at
http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=imagej.gitclicking "commit" on the topmost line ("2010.02.12 (1.43q)" and then clicking "diff" on the "ij/gui/StackWindow.java" line.
-wayne
> Johannes Schindelin wrote:
>> Hi,
>>
>> On Fri, 12 Feb 2010, Rasband, Wayne (NIH/NIMH) [E] wrote:
>>
>>
>>> On Feb 12, 2010, at 4:38 AM, Johannes Schindelin wrote:
>>>
>>>
>>>> On Fri, 12 Feb 2010, Mario Faretta wrote:
>>>>
>>>>
>>>>> I am experiencing a strange behavior with the Image5D plugin and the current
>>>>> version of ImageJ (1.43p, Windows XP 64-bit java 1.6.0_12).
>>>>> When I try to convert a stack to a 5D stack an exception occurs:
>>>>> java.lang.NoSuchFieldError: sliceSelector
>>>>> at i5d.gui.Image5DWindow.<init>(Image5DWindow.java:57)
>>>>> at i5d.gui.Image5DWindow.<init>(Image5DWindow.java:37)
>>>>> at Stack_to_Image5D.run(Stack_to_Image5D.java:148)
>>>>> at ij.IJ.runUserPlugIn(IJ.java:180)
>>>>> at ij.IJ.runPlugIn(IJ.java:147)
>>>>> at ij.Executer.runCommand(Executer.java:124)
>>>>> at ij.Executer.run(Executer.java:61)
>>>>> at java.lang.Thread.run(Unknown Source)
>>>>> I am not a programmer but I have the feeling that maybe a newly defined term
>>>>> is producing a compatibility problem (no problem till version 1.43o).
>>>>>
>>>> Indeed. The "Scrollbar sliceSelector" was replaced by a
>>>> "ScrollbarWithLabel sliceSelector" without prior warning. The bad part is
>>>> that "ScrollbarWithLabel" has a Scrollbar as member, but extends the Panel
>>>> class, thereby breaking backwards-compatibility.
>>>>
>>>> I only see two ways out:
>>>>
>>>> 1) adjust Image5D (which means, however, that everybody has to upgrade to
>>>> a new Image5D when upgrading ImageJ)
>>>>
>>>> 2) reverting the change in ImageJ, or at least adjusting it.
>>>>
>>>> I'll let Wayne make the call.
>>>>
>>> The bug in v1.43p that caused Image5D to crash is fixed in v1.43q.
>>>
>>
>> Thanks, I merged the fix into ImageJA (including its Fiji's branch).
>>
>> Ciao,
>> Dscho
>>
>>