When parsing the following note :
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\fswiss\fprq2\fcharset0 Arial;}}
\viewkind4\uc1\pard\ltrpar\lang1023\f0\fs24 Les simulations thermiques ne peuvent aboutir du fait de la difficult\'e9 du calcul (maillage trop dense, difficult\'e9 de passer en mode transitoire,...)\par
Le sujet des simulations thermiques dans l'insert est un sujet de fond qui doit etre trait\'e9 par les EG sur du moyen terme.\par
\lang1036\f1\fs16\par
}
The token "lang1023" is read to retrieve the text's encoding, but the map RTFUtility.LOCALEID_MAPPING does not contains the key "1023" and a NullPointerException is thrown.
The note comes from an old french MS Project 2000 file. When adding in the map the entry {"1023", "Cp1252"}, there is no exception any more.
The code now in CVS fixes this issue.