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

No uploads/editing and reuploading possible #4440

Closed
cyberduck opened this issue May 1, 2010 · 4 comments
Closed

No uploads/editing and reuploading possible #4440

cyberduck opened this issue May 1, 2010 · 4 comments

Comments

@cyberduck
Copy link
Collaborator

c76b007 created the issue

I'm using Cyberduck for a while without problems. Then we moved to another server and the following problem occurred:

After downloading a file for local editing, i can't upload it anymore!
After saving the temporary file in my text editor, Cyberduck recognizes this, but does nothing and sends a 200 command.
The same procedure happens when I want to create a new file!

Host:
ProFTPD 1.3.1 Server (ProFTPD)

My System:
MacOSX 10.6.3
Cyberduck 3.4.2 (Nightly Build 5919)


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Is this still an issue with a current snapshot build? I cannot replicate this issue. One can see form the transcript that no upload is attempted, tough.

@cyberduck
Copy link
Collaborator Author

c76b007 commented

Current Snapshot downloaded and tested: Problem still exists.

Maybe this messages from console help:

#!sh
###### First attempt to save

27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]	Exception in thread "pool-1-thread-3" java.lang.ExceptionInInitializerError
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Local.getInputStream(Local.java:498)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.ftp.FTPPath.uploadASCII(FTPPath.java:904)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.ftp.FTPPath.upload(FTPPath.java:825)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Path.upload(Path.java:709)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.UploadTransfer.transfer(UploadTransfer.java:443)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.transfer(Transfer.java:435)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.transfer(Transfer.java:521)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.start(Transfer.java:621)
27.07.10 19:51:13	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.ui.cocoa.odb.Editor$2.run(Editor.java:179)
.
.
.
###### Second attempt to save

27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]	Exception in thread "pool-1-thread-7" java.lang.NoClassDefFoundError: Could not initialize class ch.cyberduck.core.io.RepeatableFileInputStream
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Local.getInputStream(Local.java:498
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.ftp.FTPPath.uploadASCII(FTPPath.java:904)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.ftp.FTPPath.upload(FTPPath.java:825)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Path.upload(Path.java:709)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.UploadTransfer.transfer(UploadTransfer.java:443)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.transfer(Transfer.java:435)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.transfer(Transfer.java:521)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.core.Transfer.start(Transfer.java:621
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.ui.cocoa.odb.Editor$2.run(Editor.java:179)
27.07.10 19:52:23	[0x0-0xbb0bb].ch.sudo.cyberduck[2340]		at ch.cyberduck.ui.AbstractController$1.run(AbstractController.java:71)

Nothing "fiddled" in Java installation and no extensions installed (#3820)

@cyberduck
Copy link
Collaborator Author

c76b007 commented

Good news, guys!

After remembering that extensions could be also in ~/Library/Java/Extensions ;-)....i found the solution

Deleting and adding these one by one, I found that one called "commons-logging-1.0.4.jar" belonging to software of the Apache Foundation causing the unexpected behavior that changed files wouldn't be automatically uploaded.
More precisely: Apache FOP (Formatting Objects Processor).

I needed it to do exercises at university, but didn't remember it anymore and didn't think that it could influence Cyberduck.

Removing this extension I got it to work!

Maybe you can do some reasearch on it.

Download it and install .jar files from build and lib directory (binary package) into ~/Library/Java/Extensions should do it for testing.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:3 domneuk]:

Thanks for the additional information to the ticket. Similar issues were reported before in #3820, #3641, #4561 and #5059 having installed outdated versions of *.jar dependencies in /Library/Java/Extensions or ~/Library/Java/Extensions respectively that take precedence in the Java classpath. Installing such libraries globally is discouraged as it will ultimately lead to versioning conflicts sooner or later as in this case.

@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
Development

No branches or pull requests

2 participants