Menu

#1501 Exception error when opening file (Mac OS 10.12 (16A323))

unverified
closed-wont-fix
nobody
None
5
2017-05-01
2016-10-23
jkr
No

When I try to open a .bib file (that opens fine on my iOS devices using PocketBib w/o any error messages) I get the following error message (see below)

I thought it might be a problem with the file, but when I was searchg for the string that seemed to have caused the issue (".../Bibliography2/M\", I wasn't able to locate either of them in the file (using TextWrangler).

ERROR MESSAGE

Exception Name: NSInvalidArgumentException
Description: *** -[NSFileManager fileSystemRepresentationWithPath:]: conversion failed. An embedded NULL character was found after decoding 1 characters after the end of this shortened string:
"/Users/jrennstich/Documents/Bibliography2/M\"
The following characters were decoded from the input string following that NULL character: "fcller-Jentsch/M\"
User Info: (null)

0 CoreFoundation 0x00007fffa80f352b exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffbc7cbcad objc_exception_throw + 48
2 Foundation 0x00007fffa9a4f8ea -[NSFileManager fileSystemRepresentationWithPath:] + 419
3 BibDesk 0x00000001001413ce BDSKPathToFSRef + 27
4 BibDesk 0x0000000100140dd2 BDSKPathToAliasHandle + 42
5 BibDesk 0x0000000100140d46 -[BDSKLinkedAliasFile initWithPath:delegate:] + 86
6 BibDesk 0x0000000100044109 addURLForFieldToArrayIfNotNil + 164
7 CoreFoundation 0x00007fffa802c2b4 CFArrayApplyFunction + 68
8 BibDesk 0x0000000100043f5f -[BibItem migrateFilesWithRemoveOptions:numberOfAddedFiles:numberOfRemovedFields:error:] + 261
9 BibDesk 0x0000000100047fc4 -[BibItem(Private) createFilesArray] + 1209
10 Foundation 0x00007fffa9a94d01 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 329
11 Foundation 0x00007fffa9bbaf7c -[NSArray(NSKeyValueCoding) setValue:forKey:] + 215
12 BibDesk 0x000000010001afcd -[BibDocument setPublications:] + 97
13 BibDesk 0x00000001000206db -[BibDocument setPublications:macros:documentInfo:groups:frontMatter:encoding:] + 1546
14 BibDesk 0x0000000100020de0 -[BibDocument readFromBibTeXData:fromURL:encoding:error:] + 1210
15 BibDesk 0x000000010001fe2f -[BibDocument readFromURL:ofType:error:] + 1217
16 AppKit 0x00007fffa5f22647 -[NSDocument _initWithContentsOfURL:ofType:error:] + 172
17 AppKit 0x00007fffa5f2252c -[NSDocument initWithContentsOfURL:ofType:error:] + 231
18 AppKit 0x00007fffa5fff4e0 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 644
19 BibDesk 0x00000001000e1cae -[BDSKDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 348
20 AppKit 0x00007fffa623ce18 -[NSDocumentController(NSDeprecated) openDocumentWithContentsOfURL:display:error:] + 915
21 BibDesk 0x00000001000e23db -[BDSKDocumentController openDocumentWithContentsOfURL:display:error:] + 1021
22 AppKit 0x00007fffa5ffe6b2 __80-[NSDocumentController openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke + 1025
23 AppKit 0x00007fffa622ed7d __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke_2.918 + 180
24 AppKit 0x00007fffa622ec99 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke.917 + 138
25 AppKit 0x00007fffa622eb5b __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke_4 + 267
26 CoreFoundation 0x00007fffa80893ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK
+ 12
27 CoreFoundation 0x00007fffa806a424 __CFRunLoopDoBlocks + 356
28 CoreFoundation 0x00007fffa8069f66 __CFRunLoopRun + 1878
29 CoreFoundation 0x00007fffa80695b4 CFRunLoopRunSpecific + 420
30 HIToolbox 0x00007fffa760af6c RunCurrentEventLoopInMode + 240
31 HIToolbox 0x00007fffa760ada1 ReceiveNextEventCommon + 432
32 HIToolbox 0x00007fffa760abd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
33 AppKit 0x00007fffa5d015f5 _DPSNextEvent + 1093
34 AppKit 0x00007fffa64118eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
35 AppKit 0x00007fffa5cf5fbd -[NSApplication run] + 926
36 AppKit 0x00007fffa5cc0a8a NSApplicationMain + 1237
37 BibDesk 0x0000000100002374 start + 52
38 ??? 0x0000000000000002 0x0 + 2

Mac OS 10.12 (16A323)

Discussion

  • jkr

    jkr - 2016-10-23

    Sorry, I was able to locate the entries that caused the trouble (.../Bibliography2/M) using TeXShop and edit them by hand now.

     
  • Christiaan Hofman

    • status: open --> closed-wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB