Category: BAFL

Basic Application Framework Library (BAFL.lib) panics. A number of APIs raise these panics. They are:

  • Application Utilities

  • Command Line Parsing

  • Environment Change Notifier

  • Incremental Matcher

  • Interface to Resource Files

2

Out of range index passed to RIncrMatcherBase::FirstMatchingIndex()

3

Maximum length passed to RTextBuf::SetMaxLengthL() was lesser or equal to Zero.

4

This panic is raised by the Read() member functions and the Advance() member function of TResourceReader, when the current position in the resource buffer is moved beyond the end of the buffer.

5

This panic is raised by TResourceReader::Rewind(), when the current position in the resource buffer is moved before the start of the buffer.

13

This panic is raised when either iLibrary.Handle() != KNullHandle or iPtr != NULL, indicating that an association has already been set

14

No path specified in sound info passed to CBaSystemSoundArray::SetSoundL()

15

This panic is raised by TResourceReader::ReadTPtrC16(), when it detects that the alignment of Unicode strings within the resource is incorrect. The buffer is of an incorrect length for reading a Unicode string.

18

Invalid system sound priority set

19

NULL UID passed to CBaNamedPlugins::IndexOfUid()

20

Bad resource file format found when constructing a CBaNamedPlugins object

21

The array position at which the text representing the choice of no plug-in is to be inserted, is invalid. The panic is raised by CBaNamedPlugins::ConstructL()

22

An invalid comparison algorithm or no comparison algorithm supplied when sorting the plug-in names in the implementation of CBaNamedPlugins::ConstructL()

23

This panic is raised when the drive specified to be a clipboard drive is invalid and non-writable

24

This panic is raised when there is a mismatch between the number of input bytes which are consumed and the length of the compressed unicode

25

This panic is raised when the number of bytes for an index is not even

26

This panic is raised when every flag is set in iFlagsAndNumberOfResources

27

This panic is raised when the number of bytes cached is not equal to the size of the cache

28

This panic is raised when the number of bytes still to retrieve is not equal to the length of the buffer

29

Length of the buffer does not equal number of bytes of index

30

Inconsistency check failed when caching the resource file index

31

This panic is raised if RResourceFileImpl::OpenL is called and the flag EFlagIsRomFile is not set in iFlagsAndNumberOfResources

32

This panic is raised if RResourceFileImpl::ReadHeaderAndResourceIndexL is called and no flags are set in iFlagsAndNumberOfResources

33

The value of iOffset is not equal to zero

34

Index is greater or equal to the number of bytes of the input, causing index to be out of bounds

35

This panic is raised if a pointer is null

36

Data members are not initialized

37

Index to an array is negative

38

Attempt to access past the end of the stream from RDictionaryCompressionBitStream::IndexOfDictionaryEntryL()

39

Attempt to access past the end of the stream from RDictionaryCompressionBitStream::ReadL()

40

This panic is raised when there are no consecutive prefix bits

41

This panic is raised when the number of consecutive prefix bits is greater than 4

42

This panic is raised if the number of bits off byte boundary is negative

43

Inconsistency check failed when decompressing a resource file

44

Panic raised when the offset value is less than zero in RDictionaryCompressionBitStream::OpenL

45

Panic raised when the offset value is less than zero in RDictionaryCompressionBitStream::EndOfStreamL

46

This panic is raised if the offset to the current bit is less than the offset to the first bit

47

This panic is raised if the offset to the current bit is more than the offset to the last bit

48

No bits were read from the current byte

49

Read operation has gone over the length of the buffer to read, number of bits left to read is negative

50

This panic is raised when the buffer has not been initialized and is NULL when a call to RDictionaryCompressionBitStream::EndOfStreamL is made

51

This panic is raised when the buffer has not been initialized and is NULL when a call to RDictionaryCompressionBitStream::IndexOfDictionaryEntryL is made

52

This panic is raised when the buffer has not been initialized and is NULL when a call to RDictionaryCompressionBitStream::ReadL is made

53

This panic is raised when the buffer has not been initialized and is NULL when a call to RDictionaryCompressionBitStream::CurrentBitIsOn is made

54

This panic is raised when the buffer has not been initialized and is NULL when a call to RDictionaryCompressionBitStream::ReadIntegerL is made

55 — 58

The length of the bit buffer is negative

59

The flag EFlagDictionaryCompressed is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::AllocReadLC and flag EFlagGenerate_RSS_SIGNATURE_ForFirstUserResource is set

60

The flag EFlagThirdUidIsOffset is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::AllocReadLC and flag EFlagGenerate_RSS_SIGNATURE_ForFirstUserResource is set

61

The flag EFlagDictionaryCompressed is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::OwnsResourceIdL and flag EFlagGenerate_RSS_SIGNATURE_ForFirstUserResource is set

62

The flag EFlagThirdUidIsOffset is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::OwnsResourceIdL and flag EFlagGenerate_RSS_SIGNATURE_ForFirstUserResource is set

63

The flag EFlagDictionaryCompressed is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::OwnsResourceIdL and flag EFlagFirstResourceIsGeneratedBitArrayOfResourcesContainingCompressedUnicode is set

64

The flag EFlagDictionaryCompressed is not set in iFlagsAndNumberOfResources in call to RResourceFileImpl::AllocReadLC and flag EFlagFirstResourceIsGeneratedBitArrayOfResourcesContainingCompressedUnicode is set

65

Index parameter specified is less than zero, out of bounds

66

This panic is raised if the size of the largest resource when completely uncompressed is not positive

67

This panic is raised if the size of the largest resource when completely uncompressed is not greater than 0 in RResourceFileImpl::DecompressUnicodeL

68

This panic is raised if the size of the largest resource when completely uncompressed is not greater than 0

69

The header length is not the correct length (16+1+2+2)

70

This panic is raised when iBuffer is NULL in call to TResourceReaderImpl::MovePtrL. DEBUG build only.

71

This panic is raised when aPtr is NULL in call to TResourceReaderImpl::MovePtrL. DEBUG build only.

72

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadTPtrC8L. DEBUG build only.

73

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadTPtrC16L. DEBUG build only.

74

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadInt8L. DEBUG build only.

75

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadUint8L. DEBUG build only.

76

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadInt16L. DEBUG build only.

77

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadUint16L. DEBUG build only

78

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadInt32L. DEBUG build only.

79

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadUint32L. DEBUG build onl

80

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::ReadL. DEBUG build only.

81

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::RewindL. DEBUG build only.

82

This panic is raised when iCurrentPtr is NULL in call to TResourceReaderImpl::AdvanceL. DEBUG build only.

84

This panic is raised when the number of bytes for an index is negative in RResourceFileImpl::ReadHeaderAndResourceIndexL

85 — 86

Panic caused by a header with length less than 18

87

Panic caused by a header with length less than or equal to 10

88

This panic is raised when there is a negative number of dictionary entries

89

This panic is raised if the index for the start of the resource is negative

90

This panic is raised if the filesize is not equal to the expected value

91

This panic is raised if appending data to an object would cause the length to exceed the maximum length for that object

92

This panic is raised when an index into an array is over the size of the array

93

This panic is raised when the number of bytes for an index is negative in RResourceFileImpl::AppendDictionaryCompressionBitStreamL

94

This panic is raised when the filesize is not greater than in RResourceFileImpl::OpenL

95

This panic is raised when the number of bytes for an index is negative in RResourceFileImpl::DictionaryDecompressedResourceDataLC

96

This panic is raised if the aPos argument to RResourceFileImpl::ReadL is less than the file offset

97

This panic is raised if the aLength argument to RResourceFileImpl::ReadL is negative

98

This panic is raised if the aLength argument to RResourceFileImpl::ReadL is greater than the maximum length of aDes descriptor argument

99

This panic is raised if the index to a resource is greater than the length of the object containing the resource

100

This panic is raised if the index to a resource is greater than the length of the object containing the resource

101

This panic is raised if the buffer length + 1 equals or exceeds the maximum length of the buffer

102

Inconsistency check failed when resending a resource file

103

This panic is raised when the start position is equal to or greater than the file size

104

This panic is raised when the start position is equal to or greater than the file size

105

This panic is raised if the number of bytes to load will exceed the file size from the start position

106

This panic is raised when the first offset is not smaller than the file size

107

This panic is raised when the last offset is not smaller than or equal to the file size

108

Arguments inconsistent. The reference an invalid drive or offset position

109

This panic is raised when the buffer to append the data to will not fit that much data

110

This panic is raised when the RFs argument to SysUtil::FFSSpaceBelowCriticalLevel, SysUtil::DiskSpaceBelowCriticalLevelL and SysUtil::MMCSpaceBelowCriticalLevelL is passed without being connected.