[MacRuby] #1202: Uncaught Exception
MacRuby
ruby-noreply at macosforge.org
Mon Mar 28 16:07:07 PDT 2011
#1202: Uncaught Exception
------------------------------------+---------------------------------------
Reporter: rick.eisner1@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
Description changed by lsansonetti@…:
Old description:
> Apologies if this is my error. I have hit the same Uncaught Exception
> several times, and pass it along to you. It was my first programming
> attempt, so I do not know exactly what to send.
> I hope this gives you enough to go on.
>
> MacRuby Application
>
> Uncaught Exception:
> Cannot lock focus on image <NSImage 0x20163de40 Size={0, 0} Reps=(
> )>, because it is size zero.
>
> Stack Backtrace:
> The stack backtrace has been logged to the console.
>
> The system.log read:
>
> {{{
> Mar 22 14:36:26 Rick-Eisners-iMac Xcode[2948]: Error : Version '1'
> unsupported for PBXSmartGroupBinding file
> '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/package.smrt'
> Mar 22 14:36:27 Rick-Eisners-iMac Xcode[2948]: [MT] Uncaught
> Exception:\nCannot lock focus on image <NSImage 0x20163de40 Size={0, 0}
> Reps=(\n)>, because it is size zero.\n\nBacktrace:\n 0
> 0x00007fff830e0796 __exceptionPreprocess (in CoreFoundation)\n 1
> 0x00007fff819ba0f3 objc_exception_throw (in libobjc.A.dylib)\n 2
> 0x00007fff830e05d7 +[NSException raise:format:arguments:] (in
> CoreFoundation)\n 3 0x00007fff830e0564 +[NSException raise:format:] (in
> CoreFoundation)\n 4 0x00007fff87ed2990 -[NSImage
> _lockFocusOnRepresentation:rect:context:hints:flipped:] (in AppKit)\n 5
> 0x00007fff87ed2847 __-[NSImage
> lockFocusWithRect:context:hints:flipped:]_block_invoke_1 (in AppKit)\n 6
> 0x00007fff87e66ba1 -[NSImage
> _usingBestRepresentationForRect:context:hints:body:] (in AppKit)\n 7
> 0x00007fff87ed27cd -[NSImage lockFocusWithRect:context:hints:flipped:]
> (in AppKit)\n 8 0x00007fff87ed2697 -[NSImage lockFocusFlipped:] (in
> AppKit)\n 9 0x0000000100909eef _badgeLockIconToImage (in
> DevToolsInterface)\n 10 0x000000010084edcd
> -[PBXFileReference(PBXIconImageAdditions) iconImage] (in
> DevToolsInterface)\n 11 0x0000000100851c35 -[PBXFileTableDataSource
> tableView:willDisplayCell:forTableColumn:row:] (in DevToolsInterface)\n
> 12 0x00007fff87e47d2f -[NSTableView preparedCellAtColumn:row:] (in
> AppKit)\n 13 0x00007fff87e608e7 -[NSTableView
> _drawContentsAtRow:column:withCellFrame:] (in AppKit)\n 14
> 0x00007fff87e5f980 -[NSTableView drawRow:clipRect:] (in AppKit)\n 15
> 0x00000001008514b1 -[PBXExtendedTableView drawRow:clipRect:] (in
> DevToolsInterface)\n 16 0x00007fff87e5f273 -[NSTableView
> drawRowIndexes:clipRect:] (in AppKit)\n 17 0x00007fff87e5dc20
> -[NSTableView drawRect:] (in AppKit)\n 18 0x00007fff87e53c49 -[NSView
> _drawRect:clip:] (in AppKit)\n 19 0x00007fff87e528bc -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 20
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 21
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 22
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 23
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 24
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 25
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 26
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 27
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 28
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 29
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 30
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 31
> 0x00007fff87e52c26 -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)\n 32
> 0x00007fff87e50f8e -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> (in AppKit)\n 33 0x00007fff87e50ab0 -[NSThemeFrame
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> (in AppKit)\n 34 0x00007fff87e4d362 -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] (in
> AppKit)\n 35 0x00007fff87dc6b9a -[NSView displayIfNeeded] (in AppKit)\n
> 36 0x00007fff87d7871a -[NSWindow _setFrameCommon:display:stashSize:] (in
> AppKit)\n 37 0x00007fff87ebf133 -[NSWindow _setFrameFromString:force:]
> (in AppKit)\n 38 0x0000000100816d37 -[XCPerspectiveModule
> setWantsModuleWindow:] (in DevToolsInterface)\n 39 0x0000000100813a98
> +[XCPerspectiveModule openForProjectDocument:] (in DevToolsInterface)\n
> 40 0x0000000100813543 -[PBXProjectDocument makeWindowControllers] (in
> DevToolsInterface)\n 41 0x000000010094cd26 -[PBXProjectWizard
> _finishTemplateInstantiationAfterFileCopying:instantiationResult:] (in
> DevToolsInterface)\n 42 0x00000001009ddfef -[PBXFileCopyingWizard
> _checkForOverwritingFiles:] (in DevToolsInterface)\n 43
> 0x000000010094c866 -[PBXProjectWizard finish] (in DevToolsInterface)\n 44
> 0x00000001009485c5 -[PBXProjectWizardChooserWizard
> sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:] (in
> DevToolsInterface)\n 45 0x00000001008f11f4 +[PBXOpenSavePanelHelper
> sheetDidEnd:returnCode:contextInfo:] (in DevToolsInterface)\n 46
> 0x00007fff88233946 -[NSSavePanel _didEndSheet:returnCode:contextInfo:]
> (in AppKit)\n 47 0x00007fff87fd9bd1 -[NSApplication
> endSheet:returnCode:] (in AppKit)\n 48 0x00007fff87eebe9a
> -[NSApplication sendAction:to:from:] (in AppKit)\n 49 0x00007fff87eebdf9
> -[NSControl sendAction:to:] (in AppKit)\n 50 0x00007fff87f7776b -[NSCell
> trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)\n 51
> 0x00007fff87fa82aa -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
> (in AppKit)\n 52 0x00007fff87f76215 -[NSControl mouseDown:] (in
> AppKit)\n 53 0x00007fff87e9034f -[NSWindow sendEvent:] (in AppKit)\n 54
> 0x00007fff87dc5a86 -[NSApplication sendEvent:] (in AppKit)\n 55
> 0x000000010080b457 -[PBXExtendedApplication sendEvent:] (in
> DevToolsInterface)\n 56 0x00007fff87d5c4da -[NSApplication run] (in
> AppKit)\n 57 0x00007fff87d551a8 NSApplicationMain (in AppKit)\n 58
> 0x0000000100001694
> }}}
New description:
Apologies if this is my error. I have hit the same Uncaught Exception
several times, and pass it along to you. It was my first programming
attempt, so I do not know exactly what to send.
I hope this gives you enough to go on.
MacRuby Application
Uncaught Exception:
Cannot lock focus on image <NSImage 0x20163de40 Size={0, 0} Reps=(
)>, because it is size zero.
Stack Backtrace:
The stack backtrace has been logged to the console.
The system.log read:
{{{
Mar 22 14:36:26 Rick-Eisners-iMac Xcode[2948]: Error : Version '1'
unsupported for PBXSmartGroupBinding file
'/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/package.smrt'
Mar 22 14:36:27 Rick-Eisners-iMac Xcode[2948]: [MT] Uncaught Exception:
Cannot lock focus on image <NSImage 0x20163de40 Size={0, 0} Reps=(
)>, because it is size zero.
Backtrace:
0 0x00007fff830e0796 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff819ba0f3 objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff830e05d7 +[NSException raise:format:arguments:] (in
CoreFoundation)
3 0x00007fff830e0564 +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff87ed2990 -[NSImage
_lockFocusOnRepresentation:rect:context:hints:flipped:] (in AppKit)
5 0x00007fff87ed2847 __-[NSImage
lockFocusWithRect:context:hints:flipped:]_block_invoke_1 (in AppKit)
6 0x00007fff87e66ba1 -[NSImage
_usingBestRepresentationForRect:context:hints:body:] (in AppKit)
7 0x00007fff87ed27cd -[NSImage
lockFocusWithRect:context:hints:flipped:] (in AppKit)
8 0x00007fff87ed2697 -[NSImage lockFocusFlipped:] (in AppKit)
9 0x0000000100909eef _badgeLockIconToImage (in DevToolsInterface)
10 0x000000010084edcd -[PBXFileReference(PBXIconImageAdditions)
iconImage] (in DevToolsInterface)
11 0x0000000100851c35 -[PBXFileTableDataSource
tableView:willDisplayCell:forTableColumn:row:] (in DevToolsInterface)
12 0x00007fff87e47d2f -[NSTableView preparedCellAtColumn:row:] (in
AppKit)
13 0x00007fff87e608e7 -[NSTableView
_drawContentsAtRow:column:withCellFrame:] (in AppKit)
14 0x00007fff87e5f980 -[NSTableView drawRow:clipRect:] (in AppKit)
15 0x00000001008514b1 -[PBXExtendedTableView drawRow:clipRect:] (in
DevToolsInterface)
16 0x00007fff87e5f273 -[NSTableView drawRowIndexes:clipRect:] (in
AppKit)
17 0x00007fff87e5dc20 -[NSTableView drawRect:] (in AppKit)
18 0x00007fff87e53c49 -[NSView _drawRect:clip:] (in AppKit)
19 0x00007fff87e528bc -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
20 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
21 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
22 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
23 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
24 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
25 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
26 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
27 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
28 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
29 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
30 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
31 0x00007fff87e52c26 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
32 0x00007fff87e50f8e -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
(in AppKit)
33 0x00007fff87e50ab0 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
(in AppKit)
34 0x00007fff87e4d362 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] (in
AppKit)
35 0x00007fff87dc6b9a -[NSView displayIfNeeded] (in AppKit)
36 0x00007fff87d7871a -[NSWindow _setFrameCommon:display:stashSize:] (in
AppKit)
37 0x00007fff87ebf133 -[NSWindow _setFrameFromString:force:] (in AppKit)
38 0x0000000100816d37 -[XCPerspectiveModule setWantsModuleWindow:] (in
DevToolsInterface)
39 0x0000000100813a98 +[XCPerspectiveModule openForProjectDocument:] (in
DevToolsInterface)
40 0x0000000100813543 -[PBXProjectDocument makeWindowControllers] (in
DevToolsInterface)
41 0x000000010094cd26 -[PBXProjectWizard
_finishTemplateInstantiationAfterFileCopying:instantiationResult:] (in
DevToolsInterface)
42 0x00000001009ddfef -[PBXFileCopyingWizard _checkForOverwritingFiles:]
(in DevToolsInterface)
43 0x000000010094c866 -[PBXProjectWizard finish] (in DevToolsInterface)
44 0x00000001009485c5 -[PBXProjectWizardChooserWizard
sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:] (in
DevToolsInterface)
45 0x00000001008f11f4 +[PBXOpenSavePanelHelper
sheetDidEnd:returnCode:contextInfo:] (in DevToolsInterface)
46 0x00007fff88233946 -[NSSavePanel
_didEndSheet:returnCode:contextInfo:] (in AppKit)
47 0x00007fff87fd9bd1 -[NSApplication endSheet:returnCode:] (in AppKit)
48 0x00007fff87eebe9a -[NSApplication sendAction:to:from:] (in AppKit)
49 0x00007fff87eebdf9 -[NSControl sendAction:to:] (in AppKit)
50 0x00007fff87f7776b -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
(in AppKit)
51 0x00007fff87fa82aa -[NSButtonCell
trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
52 0x00007fff87f76215 -[NSControl mouseDown:] (in AppKit)
53 0x00007fff87e9034f -[NSWindow sendEvent:] (in AppKit)
54 0x00007fff87dc5a86 -[NSApplication sendEvent:] (in AppKit)
55 0x000000010080b457 -[PBXExtendedApplication sendEvent:] (in
DevToolsInterface)
56 0x00007fff87d5c4da -[NSApplication run] (in AppKit)
57 0x00007fff87d551a8 NSApplicationMain (in AppKit)
58 0x0000000100001694
}}}
--
--
Ticket URL: <http://www.macruby.org/trac/ticket/1202#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list