Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort comparator is null #3119

Closed
cyberduck opened this issue Apr 20, 2009 · 12 comments
Closed

Sort comparator is null #3119

cyberduck opened this issue Apr 20, 2009 · 12 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Apr 20, 2009

e75bf09 created the issue

simple as that really. open Cyberduck and then try to open one of my ftp accounts and it connects but doesnt list the dirs...?

21/04/2009 22:07:02 Cyberduck[316] java/lang/ClassCastException:
ch.cyberduck.core.ftp.FTPPath
Stack Trace:
java.lang.ClassCastException: ch.cyberduck.core.ftp.FTPPath
 at java.util.Arrays.mergeSort(Arrays.java:1156)
 at java.util.Arrays.mergeSort(Arrays.java:1167)
 at java.util.Arrays.mergeSort(Arrays.java:1167)
 at java.util.Arrays.mergeSort(Arrays.java:1167)
 at java.util.Arrays.mergeSort(Arrays.java:1167)
 at java.util.Arrays.sort(Arrays.java:1221)
 at java.util.Collections.sort(Collections.java:159)
 at ch.cyberduck.core.Cache.get(Cache.java:105)
 at
ch.cyberduck.ui.cocoa.CDBrowserTableDataSource.childs(CDBrowserTableDataSource.java:82)
 at
ch.cyberduck.ui.cocoa.CDBrowserListViewModel.numberOfRowsInTableView(CDBrowserListViewModel.java:43)
 at com.apple.cocoa.application.NSTableView.reloadData(Native Method)
 at
ch.cyberduck.ui.cocoa.CDBrowserController.reloadData(CDBrowserController.java:709)
 at
ch.cyberduck.ui.cocoa.CDBrowserController.reloadData(CDBrowserController.java:671)
 at
ch.cyberduck.ui.cocoa.CDBrowserController.setPathFilter(CDBrowserController.java:620)
 at
ch.cyberduck.ui.cocoa.CDBrowserController$31.cleanup(CDBrowserController.java:3523)
 at
ch.cyberduck.ui.cocoa.CDWindowController$1$1.run(CDWindowController.java:86)
 at
ch.cyberduck.ui.cocoa.CDMainApplication.sendEvent(CDMainApplication.java:48)
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

@dkocher commented

Please post the transcript from View → Log Drawer.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

seems to be connecting... am i just not selecting how to list the DIR? if not how do i do that?

220-FileZilla Server version 0.9.29 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
USER domain.net
331 Password required for domain.net
PASS blanked out
230 Logged on
NOOP
200 OK
SYST
215 UNIX emulated by FileZilla
CWD /mailoutassets
250 CWD successful. "/mailoutassets" is current directory.
FEAT
211-Features:
MDTM
REST STREAM
SIZE
MLST type*;size*;modify*;
MLSD
UTF8
CLNT
MFMT
211 End
PASV
227 Entering Passive Mode (86,17,7,35,5,236)
LIST
150 Connection accepted
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2004_10_02
-rw-r--r-- 1 ftp ftp 398740 Aug 31 2004 2004_10_02 business_card_back.gif
-rw-r--r-- 1 ftp ftp 316226 Aug 31 2004 2004_10_02 business_card_front.gif
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2005_02_05
-rw-r--r-- 1 ftp ftp 4739 Apr 20 2005 2005_04_20_mailtemplate.html
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2005_10_29
-rw-r--r-- 1 ftp ftp 31440 Sep 19 2005 2005_10_29_Front.jpg
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2006_02_04
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2006_04_01
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2006_06_03
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2006_12_02
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 2007_06_22
drwxr-xr-x 1 ftp ftp 0 Oct 27 2007 2007_11_30
drwxr-xr-x 1 ftp ftp 0 Mar 27 2008 2008_03_28
-rw-r--r-- 1 ftp ftp 1872171 Aug 15 2006 Ben_Chris_PR
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 CF
drwxr-xr-x 1 ftp ftp 0 Jan 24 2009 CSS
-rw-r--r-- 1 ftp ftp 574771 Apr 21 2005 DSCF0976.JPG
-rw-r--r-- 1 ftp ftp 21589 Apr 21 2005 DSCF0976s.JPG
-rw-r--r-- 1 ftp ftp 594120 Apr 21 2005 DSCF1027.JPG
-rw-r--r-- 1 ftp ftp 24018 Apr 21 2005 DSCF1027s.JPG
-rw-r--r-- 1 ftp ftp 606857 Apr 21 2005 DSCF1135.JPG
-rw-r--r-- 1 ftp ftp 30990 Apr 21 2005 DSCF1135s.JPG
drwxr-xr-x 1 ftp ftp 0 Jan 20 2009 eventassets
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 fluxrecordings
-rw-r--r-- 1 ftp ftp 1006193 Sep 09 2004 Flyer_Back.gif
-rw-r--r-- 1 ftp ftp 1006193 Sep 09 2004 Flyer_Back.jpg
-rw-r--r-- 1 ftp ftp 578020 Sep 09 2004 Flyer_Front.gif
-rw-r--r-- 1 ftp ftp 578020 Sep 09 2004 Flyer_Front.jpg
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 Label
-rw-r--r-- 1 ftp ftp 37807 Sep 09 2004 LOGO SPLIT Word Bigger.gif
-rw-r--r-- 1 ftp ftp 2677 Sep 09 2004 LOGO Ticketweb.gif
-rw-r--r-- 1 ftp ftp 9560 Sep 09 2004 LOGO-Dynamix-Berlin.gif
-rw-r--r-- 1 ftp ftp 37799 Oct 28 2007 LOGOSPLITWordBiggerInvert.gif
-rw-r--r-- 1 ftp ftp 5144 Apr 20 2005 LOGOSPLITWordSmallerT.gif
-rw-r--r-- 1 ftp ftp 66282 Sep 21 2005 LOGO_SPLIT_Vectored.jpg
-rw-r--r-- 1 ftp ftp 116826 Sep 10 2004 octback2a.jpg
-rw-r--r-- 1 ftp ftp 100847 Sep 10 2004 octfront2.jpg
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 photosforeditor
-rw-r--r-- 1 ftp ftp 19147 May 20 2007 PHOTO_AlexDowney.jpg
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 radioshowassets
drwxr-xr-x 1 ftp ftp 0 Jul 17 2007 retrovert
drwxr-xr-x 1 ftp ftp 0 Nov 14 2007 RSS
-rw-r--r-- 1 ftp ftp 1872171 Sep 26 2006 send 4_fab.jpg
-rw-r--r-- 1 ftp ftp 89357 Sep 26 2006 send-4_fab_lo.jpg
-rw-r--r-- 1 ftp ftp 69954 May 10 2006 SPLIT 2006_06_03 Poster v1.1 Final Lo Res.jpg
-rw-r--r-- 1 ftp ftp 675979 Aug 31 2004 SPLIT Presents DYNAMIX BERLIN Showcase 2004_10_02 Business Card_Back.jpg
-rw-r--r-- 1 ftp ftp 457028 Aug 31 2004 SPLIT Presents DYNAMIX BERLIN Showcase 2004_10_02 Business Card_Front.jpg
-rw-r--r-- 1 ftp ftp 701 Apr 20 2005 split.css
-rw-r--r-- 1 ftp ftp 641574 Sep 06 2004 SPLIT_Flyer_Background 2004_10_02.jpg
-rw-r--r-- 1 ftp ftp 398740 Aug 31 2004 test_back.gif
-rw-r--r-- 1 ftp ftp 316226 Aug 31 2004 test_front.gif
-rw-r--r-- 1 ftp ftp 14692 Apr 19 2005 Text_SplitNewsletter.jpg
-rw-r--r-- 1 ftp ftp 8776 Apr 19 2005 Text_SplitRadio.jpg
-rw-r--r-- 1 ftp ftp 14077 Apr 19 2005 Text_theSplitRadioShow.jpg
-rw-r--r-- 1 ftp ftp 36942 May 20 2007 Urb Shoot-Chicago1.jpg
226 Transfer OK

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

sorry i dont know how to enter text to it is all on different lines?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

sorry dont understand..? what do i need to do?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

@dkocher commented

Can you find any related output in the console.log (/Applications/Utilities/Console.app)? As a workaround you can try the latest nightly build from http://update.cyberduck.ch/nightly/

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

sounding very think here but assume the nightly build is a nightly unreleased update that i can use as on ongoing possible fix?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

@dkocher commented

Testcase added in 9ff2970. Cannot replicate the issue. Please look for output in the system log.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

domnt know much about this. do i download the .gz or .gz.md5?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

downloaded the.md5, unzipped and opened and used... but same problem... any work around at all? desperate...

how do i use the terminal.app with this to search the problem?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 21, 2009

331d2bc commented

ok.. getting there..slowly... its console.app not terminal.app.. what am i looking for? i see:

21/04/2009 22:07:02 Cyberduck[316] java/lang/ClassCastException: ch.cyberduck.core.ftp.FTPPath
Stack Trace:
java.lang.ClassCastException: ch.cyberduck.core.ftp.FTPPath
at java.util.Arrays.mergeSort(Arrays.java:1156)
at java.util.Arrays.mergeSort(Arrays.java:1167)
at java.util.Arrays.mergeSort(Arrays.java:1167)
at java.util.Arrays.mergeSort(Arrays.java:1167)
at java.util.Arrays.mergeSort(Arrays.java:1167)
at java.util.Arrays.sort(Arrays.java:1221)
at java.util.Collections.sort(Collections.java:159)
at ch.cyberduck.core.Cache.get(Cache.java:105)
at ch.cyberduck.ui.cocoa.CDBrowserTableDataSource.childs(CDBrowserTableDataSource.java:82)
at ch.cyberduck.ui.cocoa.CDBrowserListViewModel.numberOfRowsInTableView(CDBrowserListViewModel.java:43)
at com.apple.cocoa.application.NSTableView.reloadData(Native Method)
at ch.cyberduck.ui.cocoa.CDBrowserController.reloadData(CDBrowserController.java:709)
at ch.cyberduck.ui.cocoa.CDBrowserController.reloadData(CDBrowserController.java:671)
at ch.cyberduck.ui.cocoa.CDBrowserController.setPathFilter(CDBrowserController.java:620)
at ch.cyberduck.ui.cocoa.CDBrowserController$31.cleanup(CDBrowserController.java:3523)
at ch.cyberduck.ui.cocoa.CDWindowController$1$1.run(CDWindowController.java:86)
at ch.cyberduck.ui.cocoa.CDMainApplication.sendEvent(CDMainApplication.java:48)

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 22, 2009

@dkocher commented

As a workaround until this issue is resolved enter a Terminal.app window and paste

defaults delete ch.sudo.cyberduck browser.sort.column

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 22, 2009

@dkocher commented

In 6f9605c.

Loading

@cyberduck cyberduck closed this Apr 22, 2009
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants