-
Bug
-
Resolution: Fixed
-
Highest
-
4.3.1, 4.3.2, 4.3.3, 5.4.1, 5.4.2
-
Tested and occurs on Confluence 4.3.3, 4.3.2, 4.3.1 and JIRA 5.1.1.
Tested and does not occur on Confluence 4.3.0
Steps to Reproduce
- Install Confluence 4.3.3
- Run through the setup wizard and select JIRA for User Management
- Enter your JIRA server credentials
- The page will not move forward, the next button is greyed out, and you will see this error in the logs:
2012-11-23 16:06:17,232 ERROR [Long running task: Synchronising JIRA Directory] [confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask] doInTransactionWithoutResult User <admin> does not exist -- referer: http://localhost:10433/setup/connecttojirasyncdirectory-start.action | url: /setup/connecttojirasyncdirectory-start.action | userName: anonymous | action: connecttojirasyncdirectory-start com.atlassian.crowd.exception.UserNotFoundException: User <admin> does not exist
where <admin> is the admin user in JIRA, and does exist.
See the attached log for the full stack trace and errors.
NB: A similar error occurred in Confluence 4.3.2, but the error in the logs is this:
2012-11-23 16:26:32,309 ERROR [http-10432-1] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
-- referer: http://localhost:10432/setup/connecttojira-start.action | url: /setup/connecttojirasyncdirectory-start.action | userName: anonymous
java.lang.NullPointerException
at com.atlassian.confluence.setup.actions.ConnectToJiraSyncDirectoryAction.getInternalDirectoryId(ConnectToJiraSyncDirectoryAction.java:81)
Sometimes there is no error, but the page hangs at
The last line in the logs is:
2012-11-23 17:33:57,401 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 42 ] groups for update in DB cache in [ 6ms ]
Again see the attached 4.3.2 log for full error and stack trace.
Workaround
- Clean the Confluence install by backing up and removing the contents of <confluence-home>, and backing up the database.
- Run the installation again
- Select to Continue and Overwrite Existing Data in the database, and continue
- Instead of choosing JIRA for User Management, select to Manage Users and Groups Within Confluence
- Create an admin account
- Once you are into Confluence, set up JIRA as a User Directory by following these instructions
- has a regression in
-
CONFSERVER-31129 Can't use JIRA as a user directory during initial Confluence setup
-
- Closed
-
- is a regression of
-
CONFSERVER-23184 Setup hangs loading users from JIRA
-
- Closed
-
- relates to
-
CONFSERVER-31129 Can't use JIRA as a user directory during initial Confluence setup
-
- Closed
-
- mentioned in
-
Wiki Page Failed to load
-
Wiki Page Failed to load
-
Wiki Page Loading...
-
Wiki Page Loading...
This issue is actually being handled in CONF-31129, and has been resolved in the 5.4.3, which will be the next bugfix release of Confluence. There is no scheduled date for the release currently, but we expect it to be within the next few weeks.
Please watch that bug report for further updates.
-Denise
Atlassian Support