Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Failed to set license. Details: Culture Name: en-HK is not a supported culture

Steffen October 23, 2019

Hi,

I am trying to report a bug and it seems this is the way even so they have a public accessible bug tracker but I cant enter anything there. 

After the 7.0.3 upgrade from 6.x we are getting following error:

 

```

2019-10-24 14:47:43,127 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.0.3 [build 8202 based on commit hash 387360a436aea1b09c3facd1fd0d65e5aee8b3e8] - synchrony version 3.1.0-master-8becbfc8

class com.aspose.imaging.coreexceptions.FrameworkException: Failed to set license. Details: Culture Name: en-HK is not a supported culture
com.aspose.imaging.License.setLicense(Unknown Source)
com.atlassian.plugins.conversion.AsposeUtils.license(AsposeUtils.java:63)
com.atlassian.plugins.conversion.AsposeAware.<clinit>(AsposeAware.java:5)
com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.getConverters(DefaultConversionManager.java:159)
com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.init(DefaultConversionManager.java:111)
com.atlassian.confluence.plugins.conversion.impl.ConversionLoaderRunner.runJob(ConversionLoaderRunner.java:29)
com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117)
com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:87)
com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)
com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)
com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:87)
com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:435)
com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:402)
com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:380)
com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)
com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)
com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)
java.lang.Thread.run(Thread.java:748)
at com.aspose.imaging.License.setLicense(Unknown Source)
at com.atlassian.plugins.conversion.AsposeUtils.license(AsposeUtils.java:63)
at com.atlassian.plugins.conversion.AsposeAware.<clinit>(AsposeAware.java:5)
at com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.getConverters(DefaultConversionManager.java:159)
at com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.init(DefaultConversionManager.java:111)
at com.atlassian.confluence.plugins.conversion.impl.ConversionLoaderRunner.runJob(ConversionLoaderRunner.java:29)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:87)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:87)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:435)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:402)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:380)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)
at java.lang.Thread.run(Thread.java:748)
24-Oct-2019 14:49:21.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]

```

 

Many thanks,

Steffen

3 answers

0 votes
Steffen November 1, 2019

Hi,

now I have Chinese in the logs, that's not really helpful :D 

 

01-Nov-2019 15:07:07.215 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server] failed to set property [debug] to [0]
01-Nov-2019 15:07:07.307 警告 [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
01-Nov-2019 15:07:07.327 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine] failed to set property [debug] to [0]
01-Nov-2019 15:07:07.332 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host] failed to set property [debug] to [0]
01-Nov-2019 15:07:07.366 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Context] failed to set property [debug] to [0]
01-Nov-2019 15:07:07.386 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Context] failed to set property [debug] to [0]
01-Nov-2019 15:07:07.630 資訊 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
01-Nov-2019 15:07:07.655 資訊 [main] org.apache.catalina.startup.Catalina.load Server initialization in [512] milliseconds
01-Nov-2019 15:07:07.664 資訊 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat-Standalone]
01-Nov-2019 15:07:07.665 資訊 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.22]

 At least the error message is gone. 

0 votes
PVS
Banned
October 24, 2019

Hi @Steffen 

 

 

Diagnosis

Check the configuration in Confluence UI by doing the following:

  1. Navigate to General Configuration > System Information
  2. Look for the following and check if it is set as {{user.language=zh}} and {{user.country=HK}}:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events