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). Any suggestion? Thanks Mario -- Mario Faretta Department of Experimental Oncology European Institute of Oncology c/o IFOM-IEO Campus for Oncogenomics via Adamello 16 20139 Milan Italy Phone: ++39-02574303054 email: [hidden email] http://www.ifom-ieo-campus.it [- Il Tuo 5 per Mille a favore della Ricerca dell'Istituto Europeo di Oncologia Tutti coloro che presentano il modello Unico, il modello 730 o più semplicemente che ricevono dal proprio datore di lavoro il modello CUD, hanno la facoltà di scegliere la destinazione del proprio 5 per mille. Nella casella riservata al Finanziamento agli Enti della Ricerca Sanitaria inserisci il codice fiscale dello IEO (08 69 14 40 153) ed apponi la Tua firma. Il Tuo 5 per Mille verrà destinato alla ricerca contro il cancro dell'Istituto Europeo di Oncologia NON COSTA NULLA E NON COMPORTA ALCUN AUMENTO DELLE IMPOSTE DA VERSARE NON È UN'ALTERNATIVA ALL'8 PER MILLE E' UN GESTO CONCRETO E DI GRANDE VALORE Per saperne di più vai al sito dello IEO www.ieo.it < http://www.ieo.it > oppure scrivi a [hidden email] < mailto:[hidden email]> Segnala ad un amico questa opportunità -] |
Hi,
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. Ciao, Dscho |
On Feb 12, 2010, at 4:38 AM, Johannes Schindelin wrote:
> Hi, > > 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. -wayne |
Just thanks to Wayne for its precious help
Mario Rasband, Wayne (NIH/NIMH) [E] ([hidden email]) wrote: > > On Feb 12, 2010, at 4:38 AM, Johannes Schindelin wrote: > > > Hi, > > > > 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. > > -wayne > -- Mario Faretta Department of Experimental Oncology European Institute of Oncology c/o IFOM-IEO Campus for Oncogenomics via Adamello 16 20139 Milan Italy Phone: ++39-02574303054 email: [hidden email] http://www.ifom-ieo-campus.it [- Il Tuo 5 per Mille a favore della Ricerca dell'Istituto Europeo di Oncologia Tutti coloro che presentano il modello Unico, il modello 730 o più semplicemente che ricevono dal proprio datore di lavoro il modello CUD, hanno la facoltà di scegliere la destinazione del proprio 5 per mille. Nella casella riservata al Finanziamento agli Enti della Ricerca Sanitaria inserisci il codice fiscale dello IEO (08 69 14 40 153) ed apponi la Tua firma. Il Tuo 5 per Mille verrà destinato alla ricerca contro il cancro dell'Istituto Europeo di Oncologia NON COSTA NULLA E NON COMPORTA ALCUN AUMENTO DELLE IMPOSTE DA VERSARE NON È UN'ALTERNATIVA ALL'8 PER MILLE E' UN GESTO CONCRETO E DI GRANDE VALORE Per saperne di più vai al sito dello IEO www.ieo.it < http://www.ieo.it > oppure scrivi a [hidden email] < mailto:[hidden email]> Segnala ad un amico questa opportunità -] |
In reply to this post by Rasband, Wayne (NIH/NIMH) [E]
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 |
FOI, what was the fix? Was it the classes/methods that Dscho mentioned?
Thanks, Bill 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 > > |
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.git clicking "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 >> >> |
Free forum by Nabble | Edit this page |