Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5162

Creating Basic Service Desk project fails when the default language is set to Russian

    XMLWordPrintable

Details

    Description

      Summary

      Creating Basic Service Desk project fails with error Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again. when the default language is set to Russian.

      Steps to Reproduce

      1. Go to General Configuration
      2. Click on Edit Settings
      3. Set the Default Language to Russian and Update
      4. Create a new Basic Service Desk project
      5. Error will be shown on the UI

      Expected Results

      The project should be successfully created

      Actual Results

      The following error is shown in UI:

      Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again.
      

      In JIRA logs:

      2017-01-18 16:51:45.186669500 2017-01-18 16:51:45,152 http-nio-3008-exec-3 ERROR sysadmin 1011x1172x1  104.192.142.137 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: An error occurred while notifying that a project was created
      2017-01-18 16:51:45.186671500 java.lang.RuntimeException: An error occurred while notifying that a project was created
      2017-01-18 16:51:45.186672500 	at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:411)
      2017-01-18 16:51:45.186719500 	at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:393)
      2017-01-18 16:51:45.186719500 	at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:363)
      2017-01-18 16:51:45.186720500 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2017-01-18 16:51:45.186720500 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2017-01-18 16:51:45.186726500 	... 1 filtered
      2017-01-18 16:51:45.186727500 	at java.lang.reflect.Method.invoke(Method.java:498)
      2017-01-18 16:51:45.186727500 	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      2017-01-18 16:51:45.186733500 	at com.sun.proxy.$Proxy419.createProject(Unknown Source)
      2017-01-18 16:51:45.186734500 	... 3 filtered
      2017-01-18 16:51:45.186734500 	at java.lang.reflect.Method.invoke(Method.java:498)
      2017-01-18 16:51:45.186734500 	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)
      2017-01-18 16:51:45.186745500 	at com.sun.proxy.$Proxy419.createProject(Unknown Source)
      2017-01-18 16:51:45.186746500 	at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:174)
      2017-01-18 16:51:45.186746500 	at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:187)
      2017-01-18 16:51:45.186751500 	... 3 filtered
      2017-01-18 16:51:45.186751500 	at java.lang.reflect.Method.invoke(Method.java:498)
      2017-01-18 16:51:45.186751500 	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      2017-01-18 16:51:45.186752500 	... 12 filtered
      2017-01-18 16:51:45.186752500 	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159)
      2017-01-18 16:51:45.186756500 	... 1 filtered
      2017-01-18 16:51:45.186756500 	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69)
      2017-01-18 16:51:45.186762500 	... 11 filtered
      2017-01-18 16:51:45.186762500 	at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:56)
      2017-01-18 16:51:45.186762500 	... 14 filtered
      

      Logs grabbed from the customer's instance:

      @40000000587e2c64082fc1ac 2017-01-17 17:38:18,098 http-nio-2998-exec-1 ERROR Ivan Tovbin 1058x5994x1  89.17.39.50 /rest/project-templates/1.0/templates [c.a.j.project.ProjectCreateRegistrarImpl.privacy-safe] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created
      @40000000587e2c64082fcd64 java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Unexpected character ('П' (code 1055 / 0x41f)): was expecting comma to separate OBJECT entries
      @40000000587e2c64083061d4  at [Source: java.io.StringReader@194c20c; line: 11, column: 373]

      All the project's schemes are successfully created but not the project.

      Workaround

      Change the default language to English.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nhassan Nur Asnida Hassan (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: