SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41668: An unknown format type error occurs when you use Data Loading (Carregamento de Dados) in European Portuguese locales (pt or pt_PT)

DetailsHotfixAboutRate It

When you use the Data Loading (Carregamento de Dados) feature in the web interface for SAS® OpRisk Monitor or SAS® Enterprise GRC, if your language/locale is set to European Portuguese (pt or pt_PT), then the following error might be displayed in the user interface:

unknown format type

If you click on the error Details tab, then the details will show one of the two following forms:

Mensagem: unknown format type at 
Motivo: unknown
java.lang.IllegalArgumentException: unknown format type at 
   at java.text.MessageFormat.makeFormat(MessageFormat.java:1433)
   at java.text.MessageFormat.applyPattern(MessageFormat.java:450)
   at java.text.MessageFormat.(MessageFormat.java:350)
   ...
Mensagem: unknown format type at 
Motivo: unknown
java.lang.IllegalArgumentException: unknown format type at 
   at java.text.MessageFormat.makeFormat(MessageFormat.java:1453)
   at java.text.MessageFormat.applyPattern(MessageFormat.java:470)
   at java.text.MessageFormat.<init>(MessageFormat.java:365)
   at java.text.MessageFormat.format(MessageFormat.java:823)
   ...

This problem occurs because incorrectly-translated text is included in some Portuguese properties files.

To fix the problem in SAS Enterprise GRC 4.3, apply this hot fix, or use the code that appears below.

Click the Hot Fix tab in this note to access the hot fix for this issue.

To fix the problem in other versions of SAS OpRisk Monitor or SAS Enterprise GRC, add the lines of text that appear below to the customMessages.properties file, to the customMessages_pt.properties file, or to the customMessages_pt_PT.properties file. See your administrator's guide for more information about how to modify these files, and how to then rebuild and redeploy the web application. Make sure that each line of text appears only one time in only one file.

SAS OpRisk Monitor 4.1

application.timeoutCountdownMessage.fmt.txt=Esta sessão vai ser fechada dentro de {0choice,0#immediately|1#um minuto|2#em {0,number,integer} minutos} por motivos de inactividade
DimensionMergeFile.filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-merge.xml
errors.incident.send.validation.amount.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#}%.
errors.incident.send.validation.amount.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#}%.
monitor.timestamp.displayformat.fmt.txt={0,date,long} {0,time,full}
dataload.upload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-upload.xls
dataload.unload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-unload.xls
AllocationEditor.percentageWithAmount.fmt.txt={2,number,percent} ({1} {0,number,integer})
dataload.assessment.answerSheet.actionPerformed.fmt.txt = Acção "{0}" realizada em {1,number,integer} {1,choice,1#answer sheet|1<answer sheets}.
batch.logger.invoked.testmode.message.fmt = Ficheiro batch {2} invocado no modo de teste por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
batch.logger.invoked.commitmode.message.fmt = Ficheiro batch {2} invocado por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
kri.ObservationLoader.reportingPeriodNameTemplate.fmt.txt={0,date,short}-{1,date,short}
cpb.errorAtLine.fmt=Erro{0,choice,-1#|-1< at line {0}}: {1}
cpb.warningAtLine.fmt=Aviso{0,choice,-1#|-1< at line {0}}: {1}

SAS Enterprise GRC 4.2

DimensionMergeFile.filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-merge.xml
errors.incident.send.validation.amount.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#}%.
errors.incident.send.validation.amount.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#}%.
monitor.timestamp.displayformat.fmt.txt={0,date,long} {0,time,full}
dataload.upload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-upload.xls
dataload.unload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-unload.xls
SplitWizard.output.filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-split.xml
batch.logger.invoked.testmode.message.fmt = Ficheiro batch {2} invocado no modo de teste por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
batch.logger.invoked.commitmode.message.fmt = Ficheiro batch {2} invocado por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
kri.ObservationLoader.reportingPeriodNameTemplate.fmt.txt={0,date,short}-{1,date,short}

SAS Enterprise GRC 4.3

DimensionMergeFile.filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-merge.xml
errors.incident.send.validation.amount.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.underAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar subalocado por {0,number,0.0#}%.
errors.incident.send.validation.amount.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#} {1}.
errors.incident.send.validation.percent.overAllocated.fmt.txt=Este incidente não pode ser enviado para validação por se encontrar sobrealocado por {0,number,0.0#}%.
monitor.timestamp.displayformat.fmt.txt={0,date,long} {0,time,full}
dataload.upload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-upload.xls
dataload.unload.results-filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-unload.xls
SplitWizard.output.filename.fmt.txt={1,date,yyyyMMdd}-{1,time,HHmmss}-{0}-split.xml
batch.logger.invoked.testmode.message.fmt = Ficheiro batch {2} invocado no modo de teste por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
batch.logger.invoked.commitmode.message.fmt = Ficheiro batch {2} invocado por {0} em {1,date,MMM d yyyy hh:mm:ss a} 
kri.ObservationLoader.reportingPeriodNameTemplate.fmt.txt={0,date,short}-{1,date,short}


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS OpRisk MonitorWindows 7 Enterprise x644.1
Windows 7 Enterprise 32 bit4.1
Windows 7 Home Premium 32 bit4.1
Windows 7 Home Premium x644.1
Windows 7 Professional 32 bit4.1
Windows 7 Professional x644.1
Windows 7 Ultimate 32 bit4.1
Windows 7 Ultimate x644.1
Windows Millennium Edition (Me)4.1
Windows Vista4.1
Windows Vista for x644.1
64-bit Enabled AIX4.1
64-bit Enabled Solaris4.1
HP-UX IPF4.1
Linux for x644.1
Microsoft Windows XP Professional4.1
Microsoft Windows Server 2008 for x644.1
Microsoft Windows Server 20084.1
Microsoft Windows Server 2003 for x644.1
Microsoft Windows Server 2003 Standard Edition4.1
Microsoft Windows Server 2003 Enterprise Edition4.1
Microsoft Windows Server 2003 Datacenter Edition4.1
Microsoft Windows NT Workstation4.1
Microsoft Windows 2000 Professional4.1
Microsoft Windows 2000 Server4.1
Microsoft Windows 2000 Datacenter Server4.1
Microsoft Windows 2000 Advanced Server4.1
Microsoft Windows 95/984.1
Microsoft® Windows® for x644.1
SAS SystemSAS Enterprise GRCMicrosoft® Windows® for x644.2
Microsoft Windows 95/984.2
Microsoft Windows 2000 Advanced Server4.2
Microsoft Windows 2000 Datacenter Server4.2
Microsoft Windows 2000 Server4.2
Microsoft Windows 2000 Professional4.2
Microsoft Windows NT Workstation4.2
Microsoft Windows Server 2003 Datacenter Edition4.2
Microsoft Windows Server 2003 Enterprise Edition4.2
Microsoft Windows Server 2003 Standard Edition4.2
Microsoft Windows Server 2003 for x644.2
Microsoft Windows Server 20084.2
Microsoft Windows Server 2008 for x644.2
Microsoft Windows XP Professional4.2
Windows 7 Enterprise 32 bit4.2
Windows 7 Enterprise x644.2
Windows 7 Home Premium 32 bit4.2
Windows 7 Home Premium x644.2
Windows 7 Professional 32 bit4.2
Windows 7 Professional x644.2
Windows 7 Ultimate 32 bit4.2
Windows 7 Ultimate x644.2
Windows Millennium Edition (Me)4.2
Windows Vista4.2
Windows Vista for x644.2
64-bit Enabled AIX4.2
64-bit Enabled Solaris4.2
HP-UX IPF4.2
Linux for x644.2
Solaris for x644.2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.