|
Bugzilla – Bug 455 |
Plugin upload fails |
Last modified: 2012-09-18 20:32:26 CDT |
| ⚠ |
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. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
I just reverted both the Linux and Win updaters to the old version and ran Help>Update Fiji. This time, based on the updater jar timestamp, the updater update worked. The behavior is the same as originally described on both platforms, except that on Linux the error occurs immediately after clicking 'upload to server' rather than after the dependencies dialog box (it might have been this way originally TBH; I can't quite remember). However, on Linux I now get this stack trace in the console: bash-4.1$ java.lang.InstantiationException: No uploader found for protocol ssh at imagej.updater.core.FilesUploader.getUploader(FilesUploader.java:88) at imagej.updater.core.FilesUploader.<init>(FilesUploader.java:100) at imagej.updater.gui.UpdaterFrame.upload(UpdaterFrame.java:794) at imagej.updater.gui.UpdaterFrame$6$1.run(UpdaterFrame.java:323)I'm afraid the behavior is the same as before, although the stack trace line numbers are different: java.lang.InstantiationException: No uploader found for protocol ssh at imagej.updater.core.FilesUploader.getUploader(FilesUploader.java:94) at imagej.updater.core.FilesUploader.<init>(FilesUploader.java:106) at imagej.updater.gui.UpdaterFrame.upload(UpdaterFrame.java:794) at imagej.updater.gui.UpdaterFrame$6$1.run(UpdaterFrame.java:323) Additionally, the first attempts to install the new updater failed on Windows and Linux judged by the time stamps. I again reverted the loaders to older versions and the updater was able to update. That being said - if the error is because the updater now has dependencies, perhaps I should just not be an idiot and download those dependencies? Or do you want to actually squash this bug? Whichever route you prefer is fine with me but if the bug is because my install isn't up to date I'm not sure it's a good use of your time. I should have reported that I hadn't updated recently but I thought that wouldn't affect the updater - sorry.I got the latest version of the updater and the sezpoz related items no longer show up. However, this line: Conflict: jars/netcdf-java-4.0.41.jar Depends on plugins/visad-lite-2.0.20070828.jar which was not uploaded. ...still appears in the dependencies dialog for the uploader and blocks uploading as previously described. Also, when running the updater on linux, the following output/exceptions show up in the terminal. The 'shadow' output occurred on load. The first exception occurred when updating the updater. The second occurred when the new updater was started for the first time. bash-4.1$ fiji/Fiji.app/fiji-linux64 'jars/javassist.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/jsch.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/jfreechart.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/imglib2-algorithms.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/ij.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/imglib2-io.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/clibwrapper_jiio.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/imglib2.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/jcommon.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'Contents/MacOS/ImageJ-macosx' from update site 'Fiji' shadows the one from update site 'ImageJ' 'Contents/MacOS/ImageJ-tiger' from update site 'Fiji' shadows the one from update site 'ImageJ' 'ImageJ-linux32' from update site 'Fiji' shadows the one from update site 'ImageJ' 'ImageJ-linux64' from update site 'Fiji' shadows the one from update site 'ImageJ' 'ImageJ-win32.exe' from update site 'Fiji' shadows the one from update site 'ImageJ' 'ImageJ-win64.exe' from update site 'Fiji' shadows the one from update site 'ImageJ' 'jars/ij-launcher.jar' from update site 'Fiji' shadows the one from update site 'ImageJ' 'images/icon.png' from update site 'Fiji' shadows the one from update site 'ImageJ' 'images/icon-flat.png' from update site 'Fiji' shadows the one from update site 'ImageJ' Trying to install and execute the new updater java.lang.ClassNotFoundException: imagej.updater.gui.ImageJUpdater at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at imagej.updater.gui.ImageJUpdater.run(ImageJUpdater.java:183) at fiji.updater.Adapter.runUpdater(Adapter.java:160) at fiji.updater.Adapter.showDialog(Adapter.java:109) at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:87) at fiji.updater.Updater.run(Updater.java:14) at fiji.updater.UptodateCheck.run(UptodateCheck.java:8) at fiji.Main.gentlyRunPlugIn(Main.java:308) at fiji.Main.runUpdater(Main.java:299) at fiji.Main$1.run(Main.java:346) bash-4.1$ fiji/Fiji.app/fiji-linux64 Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 19, Size: 29 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at imagej.updater.gui.FileTable$FileTableModel.getValueAt(FileTable.java:378) at javax.swing.JTable.getValueAt(JTable.java:2686) at javax.swing.JTable.prepareRenderer(JTable.java:5703) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143) at javax.swing.JComponent.paintComponent(JComponent.java:752) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JViewport.paint(JViewport.java:747) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JLayeredPane.paint(JLayeredPane.java:567) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278) at javax.swing.RepaintManager.paint(RepaintManager.java:1224) at javax.swing.JComponent.paint(JComponent.java:1015) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97) at java.awt.Container.paint(Container.java:1780) at java.awt.Window.paint(Window.java:3375) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:603) at java.awt.EventQueue$1.run(EventQueue.java:601) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) bash-4.1$The code for the VisBio Fiji plugins, by the way, is at: https://github.com/uw-loci/visbio-imagej/ If you look in the pom.xml you'll see the visad-lite dependency.