Click here to Skip to main content
13,836,537 members

Objective-C and Swift

 
GeneralMessage Closed Pin
10-Dec-18 6:34
memberMember 1408420310-Dec-18 6:34 
QuestionMessage Closed Pin
5-Dec-18 0:33
memberErdinc275-Dec-18 0:33 
QuestionMessage Closed Pin
12-Oct-18 3:49
memberMember 1401745812-Oct-18 3:49 
QuestionHow to get Idle time of mac? Pin
UJ728-Jul-18 0:57
memberUJ728-Jul-18 0:57 
AnswerRe: How to get Idle time of mac? Pin
Richard MacCutchan28-Jul-18 1:11
protectorRichard MacCutchan28-Jul-18 1:11 
QuestionHow to design game Pin
HerryF19-May-18 2:22
memberHerryF19-May-18 2:22 
AnswerRe: How to design game Pin
Richard MacCutchan19-May-18 3:08
protectorRichard MacCutchan19-May-18 3:08 
AnswerRe: How to design game Pin
chipp_zanuff2-Nov-18 21:42
memberchipp_zanuff2-Nov-18 21:42 
QuestionRecently i decided to learn swift again[Help] Pin
HerryF8-Oct-18 21:15
memberHerryF8-Oct-18 21:15 
AnswerRe: Recently i decided to learn swift again[Help] Pin
Richard MacCutchan19-May-18 3:06
protectorRichard MacCutchan19-May-18 3:06 
GeneralMessage Closed Pin
8-Jul-18 21:36
membercode_frux8-Jul-18 21:36 
AnswerRe: Recently i decided to learn swift again[Help] Pin
Dennis E White9-Oct-18 10:45
professionalDennis E White9-Oct-18 10:45 
QuestionNSPrintOperation graphic context affect my custom print view? Pin
Le@rner4-Feb-18 19:04
memberLe@rner4-Feb-18 19:04 
QuestionNSPrintOperation not print properly Landscape print Pin
Le@rner30-Jan-18 21:13
memberLe@rner30-Jan-18 21:13 
Questionmy application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner17-Jan-18 1:50
memberLe@rner17-Jan-18 1:50 
hi all

on printing action application get crashed with NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' message.

please help me for this.

crash log is

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  4

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00007fff83ab3784 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x00007fff89814f03 objc_exception_throw + 45
	2   CoreFoundation                      0x00007fff83ab35a7 +[NSException raise:format:arguments:] + 103
	3   CoreFoundation                      0x00007fff83ab3534 +[NSException raise:format:] + 148
	4   AppKit                              0x00007fff879c386e -[NSPrintSpoolingGraphicsContext dealloc] + 37
	5   CoreFoundation                      0x00007fff83a2ff93 __CFArrayReleaseValues + 435
	6   CoreFoundation                      0x00007fff83a0da73 _CFRelease + 179
	7   AppKit                              0x00007fff8746e53d __NSAppKitFinalizeThreadData + 260
	8   libSystem.B.dylib                   0x00007fff8098f751 _pthread_tsd_cleanup + 187
	9   libSystem.B.dylib                   0x00007fff8098f39c _pthread_exit + 147
	10  Foundation                          0x00007fff84f9718f __NSFinalizeThreadData + 0
	11  Foundation                          0x00007fff84f97127 __NSThread__main__ + 1448
	12  libSystem.B.dylib                   0x00007fff8098efd6 _pthread_start + 331
	13  libSystem.B.dylib                   0x00007fff8098ee89 thread_start + 13
)

Thread 4 Crashed:
0   libSystem.B.dylib             	0x00007fff809c89ce __semwait_signal_nocancel + 10
1   libSystem.B.dylib             	0x00007fff809c88d0 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib             	0x00007fff80a253ce usleep$NOCANCEL + 57
3   libSystem.B.dylib             	0x00007fff80a44a00 abort + 93
4   libstdc++.6.dylib             	0x00007fff8a10e5d2 __tcf_0 + 0
5   libobjc.A.dylib               	0x00007fff89818b39 _objc_terminate + 100
6   libstdc++.6.dylib             	0x00007fff8a10cae1 __cxxabiv1::__terminate(void (*)()) + 11
7   libstdc++.6.dylib             	0x00007fff8a10cb16 __cxxabiv1::__unexpected(void (*)()) + 0
8   libstdc++.6.dylib             	0x00007fff8a10cbfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
9   libobjc.A.dylib               	0x00007fff89814fa2 object_getIvar + 0
10  com.apple.CoreFoundation      	0x00007fff83ab35a7 +[NSException raise:format:arguments:] + 103
11  com.apple.CoreFoundation      	0x00007fff83ab3534 +[NSException raise:format:] + 148
12  com.apple.AppKit              	0x00007fff879c386e -[NSPrintSpoolingGraphicsContext dealloc] + 37
13  com.apple.CoreFoundation      	0x00007fff83a2ff93 __CFArrayReleaseValues + 435
14  com.apple.CoreFoundation      	0x00007fff83a0da73 _CFRelease + 179
15  com.apple.AppKit              	0x00007fff8746e53d __NSAppKitFinalizeThreadData + 260
16  libSystem.B.dylib             	0x00007fff8098f751 _pthread_tsd_cleanup + 187
17  libSystem.B.dylib             	0x00007fff8098f39c _pthread_exit + 147
18  com.apple.Foundation          	0x00007fff84f9718f __NSFinalizeThreadData + 0
19  com.apple.Foundation          	0x00007fff84f97127 __NSThread__main__ + 1448
20  libSystem.B.dylib             	0x00007fff8098efd6 _pthread_start + 331
21  libSystem.B.dylib             	0x00007fff8098ee89 thread_start + 13

AnswerRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Jochen Arndt17-Jan-18 2:07
mveJochen Arndt17-Jan-18 2:07 
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner17-Jan-18 2:40
memberLe@rner17-Jan-18 2:40 
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Jochen Arndt17-Jan-18 2:56
mveJochen Arndt17-Jan-18 2:56 
GeneralRe: my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' Pin
Le@rner30-Jan-18 21:10
memberLe@rner30-Jan-18 21:10 
SuggestionMessage Closed Pin
12-Apr-18 7:59
memberEssayWriter12-Apr-18 7:59 
QuestionNSImage become blurry after transfromation Pin
Le@rner7-Jul-17 21:27
memberLe@rner7-Jul-17 21:27 
QuestionNSMutableArray copy problem Pin
Le@rner26-Jun-17 22:19
memberLe@rner26-Jun-17 22:19 
SuggestionRe: NSMutableArray copy problem Pin
Richard MacCutchan27-Jun-17 0:02
protectorRichard MacCutchan27-Jun-17 0:02 
GeneralRe: NSMutableArray copy problem Pin
Le@rner27-Jun-17 0:05
memberLe@rner27-Jun-17 0:05 
GeneralRe: NSMutableArray copy problem Pin
Richard MacCutchan27-Jun-17 0:14
protectorRichard MacCutchan27-Jun-17 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190114.1 | Last Updated 3 Nov 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid