Free Support Forum - aspose.com

PST: en-RU is not a supported culture

We are seeing the following stack trace when reading a PST file. Any ideas on how to resolve?

lass com.aspose.email.system.exceptions.ArgumentException: Culture Name: en-RU is not a supported culture
com.aspose.email.internal.k.b.c(Unknown Source)
com.aspose.email.internal.k.b.(Unknown Source)
com.aspose.email.internal.k.b.a(Unknown Source)
com.aspose.email.internal.af.f.f(Unknown Source)
com.aspose.email.internal.k.b.d(Unknown Source)
com.aspose.email.internal.ai.j.l(Unknown Source)
com.aspose.email.internal.ai.j.c(Unknown Source)
com.aspose.email.internal.b.y.a(Unknown Source)
com.aspose.email.internal.ai.j.a(Unknown Source)
com.aspose.email.internal.b.an.a(Unknown Source)
com.aspose.email.internal.b.an.a(Unknown Source)
com.aspose.email.internal.b.an.a(Unknown Source)
com.aspose.email.avi.a(SourceFile:54)
com.aspose.email.apa.a(SourceFile:567)
com.aspose.email.aow.a(SourceFile:1711)
com.aspose.email.aow.b(SourceFile:1665)
com.aspose.email.aow.a(SourceFile:292)
com.aspose.email.PersonalStorage.extractMessage(SourceFile:584)
com.stimulus.archiva.imports.AsposePSTContainer$MessageInfoDecorator.convertToEmailBlob(AsposePSTContainer.java:192)
com.stimulus.archiva.imports.AsposePSTContainer$MessageInfoDecorator.getData(AsposePSTContainer.java:156)
com.stimulus.archiva.imports.ImportPST.lambda$run$3(ImportPST.java:90)
java.lang.Iterable.forEach(Iterable.java:75)
com.stimulus.archiva.imports.ImportPST.run(ImportPST.java:62)
com.stimulus.archiva.imports.LibPSTProcessTest.process(LibPSTProcessTest.java:74)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
com.stimulus.archiva.mock.ApplicationMockRule$1.evaluate(ApplicationMockRule.java:57)
org.junit.rules.RunRules.evaluate(RunRules.java:20)
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
org.junit.runner.JUnitCore.run(JUnitCore.java:137)
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)


This Topic is created by sohail.aspose using the Email to Topic plugin.

@jamie-1,

Thank you for contacting Aspose support team.

Could you please share your PST file with us for our analysis here? We will re-produce the scenario to observe the problem and provide assistance accordingly.

It happens for all PSTs on my Russian colleagues computer. It clearly has something to do with the fact that en-RU is not a supported culture. Here is a valid list of culture codes: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Language_Culture_Names,_Codes,_and_ISO_Values. There is no reference to en-RU, only ru-RU. I guess because english is not widely spoken in Russia.

@jamie-1,

We need the sample PST at our end as we are not able to reproduce the problem with sample PSTs available with us. It will help us investigate the issue quickly and assist you further. Please also share the environment details with us like computer language settings and Timezone information.