The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
NSUndoManager 10.6 Alert Thread Tools Search this Thread Display Modes
Hi,
I'm on 10.6.3 with the latest OmniGraffle

Product: OmniGrafflePro-5.2
Tag: OmniGraffle/5.2.2/release-138.14
Date: 2010-03-22 13:34:48 -0700
Builder: ryan
Host: tb105i.private.omnigroup.com
Revision: 129428

I just started using it today on this system and am constantly getting alerts saying:

_endUndoGroupRemovingIfEmpty:: NSUndoManager 0x97e020 is in invalid state, endUndoGrouping called with no matching begin.



This happens every several actions I perform requiring constant clicking to clear the alert box. Needless to say, it's causing my productivity to plummet. Is there anything I can do to prevent the alert messages from appearing?
 
Moniker, I'm really sorry for the trouble this is causing! It looks like we've gotten three reports of a problem like this; all within the last two months. We've never managed to reproduce the problem, though, so we're not sure what causes it.

It looks like two of the customers that reported the problem were on laptops; the third didn't respond to our request for more info. Everyone seems to be running 10.6. There's some speculation that the problem is related to undoing actions that were originally performed using the new multi-touch gestures that were added recently, but that's purely speculation.

Does any of this line up with your experience? If so, can you let me know if the problem persists if you start working in a new OmniGraffle document, or does it seem to be document-specific?

We're still trying to nail down exactly what folks are seeing, so any info/steps/sample documents you can provide would be very helpful.

Last edited by Brian; 2010-04-30 at 03:31 PM.. Reason: add info on the possible 10.6 link
 
thanks for the reply. Interestingly enough, after about an hour it stopped with the alerts. I've not been able to reproduce at all unfortunately so I can't say what triggered it unfortunately. It was basically happening frequently and then not at all. Sorry I can't provide more info.
 
Aha! I was finally able to reproduce. I've gotten a few error messages, some about an invalid index into an NSArray but also the NSUndoManager ones. They just started appearing again.

One of the NSUndoManager alerts popped up and I stopped what I was doing to see what I could do to make it happen again. If I do the 2 finger scroll gesture, another alert pops up. Basically, I can make as many pop up as I want simply by making that gesture once one fires. If I get rid of them all and then immediately make that gesture again, it will pop up. If instead I click around and scroll using the scroll bars, they don't pop up anymore. I'm not sure what initially triggers them, but hopefully these extra details will help.
 
Moniker - thanks, that would tend to confirm that the problem is related to the multitouch gestures in some way. If you do manage to figure out what the initial trigger is, that would be the final piece of the puzzle that we'll need.

In the meantime, I'm adding this info to the item we have open on this so the QA team can try to reproduce the problem.

Appreciate the help very much!
 
One further thing I forgot to ask about - next time you see this, does anything appear in the console logs while the error dialogs are popping up?

Console.app can be found in the utilities subfolder of your applications folder. Launch it, select "Open Console Log" under the File menu, and then press the "Clear" button on the toolbar. Once you've done that, trigger the error message a couple of times.

If you can paste anything that appears in the window while the alerts are coming up into an email and send it to the support ninjas, it would be a big help. Thanks!
 
These are the log messages from when the error happend

5/7/10 12:26:17 AM OmniGraffle Professional[1771] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
5/7/10 12:26:17 AM OmniGraffle Professional[1771] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
5/7/10 12:26:17 AM OmniGraffle Professional[1771] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
5/7/10 12:26:17 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:28:14 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:28:26 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:28:30 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:28:31 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:28:32 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:29:45 AM [0x0-0x14014].com.google.Chrome[138] 2010-05-07 00:29:45.527 Google Chrome Helper[12687:207] __CFServiceControllerBeginPBSLoadForLocalizations received error 1100 from bootstrap_look_up2
5/7/10 12:31:55 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
5/7/10 12:31:59 AM OmniGraffle Professional[1771] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0xb557c0 is in invalid state, endUndoGrouping called with no matching begin
 
Console Message:

9/1/10 12:52:34 PM OmniGraffle Professional[9000] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0x18a94ef0 is in invalid state, endUndoGrouping called with no matching begin
9/1/10 12:53:09 PM OmniGraffle Professional[9000] _endUndoGroupRemovingIfEmpty:: NSUndoManager 0x18a94ef0 is in invalid state, endUndoGrouping called with no matching begin
 
I've been having a similar problem this morning... While I'm on a laptop it's not a multitouch gestural one as far as I know (model: MacBookPro5,3). I'm running OS 10.5.8 and Omnigraffle 5.2.1.

I finally got into a loop where neither option in an undo dialog box would work. I (hopefully) solved the problem by saving the file with a different name, then restarting Omnigraffle. Seems OK, though I haven't done a lot more work since then.

Logs are as follows:
3/09/10 10:27:17 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:27:27 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:29:08 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:31:38 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:44:31 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:46:54 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:48:30 AM OmniGraffle Professional[14108] undo: NSUndoManager 0x1a7698c0 is in invalid state, undo was called with too many nested undo groups
3/09/10 10:50:24 AM OmniGraffle Professional[15805] -[NSScriptSuiteRegistry aeteResource:] - the only supported language name is English.
3/09/10 11:10:45 AM com.apple.launchd[67] (com.apple.NetworkDiagnostics[15896]) Check-in of Mach service failed. Already active: com.apple.NetworkDiagnostic.agent






Quote:
Originally Posted by Brian View Post
Moniker - thanks, that would tend to confirm that the problem is related to the multitouch gestures in some way. If you do manage to figure out what the initial trigger is, that would be the final piece of the puzzle that we'll need.

In the meantime, I'm adding this info to the item we have open on this so the QA team can try to reproduce the problem.

Appreciate the help very much!
 
I'm seeing this under 10.7.3 with OmniGraffle Professional 5.3.6. It happens when I try to use multi-touch gestures on my mid-2011 MacBook Pro to scale an object in a locked document. It's always followed by an indeterminately long spinning pinwheel cursor.

potentially useful stuff:

Code:
2/10/12 11:00:15.855 AM OmniGraffle Professional: Exception raised:
---------------------------
Mask: 0x00000040
Name: NSInternalInconsistencyException
Reason: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
Stack Trace:
NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 200
objc_exception_throw (in libobjc.A.dylib) + 155
CFRunLoopRunSpecific (in CoreFoundation) + 493
CFRunLoopRunInMode (in CoreFoundation) + 120
RunCurrentEventLoopInMode (in HIToolbox) + 318
ReceiveNextEventCommon (in HIToolbox) + 168
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 88
_DPSNextEvent (in AppKit) + 678
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 113
-[NSApplication run] (in AppKit) + 911
-[OAApplication run] (in OmniAppKit) + 408
NSApplicationMain (in AppKit) + 1054
start (in OmniGraffle Professional) + 54
0x00000002 (in OmniGraffle Professional)

---------------------------
2/10/12 11:00:15.951 AM OmniGraffle Professional: Exception raised:
---------------------------
Mask: 0x00000001
Name: NSInternalInconsistencyException
Reason: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
Stack Trace:
NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 200
objc_exception_throw (in libobjc.A.dylib) + 155
CFRunLoopRunSpecific (in CoreFoundation) + 493
CFRunLoopRunInMode (in CoreFoundation) + 120
RunCurrentEventLoopInMode (in HIToolbox) + 318
ReceiveNextEventCommon (in HIToolbox) + 168
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 88
_DPSNextEvent (in AppKit) + 678
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 113
-[NSApplication run] (in AppKit) + 911
-[OAApplication run] (in OmniAppKit) + 408
NSApplicationMain (in AppKit) + 1054
start (in OmniGraffle Professional) + 54
0x00000002 (in OmniGraffle Professional)

---------------------------
2/10/12 11:00:15.951 AM OmniGraffle Professional: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
2/10/12 11:00:24.507 AM OmniGraffle Professional: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
2/10/12 11:00:26.595 AM OmniGraffle Professional: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
2/10/12 11:49:32.448 AM OmniGraffle Professional: Exception raised:
---------------------------
Mask: 0x00000040
Name: NSInternalInconsistencyException
Reason: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
Stack Trace:
NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 200
objc_exception_throw (in libobjc.A.dylib) + 155
CFRunLoopRunSpecific (in CoreFoundation) + 493
CFRunLoopRunInMode (in CoreFoundation) + 120
RunCurrentEventLoopInMode (in HIToolbox) + 318
ReceiveNextEventCommon (in HIToolbox) + 168
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 88
_DPSNextEvent (in AppKit) + 678
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 113
-[NSApplication run] (in AppKit) + 911
-[OAApplication run] (in OmniAppKit) + 408
NSApplicationMain (in AppKit) + 1054
start (in OmniGraffle Professional) + 54
0x00000002 (in OmniGraffle Professional)

---------------------------
2/10/12 11:49:32.536 AM OmniGraffle Professional: Exception raised:
---------------------------
Mask: 0x00000001
Name: NSInternalInconsistencyException
Reason: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
Stack Trace:
NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 200
objc_exception_throw (in libobjc.A.dylib) + 155
CFRunLoopRunSpecific (in CoreFoundation) + 493
CFRunLoopRunInMode (in CoreFoundation) + 120
RunCurrentEventLoopInMode (in HIToolbox) + 318
ReceiveNextEventCommon (in HIToolbox) + 168
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 88
_DPSNextEvent (in AppKit) + 678
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 113
-[NSApplication run] (in AppKit) + 911
-[OAApplication run] (in OmniAppKit) + 408
NSApplicationMain (in AppKit) + 1054
start (in OmniGraffle Professional) + 54
0x00000002 (in OmniGraffle Professional)

---------------------------
2/10/12 11:49:32.536 AM OmniGraffle Professional: undo: NSUndoManager 0x9ec4890 is in invalid state, undo was called with too many nested undo groups
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniGraffle Alert M0RPHlNE OmniGraffle General 1 2012-06-19 10:07 AM
Customize alert sounds? SFF OmniFocus for iPhone 1 2012-03-14 04:55 AM
iPhone alert - where did that come from? fudster OmniFocus for iPhone 6 2010-07-01 04:03 AM
Odd alert Fundin OmniGraffle General 3 2009-03-11 10:03 AM
Desktop Alert brademcee OmniFocus 1 for Mac 2 2008-08-29 06:35 PM


All times are GMT -8. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.