User cannot create new pages from templates - pop-up hangs and error java.lang.IllegalArgumentException: Invalid UUID string: in logs.
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The user is having problems with the template popup when clicking on the 3 dots, beside Create button on the top Menu, pop-up that opens it just spins/hangs. Other users don't have any problems, using this functionality. The user testuser
is not able to create new pages using templates.
Diagnosis
Environment
Confluence Server & Data Center version 7.19.2
Started the analysis from this stacktrace on atlassian-confluence.log
:
2023-02-28 11:18:46,915 ERROR [http-nio-8090-exec-11] [plugins.createcontent.exceptions.RestExceptionMapper] toResponse Invalid UUID string:
– referer: https://<confluence-baseURL>/pages/viewpage.action?spaceKey=TEST&title=Test+Space | url: /confluence/rest/create-dialog/1.0/blueprints/web-items | traceId: 5fd7ca7c2d84568e | userName: testuser
java.lang.IllegalArgumentException: Invalid UUID string:
at java.base/java.util.UUID.fromString(Unknown Source)
at com.atlassian.confluence.plugins.createcontent.extensions.DefaultUserBlueprintConfigManager.getSkipKeys(DefaultUserBlueprintConfigManager.java:159)
at com.atlassian.confluence.plugins.createcontent.extensions.DefaultUserBlueprintConfigManager.getSkipHowToUseKeys(DefaultUserBlueprintConfigManager.java:52)
at com.atlassian.confluence.plugins.createcontent.rest.DefaultBlueprintWebItemService.getPluginItems(DefaultBlueprintWebItemService.java:220)
at com.atlassian.confluence.plugins.createcontent.rest.DefaultBlueprintWebItemService.getCreateContentWebItems(DefaultBlueprintWebItemService.java:115)
at com.atlassian.confluence.plugins.createcontent.rest.BlueprintResource.getWebItems(BlueprintResource.java:107)
Based on this stack trace, we can see that the last Atlassian class/method used before the error is: DefaultUserBlueprintConfigManager.getSkipKeys
com.atlassian.confluence.plugins.createcontent.extensions.DefaultUserBlueprintConfigManager.getSkipKeys(DefaultUserBlueprintConfigManager.java:159)
Cause
From the source code, we see that Confluence user preferences for 'SKIP_HOW_TO_USE_BLUEPRINT_KEYS' is fetched into a String and this String is split with a comma (,) then these split ids try to be added to the UUID set. At this add operation, we got the error:
java.lang.IllegalArgumentException: Invalid UUID string:
at java.base/java.util.UUID.fromString(Unknown Source)
Based on this, the user preference data for 'SKIP_HOW_TO_USE_BLUEPRINT_KEYS' has some corruption or invalid data in it.
We will need to get data from the AO_54C900_CONTENT_BLUEPRINT_AO table for UUID values which we need to match the UUID values from user preference data stored in the os_propertyentry table. User preference data is stored in this table with the entity_name starting with USERPROPS-<userkey> Example from test instance:
entity_name | entity_id | entity_key | key_type | boolean_val | double_val | string_val |
| text_val | long_val | int_val | date_val |
---|---|---|---|---|---|---|---|---|---|---|---|
USERPROPS-ff9191917c9eeb3e017c9ggh3f6d0000 | 0 | skip-how-to-use-blueprint-keys | 5 | false | 0 | e8806893-141e-475c-8371-eea53ab2d8af |
| "" | 0 | 0 | |
USERPROPS-ff8080817c9eeb3e017c9eef3f6d0000 | 0 | createdBlueprints | 5 | false | 0 | c43a8fac-1317-4df0-a4dd-85f93bff3208,e8806893-141e-475c-8371-eea53ab2d8af,e4bf46e7-95f7-4e3a-805f-3766cf1381c6 |
| "" | 0 | 0 |
From the user_mapping table data collected, we get the testuser user_key:
9a00d1ef8582b569018582bb84b74be8 = testuser
With that, we can collect its preferences using the below SQL query:
select * from os_propertyentry where lower(entity_key) like '%blueprint%' and entity_name = 'USERPROPS-9a00d1ef8582b569018582bb84b74be8';
Collecting this data will find the possible issue from there.
entity_name | entity_id | entity_key | key_type | boolean_val | double_val | string_val |
| text_val | long_val | int_val | date_val |
---|---|---|---|---|---|---|---|---|---|---|---|
USERPROPS-9a00d1ef8582b569018582bb84b74be8 | 0 | skip-how-to-use-blueprint-keys | 5 | false | 0 | ,5c50a939-5ebf-49e9-918d-f9655d23da33 |
| "" | 0 | 0 | |
USERPROPS-9a00d1ef8582b569018582bb84b74be8 | 0 | createdBlueprints | 5 | false | 0 | 5c50a939-5ebf-49e9-918d-f9655d23da33 |
| "" | 0 | 0 |
We can see the comma (,) on string_val
column.
Solution
It is safe to delete the row that contains information about 'skip-how-to-use-blueprint-keys' for the testuser user. It will only reset this user's preference on 'Do not show this again' on the Blueprint dialog. See the screenshot below to have better visibility:

Was this helpful?