Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exception: java.io.UnixFileSystem.createFileExclusively(Native Method)



Hi

I recently released a beta version of my app XCaramba.
In the app I've created a exception-report feature, which allows users to send the exception if one occurs.

Now I recently received this exception, which I really don't understand since I've never seen it before and its also native.
Good news is I've only received 4 reports with easy to fix bugs.

Mac OS X, ppc
Java 1.5.0_06
JVM 1.5.0_06-64

Stacktrace length: 12

java.io.UnixFileSystem.createFileExclusively(Native Method)
java.io.File.createNewFile(File.java:850)
PreferencesFile.updateFile(PreferencesFile.java:160)
PreferencesFile.<init>(PreferencesFile.java:30)
XCaramba.main(XCaramba.java:71)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

At the third line, the method PreferencesFile.updateFile(PreferencesFile.java:160) does this:

myFile.createNewFile();

before that, this

myFile = new File( "Prefs file" );


Any idéas?

This will create the prefs file in the same dir as the app, does this mean the dir was locked or some permission issue?



Yours sincerely,
            Mohsan Khan.
_______________________________________________________________
Programmer, Animator, Musician
www.xybernic.com
There is no place like 127.0.0.1.
If everybody would give everybody a million would everybody be millionaires?
Nothing has got to do with anything, but something has got to do with everything.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.