Simon icon Simon
Flexible server monitoring

Reports - Simon -vs- 10.7.3

Hi,

I am having trouble creating reports on my new Lion Machine. The OS Level is 10.7.3. Have tried this on both machines and it seems to crash every time we create the report.

I have tried this on another 10.7.3 machine and it fails.

I have tried it on a 10.7.2 machine, and there is no issues.

HELP PLEASE!

Yousseph

Re: Reports - Simon -vs- 10.7.3

Note sure if this helps:

---

Feb 10 12:44:10 simon Simon[181]: NSInvalidArgumentException: -[__NSCFString appendString:]: nil argument
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 1 +[NSException raise:format:arguments:] (in CoreFoundation) + 137
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 2 +[NSException raise:format:] (in CoreFoundation) + 57
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 3 mutateError (in CoreFoundation) + 163
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 4 -[ReportGeneratorBlock processVariablesWithTemplate:lineNumber:datum:] (in Simon) + 546
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 5 -[ReportGeneratorBlock processVariablesForDataWithTemplate:] (in Simon) + 197
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 6 -[ReportGeneratorData processForSites:isDetail:withParameters:] (in Simon) + 519
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 7 -[ReportGeneratorData processForSites:withParameters:] (in Simon) + 48
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 8 -[ReportData(Private) writeSummaryPageForSites:withTemplatePath:toCachePath:withParameters:] (in Simon) + 107
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 9 -[ReportData(Private) writeReport] (in Simon) + 1178
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 10 -[ReportsController performNow:] (in Simon) + 203
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 11 -[NSObject performSelector:withObject:] (in CoreFoundation) + 65
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 12 -[NSToolbarButton sendAction:to:] (in AppKit) + 99
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 13 -[NSToolbarButton sendAction] (in AppKit) + 82
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 14 -[NSToolbarItemViewer mouseDown:] (in AppKit) + 5944
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 15 -[NSWindow send
Feb 10 12:44:10 simon Simon[181]: -[__NSCFString appendString:]: nil argument
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: Event:] (in AppKit) + 7533
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 16 -[NSApplication sendEvent:] (in AppKit) + 4788
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 17 -[NSApplication run] (in AppKit) + 1007
Feb 10 12:44:10 simon [0x0-0x12012].com.dejal.simon[181]: 18 NSApplicationMain (in AppKit) + 1054
Feb 10 12:44:10 simon Simon[181]: (
0 CoreFoundation 0x932d2b67 __raiseError + 231
1 libobjc.A.dylib 0x98b81149 objc_exception_throw + 155
2 ExceptionHandling 0x0024ff08 -[NSExceptionHandler _handleException:mask:] + 1422
3 ExceptionHandling 0x0025014d NSExceptionHandlerExceptionRaiser + 232
4 libobjc.A.dylib 0x98b81149 objc_exception_throw + 155
5 CoreFoundation 0x9323a369 +[NSException raise:format:arguments:] + 137
6 CoreFoundation 0x9323a2d9 +[NSException raise:format:] + 57
7 CoreFoundation 0x93297ad3 mutateError + 163
8 Simon 0x00073a59 -[ReportGeneratorBlock processVariablesWithTemplate:lineNumber:datum:] + 546
9 Simon 0x00073b41 -[ReportGeneratorBlock processVariablesForDataWithTemplate:] + 197
10 Simon 0x00071998 -[ReportGeneratorData processForSites:isDetail:withParameters:] + 519
11 Simon 0x0007178f -[ReportGeneratorData processForSites:withParameters:] + 48
12 Simon 0x0006f745 -[ReportData(Private) writeSummaryPageForSites:withTemplatePath:toCachePath:withParameters:] + 107
13 Simon 0x00070bd8 -[ReportData(Private) writeReport] + 1178
14 Simon 0x0006cfa9 -[ReportsController performNow:] + 203
15 CoreFoundation 0x93227de1 -[NSObject performSelector:withObject:] + 65
16 AppKit 0x91fb0108 -[NSToolbarButton sendAction:to:] + 99
17 AppKit 0x91fb0166 -[NSToolbarButton sendAction] + 82
18 AppKit 0x91a7f778 -[NSToolbarItemViewer mouseDown:] + 5944
19 AppKit 0x919a3ca5 -[NSWindow sendEvent:] + 7533
20 AppKit 0x9193c0e7 -[NSApplication sendEvent:] + 4788
21 AppKit 0x918cd6d5 -[NSApplication run] + 1007
22 AppKit 0x91b61261 NSApplicationMain + 1054
23 Simon 0x00002d32 start + 54
)
Feb 10 13:00:00 simon ARDAgent[169]: Failed to read connect reply.
Feb 10 13:03:35: --- last message repeated 2 times ---
Feb 10 13:03:35 simon ARDAgent[169]: Failed to read connect reply.

David Sinclair's picture

Re: Reports - Simon -vs- 10.7.3

I just noticed that I'm getting the same error. I will investigate. Thanks for reporting it!

David Sinclair's picture

Re: Reports - Simon -vs- 10.7.3

Now fixed in version 3.4b1, just released.

Please try this version and confirm for me whether or not it's fixed for you.

Re: Reports - Simon -vs- 10.7.3

Hi dAvid,

Perfect Mate!

Thanks heaps

Yousseph

Re: Reports - Simon -vs- 10.7.3

BTW, what was the issue

David Sinclair's picture

Re: Reports - Simon -vs- 10.7.3

It seems that 10.7.3 introduced a private routine with the same name as one of my own, which broke mine.

So my fix was to rename my method, which avoided the conflict.

In technical terms for any developers reading: I had a -[NSDictionary stringForKey:] category method, and it appears 10.7.3 has such a method in a private class in the NSDictionary class cluster; NSDictionary itself doesn't respond to that method, but its concrete subclass __NSCFDictionary does.

Technical discussion on Stack Overflow.