CNTMODEL Panics

in
Platforms:

Here is the list of CNTMODEL panics. These are not documented in my working SDK and may happen when you are dealing with contacts.

ValueMeaningDescription
0 InvalidColumnName
1 InvalidColumnIndex
2 InvalidItemType
3 InvalidItemIndex
4 DbmsResourceNotFreed
5 NullFieldDefinition
6 InvalidFieldContentType
7 ViewIsEmpty
8 DuplicateViewFields
9 FieldDoesNotExist
10 NullPointer
11 DuplicateIds
12 InternalSortError
13 UnhandledUid
14 FieldTypeIndex
15 InvalidStorageType
16 StorageAlreadyAllocated
17 ServerNotFound
18 SystemTemplate
19 AgentNotNull
20 TemplateNotEmpty
21 ItemAlreadyExists
22 InvalidSortArray
23 PhoneMatchLength
24 DuffGroup
25 InvalidSpeedDialContactId
26 InvalidSpeedDialIndex
27 InvalidViewIndex
28 InvalidIndexForSubView
29 InvalidIndexForConcatenatedView
30 ViewNotReady
31 NoViewIndexMatchCriteria
32 UnderlyingViewUnsorted
33 AsyncViewNotificationPending
34 ObserverNotFound
35 ComponentViewNotFound
36 InvalidFieldText
37 FieldTextNotInitialised
38 UnableToRestartServer
39 FilterableFieldMaxNumberInUse
40 FieldTextNotBlank


Re: CNTMODEL Panics

Hi Eric. Very usefull list. Can you put a short exaplanation for the values you found. Also, can I ask you how did you get these values? (in the sense...can you share the test code you used?)
And...a short comment...since they are not published, you have to keep in mind that they can be changed or obsolete.

Re: CNTMODEL Panics

I got them directly rom the Symbian source code... I don't have further explanation about them, I will take a look at the code when I got more time (most of them only occur in Symbian debug builds so you won't see them.