Bug 911 : Mac OS X 10.5.4 + NFS Home Folder: "Problem getting data folder. Error getting the Processing data folder"
Last modified: 2008-09-04 12:39




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
Mattbot
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-09-03 18:47
Mac OS X 10.5.4
1.83 Ghz Intel Core 2 Duo Mac Mini with 1 GB of RAM
Open LDAP directory based user account with NFS home directory
Processing 0148

I'm getting the following error when trying to launch Processing with a LDAP/NFS based user
account:

"Problem getting data folder. Error getting the Processing data folder"

Local users accounts have no problems. The same user account has no problems on a Mac
running on a Mac with Mac OS X 10.4.11. Placing a symlink in /Users to the account's NFS
home directory did not help.

Console log:

9/3/08 6:19:31 PM [0x0-0x60060].org.processing.app[779] [JavaAppLauncher] A 64-bit JVM
is available for 1.5.0
9/3/08 6:19:31 PM [0x0-0x60060].org.processing.app[779] [JavaAppLauncher] JVMArchs not
found in Java dictionary
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] java.io.FileNotFoundException:
Can't find folder
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
com.apple.eio.FileManager._findFolder(Native Method)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
com.apple.eio.FileManager.findFolder(FileManager.java:200)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.macosx.Platform.getLibraryFolder(Platform.java:170)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.macosx.Platform.getSettingsFolder(Platform.java:83)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.Base.getSettingsFolder(Base.java:1029)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.Base.getSettingsFile(Base.java:1056)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.Preferences.init(Preferences.java:168)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
processing.app.Base.main(Base.java:142)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
java.lang.reflect.Method.invoke(Method.java:585)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
9/3/08 6:19:33 PM [0x0-0x60060].org.processing.app[779] at
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
9/3/08 6:19:33 PM com.apple.launchd[127] ([0x0-0x60060].org.processing.app[779]) Exited
with exit code: 1
Additional Comment #1 From Mattbot 2008-09-04 12:02
Problem disappeared after installing Xcode tools.
Additional Comment #2 From fry 2008-09-04 12:39
That appears to be an Apple bug... You can file a bug with them at
bugreporter.apple.com. Basically this line of code doesn't seem to work
with an NFS mounted home directory:

import com.apple.eio.FileManager;

static final short kUserDomain = -32763;
static final int kDomainLibraryFolderType =
('d' << 24) | ('l' << 16) | ('i' << 8) | 'b';

static public void main(String[] args) {
String folder = FileManager.findFolder(kUserDomain,
kDomainLibraryFolderType);
}