#1202: Uncaught Exception ------------------------------------+--------------------------------------- Reporter: rick.eisner1@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- 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 -- Ticket URL: <http://www.macruby.org/trac/ticket/1202> MacRuby <http://macruby.org/>