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

Error loading class from NIB #694

Closed
cyberduck opened this issue Aug 21, 2006 · 13 comments
Closed

Error loading class from NIB #694

cyberduck opened this issue Aug 21, 2006 · 13 comments

Comments

@cyberduck
Copy link
Collaborator

601a213 created the issue

First time i installed cyberduck on my machine it works! But then after a reboot its only starting and then ready, but can do nothing! Every menuitem is greyed out except the update one a no window is appearing! The console is showing this:


Aug 21 01:52:08 Cedrics-PowerBook /Applications/Netzwerk: Internet/Cyberduck.app/Contents/MacOS/Cyberduck: Java is generating its shared archive, version 1.5
2006-08-21 01:52:11.784 Cyberduck[1032] Unknown class `ch.cyberduck.ui.cocoa.CDMainController' in nib file, using `NSObject' instead.
2006-08-21 01:52:11.785 Cyberduck[1032] Could not connect the action donateMenuClicked: to target of class NSObject
2006-08-21 01:52:11.786 Cyberduck[1032] Could not connect the action licenseMenuClicked: to target of class NSObject
2006-08-21 01:52:11.787 Cyberduck[1032] Could not connect the action preferencesMenuClicked: to target of class NSObject
2006-08-21 01:52:11.787 Cyberduck[1032] Could not connect the action feedbackMenuClicked: to target of class NSObject
2006-08-21 01:52:11.788 Cyberduck[1032] Could not connect the action newDownloadMenuClicked: to target of class NSObject
2006-08-21 01:52:11.788 Cyberduck[1032] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2006-08-21 01:52:11.789 Cyberduck[1032] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2006-08-21 01:52:11.790 Cyberduck[1032] Could not connect the action downloadBookmarksFromDotMacClicked: to target of class NSObject
2006-08-21 01:52:11.791 Cyberduck[1032] Could not connect the action uploadBookmarksToDotMacClicked: to target of class NSObject
2006-08-21 01:52:11.791 Cyberduck[1032] Could not connect the action helpMenuClicked: to target of class NSObject
2006-08-21 01:52:11.791 Cyberduck[1032] Could not connect the action bugreportMenuClicked: to target of class NSObject
2006-08-21 01:52:11.792 Cyberduck[1032] Could not connect the action aboutMenuClicked: to target of class NSObject

What can i do?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Remove the colon from the folder named 'Netzwerk:Internet'

@cyberduck
Copy link
Collaborator Author

601a213 commented

But it is a "slash"!

@cyberduck
Copy link
Collaborator Author

601a213 commented

But removing the symbol works! Thanks, but please fix it!:-)

@cyberduck
Copy link
Collaborator Author

a3f05f1 commented

I have the same problem but i dont have a folder named Netzwerk/Internet, where should I find it?.
How do I know wich folder thats causing this? Is it named diffrently in a Swedish version of Mac OS X?

It's strange that a folder name is allowed to cause this. Sounds more like a bug.

2006-09-03 12:11:03.750 Cyberduck[267] Unknown class ch.cyberduck.ui.cocoa.CDMainController' in nib file, using NSObject' instead.
2006-09-03 12:11:03.750 Cyberduck[267] Could not connect the action donateMenuClicked: to target of class NSObject
2006-09-03 12:11:03.750 Cyberduck[267] Could not connect the action licenseMenuClicked: to target of class NSObject
2006-09-03 12:11:03.750 Cyberduck[267] Could not connect the action preferencesMenuClicked: to target of class NSObject
2006-09-03 12:11:03.750 Cyberduck[267] Could not connect the action feedbackMenuClicked: to target of class NSObject
2006-09-03 12:11:03.750 Cyberduck[267] Could not connect the action newDownloadMenuClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action downloadBookmarksFromDotMacClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action uploadBookmarksToDotMacClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action helpMenuClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action bugreportMenuClicked: to target of class NSObject
2006-09-03 12:11:03.751 Cyberduck[267] Could not connect the action aboutMenuClicked: to target of class NSObject

@cyberduck
Copy link
Collaborator Author

601a213 commented

Of course you hav not this folder, but the thing is that cyberduck has a problem with special characters anywhere in the path to your cyberduckversion.

@cyberduck
Copy link
Collaborator Author

a3f05f1 commented

But that sounds like a bug to me.
And what do you mean with "anywhere in the path to your cyberduckversion"?
Cyberduck.app is located in /Applications

It strange because it has been working great before and it works fine on my other computer.

@cyberduck
Copy link
Collaborator Author

4cc5b89 commented

i experienced this too. got build 2838 by update feature, then reinstalled same build as downloaded dmg - its the same, and looks like this:

-snip*
2007-02-13 12:59:46.017 Cyberduck[361] Unknown class ch.cyberduck.ui.cocoa.delegate.EditMenuDelegate' in nib file, using NSObject' instead.
2007-02-13 12:59:46.018 Cyberduck[361] Unknown class ch.cyberduck.ui.cocoa.delegate.BookmarkMenuDelegate' in nib file, using NSObject' instead.
2007-02-13 12:59:46.018 Cyberduck[361] Unknown class ch.cyberduck.ui.cocoa.delegate.RendezvousMenuDelegate' in nib file, using NSObject' instead.
2007-02-13 12:59:46.019 Cyberduck[361] Unknown class ch.cyberduck.ui.cocoa.CDMainController' in nib file, using NSObject' instead.
2007-02-13 12:59:46.020 Cyberduck[361] Unknown class ch.cyberduck.ui.cocoa.delegate.HistoryMenuDelegate' in nib file, using NSObject' instead.
2007-02-13 12:59:46.020 Cyberduck[361] Could not connect the action donateMenuClicked: to target of class NSObject
2007-02-13 12:59:46.020 Cyberduck[361] Could not connect the action licenseMenuClicked: to target of class NSObject
2007-02-13 12:59:46.020 Cyberduck[361] Could not connect the action preferencesMenuClicked: to target of class NSObject
2007-02-13 12:59:46.020 Cyberduck[361] Could not connect the action feedbackMenuClicked: to target of class NSObject
2007-02-13 12:59:46.020 Cyberduck[361] Could not connect the action newDownloadMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action downloadBookmarksFromDotMacClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action uploadBookmarksToDotMacClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action helpMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action bugreportMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action aboutMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action historyMenuClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action downloadBookmarksFromDotMacClicked: to target of class NSObject
2007-02-13 12:59:46.021 Cyberduck[361] Could not connect the action uploadBookmarksToDotMacClicked: to target of class NSObject
snip

my version actually is 2.7.3 build 2838, there is no 2.7.3 in version dropdown menue!

  • thanks! would love to use cyberduck again!

gruesse
j

@cyberduck
Copy link
Collaborator Author

4cc5b89 commented

killed my ~/Library/Preferences/ch.sudo.cyberduck.plist and it works fine. imo newer version were not compatible with existing plist. should be regarded especially when advertising and distributing updates.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

This failure is not only caused by colons in the pathname but also for other unknown reason(s). See also http://forums.cocoaforge.com/viewtopic.php?t=12644

No workaround is known yet.

@cyberduck
Copy link
Collaborator Author

Digitalsabre commented

On my machine, it seems to be a Java Virtual Machine error. See, the problem with this code is that I'm not running a PPC MacBook:

Java for ppc cannot run in this configuration.
Please consult documentation.
-[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a Java virtual machine
2007-04-07 02:51:31.455 Cyberduck[6647] Unknown class ch.cyberduck.ui.cocoa.CDMainController' in nib file, using NSObject' instead.
2007-04-07 02:51:31.460 Cyberduck[6647] Could not connect the action donateMenuClicked: to target of class NSObject
2007-04-07 02:51:31.460 Cyberduck[6647] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2007-04-07 02:51:31.462 Cyberduck[6647] Could not connect the action licenseMenuClicked: to target of class NSObject
2007-04-07 02:51:31.462 Cyberduck[6647] Could not connect the action websiteMenuClicked: to target of class NSObject
2007-04-07 02:51:31.463 Cyberduck[6647] Could not connect the action preferencesMenuClicked: to target of class NSObject
2007-04-07 02:51:31.464 Cyberduck[6647] Could not connect the action feedbackMenuClicked: to target of class NSObject
2007-04-07 02:51:31.465 Cyberduck[6647] Could not connect the action updateMenuClicked: to target of class NSObject
Java for ppc cannot run in this configuration.
Please consult documentation.
-[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a Java virtual machine
2007-04-07 03:04:52.613 Cyberduck[6652] Unknown class ch.cyberduck.ui.cocoa.CDMainController' in nib file, using NSObject' instead.
2007-04-07 03:04:52.649 Cyberduck[6652] Could not connect the action donateMenuClicked: to target of class NSObject
2007-04-07 03:04:52.650 Cyberduck[6652] Could not connect the action newBrowserMenuClicked: to target of class NSObject
2007-04-07 03:04:52.652 Cyberduck[6652] Could not connect the action licenseMenuClicked: to target of class NSObject
2007-04-07 03:04:52.653 Cyberduck[6652] Could not connect the action websiteMenuClicked: to target of class NSObject
2007-04-07 03:04:52.654 Cyberduck[6652] Could not connect the action preferencesMenuClicked: to target of class NSObject
2007-04-07 03:04:52.655 Cyberduck[6652] Could not connect the action feedbackMenuClicked: to target of class NSObject
2007-04-07 03:04:52.677 Cyberduck[6652] Could not connect the action updateMenuClicked: to target of class NSObject

You can see that there are two instances of failed execution here, with the same resulting errors. I am also running a Mac OS X 10.4.9 on a Core 2 Duo low end late 2006 white Macbook, and this is ocurring with CyberDuck 2.7.3. Furthermore, after deleting the preference file, the menus no function work at all, whereas they worked before deleting the preference plist file from ~/Library/Preferences

Hope this helps.

@cyberduck
Copy link
Collaborator Author

277cdea commented

After linking /System/Library/Frameworks/JavaVM.framework/Versions/Current/JavaVM (was missing) to /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM I can launch Cyberduck from the terminal by typing /Applications/Cyberduck.app/Contents/MacOS/Cyberduck. Double clicking Cyberduck.app fails the same way as before.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Manually changing symbolic links in /JavaVM.framework/Versions/ is officially not supported by Apple and will possibly break any application depending on the Java Framework. Please refer to kbase.info.apple.com and reinstall Java.

@cyberduck
Copy link
Collaborator Author

cyberduck commented May 27, 2007

@dkocher commented

Also see the duplicate at #12136.

@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