×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    Question What's the reason of panic 'FIELDS 18"

    hi,
    I encountered a panic 'FIELDS 18", Who can help to tell the reason and discription of this panic?

    thank you very much!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: What's the reason of panic 'FIELDS 18"

    Some context (the API you are trying to use when encountering this panic) might be useful.

  3. #3
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: What's the reason of panic 'FIELDS 18"

    Quote Originally Posted by JackSu View Post
    hi,
    I encountered a panic 'FIELDS 18", Who can help to tell the reason and discription of this panic?

    thank you very much!
    Hi,

    Are you using CTextField or something? Below is the enum for the panic code, and where it is called.

    http://developer.symbian.org/xref/os...FLDUTIL.CPP#27

    Code:
         23 GLDEF_C void Panic(TFieldPanic aPanic)
         24 // Panic the process with FIELDS as the category.
         25 //
         26 	{
         27 	_LIT(KFieldPanic,"FIELDS");
         28 	User::Panic(KFieldPanic,aPanic);
         29 	}
    http://developer.symbian.org/xref/os...ds/FLDSTD.H#45

    Code:
         25 enum TFieldPanic
         26 	{
         27 	EDebug,
         28 	ENoTextField,
         29 	ENoFieldFactory,
         30 	ENoMFieldPageNumInfo,
         31 	ENoMFieldNumPagesInfo,
         32 	ENoMFieldFileNameInfo,
         33 	ENoBuffer,
         34 	EPosOutsideDoc,
         35 	EPosNotInField,
         36 	EPosOutOfRange,
         37 	ELengthOutOfRange,
         38 	EIndexOutOfRange,
         39 	ECharOutOfRange,
         40 	ENegativeRange,
         41 	EIllegalNegativeValue,
         42 	EIllegalFieldType,
         43 	EArrayNotEmptyOnRestore,
         44 	EBufferFull,
         45 	EDefaultFieldExternalizeCalled
         46 	};
    http://developer.symbian.org/xref/os...FLDBASE.CPP#74

    Code:
         64 EXPORT_C void CTextField::ExternalizeL(RWriteStream& /*aStream*/)const
         65 //
         66 	/** Externalises the field data. Called by StoreL().
         67 
         68 	Calling this default implementation raises a panic. Concrete field classes
         69 	with persistent data must provide their own implementation of this function.
         70 	Concrete field classes with no persistent data must provide a StoreL() implementation
         71 	that just returns KNullStreamId.
         72 
         73 	@param aStream Not used. */
         74 	{Panic(EDefaultFieldExternalizeCalled);}
         75
    Regards

    Ziteng Chen

Similar Threads

  1. "security reason" & "access not granted" problems?
    By 113115 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2009-03-30, 06:16
  2. Reason Code: "KERN-EXEC, Reason number: 3"
    By leci in forum General Development Questions
    Replies: 1
    Last Post: 2008-05-08, 08:50
  3. User panic 18 when showing CAknQueryDialog
    By codepatch in forum Symbian
    Replies: 1
    Last Post: 2007-07-29, 00:10
  4. Replies: 0
    Last Post: 2007-02-21, 01:19
  5. about panic reason and panic code
    By turnabull2 in forum Symbian
    Replies: 1
    Last Post: 2006-01-26, 12:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×