Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

poonasor

macrumors newbie
Original poster
Dec 5, 2012
8
0
Toronto
I cant seem to open mail for the last past week..been giving me an pop up message saying Internal Error...

This is what text when i click on show details

Code:
Exception Name: NSInvalidArgumentException
Description: -[__NSCFString replaceCharactersInRange:withString:]: nil argument
User Info: (null)

0   CoreFoundation                      0x00007fff8fc88f06 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff8bc8b79a objc_exception_throw + 43
2   CoreFoundation                      0x00007fff8fc88cdc +[NSException raise:format:] + 204
3   CoreFoundation                      0x00007fff8fce0d7f mutateError + 159
4   Foundation                          0x00007fff96422a3a -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 296
5   Mail                                0x0000000101e4dd5f Mail + 421215
6   Mail                                0x0000000101e50a0a Mail + 432650
7   Mail                                0x0000000101e787f3 Mail + 595955
8   CoreFoundation                      0x00007fff8fc3b95a _CFXNotificationPost + 2554
9   Mail                                0x0000000101decfab Mail + 24491
10  Mail                                0x0000000101de8f9d Mail + 8093
11  Message                             0x00007fff96109b6f -[MFAddressManager consumeImageData:forTag:] + 463
12  libdispatch.dylib                   0x00007fff9135c6c3 _dispatch_call_block_and_release + 15
13  libdispatch.dylib                   0x00007fff9136869b _dispatch_client_callout + 8
14  libdispatch.dylib                   0x00007fff9135dabe _dispatch_main_queue_callback_4CF + 275
15  CoreFoundation                      0x00007fff8fc2b84e __CFRunLoopRun + 1598
16  CoreFoundation                      0x00007fff8fc2aeb9 CFRunLoopRunSpecific + 233
17  HIToolbox                           0x00007fff8e6542d4 RunCurrentEventLoopInMode + 209
18  HIToolbox                           0x00007fff8e65b3f4 ReceiveNextEventCommon + 166
19  HIToolbox                           0x00007fff8e65b343 BlockUntilNextEventMatchingListInMode + 62
20  AppKit                              0x00007fff94d69dab _DPSNextEvent + 685
21  AppKit                              0x00007fff94d69669 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
22  AppKit                              0x00007fff94d662d3 -[NSApplication run] + 517
23  AppKit                              0x00007fff94fd778b NSApplicationMain + 869
24  libdyld.dylib                       0x00007fff91fa87e4 start + 0
25  ???                                 0x0000000000000002 0x0 + 2


Please help, I need my mail working,
thanks ;)
 

Attachments

  • Screen Shot 2012-12-05 at 5.33.43 PM (2).png
    Screen Shot 2012-12-05 at 5.33.43 PM (2).png
    41 KB · Views: 189

poonasor

macrumors newbie
Original poster
Dec 5, 2012
8
0
Toronto
does anyone know how I would be able to fix this problem?
should i reformat or clean my harddrive in any way?


much is appreciated
 

TheRocketmac

macrumors member
Jan 19, 2011
35
0
Did you try fix/repair permissions?

Another thing to try would be to delete/move to another location ~/library/application support/mail (forgot the exact path). Then restart the system and launch mail.


About all I have, good luck.
 

poonasor

macrumors newbie
Original poster
Dec 5, 2012
8
0
Toronto
Did you try fix/repair permissions?

Another thing to try would be to delete/move to another location ~/library/application support/mail (forgot the exact path). Then restart the system and launch mail.


About all I have, good luck.



how do i fix/repair permissions? in disk utilities?
 

poonasor

macrumors newbie
Original poster
Dec 5, 2012
8
0
Toronto
I thought it was my mail app, which doesnt seem to open without freezing now...so I googled another mail app named sparrow (http://www.sparrowmailapp.com/) and just today this error came up... doesn't freeze or nothing....i think its my computer...

Code:
Exception Name: NSRangeException Description: *** -[NSBigMutableString _getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:]: Range or index out of bounds
User Info: {

NSStackTraceKey = "0x1008d9637  0x7fff88aaa79a  0x7fff8caa7cdc  0x7fff9324123f  0x7fff91c385be  0x7fff91d37305  0x7fff91d364a5  0x7fff91d356c1  0x7fff91bed64f  0x7fff91d39ddc  0x7fff91d23374  0x7fff921f2554  0x7fff91c5205c  0x1000a726b  0x1000ef9d4  0x7fff91be7a2f  0x7fff91b8534a  0x7fff91df678b  0x1000023c2  0x100002184  0x2";
}

0 CoreFoundation 0x00007fff8caa7f06 exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff88aaa79a objc_exception_throw + 43
2 CoreFoundation 0x00007fff8caa7cdc +[NSException raise:format:] + 204
3 Foundation 0x00007fff9324123f -[NSString getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:] + 157
4 AppKit 0x00007fff91c385be NSFastFillAllLayoutHolesForGlyphRange + 285
5 AppKit 0x00007fff91d37305 -[NSLayoutManager(NSPrivate) firstPassGlyphRangeForBoundingRect:inTextContainer:okToFillHoles:] + 363
6 AppKit 0x00007fff91d364a5 -[NSLayoutManager(NSPrivate) glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 976
7 AppKit 0x00007fff91d356c1 -[NSTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 1488
8 AppKit 0x00007fff91bed64f -[NSView setNeedsDisplay:] + 79
9 AppKit 0x00007fff91d39ddc -[NSTextView(NSSharing) setSelectable:] + 602
10 AppKit 0x00007fff91d23374 _NSEditTextCellWithOptions + 1613
11 AppKit 0x00007fff921f2554 -[NSTokenFieldCell mouseMoved:] + 441
12 AppKit 0x00007fff91c5205c -[NSWindow sendEvent:] + 7967
13 Sparrow 0x00000001000a726b -[MMWindow sendEvent:] + 90
14 Sparrow 0x00000001000ef9d4 -[MMMessageComposerWindow sendEvent:] + 257
15 AppKit 0x00007fff91be7a2f -[NSApplication sendEvent:] + 4961
16 AppKit 0x00007fff91b8534a -[NSApplication run] + 636
17 AppKit 0x00007fff91df678b NSApplicationMain + 869
18 Sparrow 0x00000001000023c2 main + 566
19 Sparrow 0x0000000100002184 start + 52
 

Attachments

  • Screen Shot 2012-12-09 at 5.33.35 PM.png
    Screen Shot 2012-12-09 at 5.33.35 PM.png
    41.9 KB · Views: 144

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
Something is obviously corrupted. I am not sure what, but at this point booting your Mac from the Recovery partition and running Disk Utility diagnostics is STRONGLY advised.

Here's how you do it:
  1. Reboot your Mac
  2. After the screen shuts off and the Mac restarts, hold down :apple:+R
  3. Keep holding until a screen appears with a background resembling the OS X installer.
  4. At this point you'll be in Recovery Mode. From here, click Disk Utility.
  5. Verify the disk (by clicking the Verify Disk button, after selecting your main drive - which will be named Macintosh HD unless you renamed it).
  6. If any errors are found, repair the disk.
  7. Repeat repairs until no problems are detected, or you get a message such as: The underlying task reported failure on exit.
  8. If you get that message, problems were found that Disk Utility cannot fix. Otherwise, proceed.
  9. Click Repair Permissions, and let Disk Utility do its thing.
  10. Once that's done, reboot, and your Mac should be acting better!
  11. In the event that you got a failure message during the Repair Disk phase, you'll have to format the affected partition to fix it.
  12. Make SURE you back up first, though.
  13. Once the partition is formatted, reinstall OS X Mountain Lion and restore your backup. (Note: This process is slow - for me it takes 3 to 4 hours.)
 

poonasor

macrumors newbie
Original poster
Dec 5, 2012
8
0
Toronto
Something is obviously corrupted. I am not sure what, but at this point booting your Mac from the Recovery partition and running Disk Utility diagnostics is STRONGLY advised.

Here's how you do it:
  1. Reboot your Mac
  2. After the screen shuts off and the Mac restarts, hold down :apple:+R
  3. Keep holding until a screen appears with a background resembling the OS X installer.
  4. At this point you'll be in Recovery Mode. From here, click Disk Utility.
  5. Verify the disk (by clicking the Verify Disk button, after selecting your main drive - which will be named Macintosh HD unless you renamed it).
  6. If any errors are found, repair the disk.
  7. Repeat repairs until no problems are detected, or you get a message such as: The underlying task reported failure on exit.
  8. If you get that message, problems were found that Disk Utility cannot fix. Otherwise, proceed.
  9. Click Repair Permissions, and let Disk Utility do its thing.
  10. Once that's done, reboot, and your Mac should be acting better!
  11. In the event that you got a failure message during the Repair Disk phase, you'll have to format the affected partition to fix it.
  12. Make SURE you back up first, though.
  13. Once the partition is formatted, reinstall OS X Mountain Lion and restore your backup. (Note: This process is slow - for me it takes 3 to 4 hours.)

thanks, i will try this and let you know the outcome
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.