Folks;

I have a logging facility built into my application to assist in troubleshooting from the field.

These 4 lines appear SOMETIMES in user submitted log files:

2009-08-12 10:57:55.383 MyApp[296:20b] .sdef error: (null)
2009-08-12 10:57:55.383 MyApp[296:20b] line number: 2
2009-08-12 10:57:55.430 MyApp[296:20b] .sdef error: (null)
2009-08-12 10:57:55.431 MyApp[296:20b] line number: 2

They occur during a method which processes an array response from an NSAppleScript:
        NSDictionary *errorDict = nil;
NSAppleScript *appleScriptObject = [[[NSAppleScript alloc] initWithSource:theScript] autorelease]; NSAppleEventDescriptor *eventDescriptor = [appleScriptObject executeAndReturnError: &errorDict];
        if (([eventDescriptor descriptorType]) && (errorDict==nil)) {
return [appleScriptManager arrayFromAppleEventDescriptor:eventDescriptor];
        } else {
                ...
        }

I have never seen these lines appear during any testing on the test machines here nor during development. This method is executed by every customer who is submitting a log BUT these 4 lines only appear sometimes.
There are no apparent repercussions to their appearance.
The log files are fine either way.

What causes this?
Steve

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to