Unable to install Confluence - Bootstrap error

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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 Confluence startup failed with a Bootstrap Error, after installing a new Confluence.

Environment

  • Confluence 7.3.3
  • Windows Server


Diagnosis

Following error was found in the log file:

2020-04-02 09:43:23,518 ERROR [Catalina-utility-2] [atlassian.event.internal.AsynchronousAbleEventDispatcher] lambda$null$0 There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@657c1fb9] from the invoker [com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1@51498ee9]
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:55)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(AsynchronousAbleEventDispatcher.java:37)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:85)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:227)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:112)
at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:92)
at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:1965)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$earlyStartup$3(DefaultPluginManager.java:529)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:523)
at com.atlassian.confluence.plugin.ConfluencePluginManager.earlyStartup(ConfluencePluginManager.java:143)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$init$2(DefaultPluginManager.java:515)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:514)
at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:123)
at com.atlassian.confluence.setup.SetupPluginManager.init(SetupPluginManager.java:42)
at com.atlassian.confluence.setup.SetupContext.init(SetupContext.java:33)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseSetupContext(ConfluenceConfigurationListener.java:122)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:77)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:46)
... 29 more
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
at io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.getUniqueClasspathElementURLs(FastClasspathScanner.java:1840)
at io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.getUniqueClasspathElementURLs(FastClasspathScanner.java:1875)
at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getClassPathUrls(ExportsBuilder.java:282)
at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:252)
at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:177)
at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getExports(ExportsBuilder.java:145)
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:238)
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:200)
... 34 more
Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at io.github.lukehutch.fastclasspathscanner.FastClasspathScanner$5.call(FastClasspathScanner.java:1782)
at io.github.lukehutch.fastclasspathscanner.FastClasspathScanner$5.call(FastClasspathScanner.java:1779)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more
Caused by: java.lang.ExceptionInInitializerError
at io.github.lukehutch.fastclasspathscanner.scanner.Scanner.call(Scanner.java:214)
at io.github.lukehutch.fastclasspathscanner.scanner.Scanner.call(Scanner.java:56)
... 4 more
Caused by: java.lang.RuntimeException: Could not resolve current directory: D:\atlassian-confluence733
at io.github.lukehutch.fastclasspathscanner.utils.FileUtils.getCurrDirPathStr(FileUtils.java:56)
at io.github.lukehutch.fastclasspathscanner.scanner.ClasspathFinder.<clinit>(ClasspathFinder.java:47)
... 6 more
Caused by: java.nio.file.AccessDeniedException: D:\atlassian-confluence733
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsLinkSupport.getRealPath(Unknown Source)
at java.base/sun.nio.fs.WindowsPath.toRealPath(Unknown Source)
at java.base/sun.nio.fs.WindowsPath.toRealPath(Unknown Source)
at io.github.lukehutch.fastclasspathscanner.utils.FileUtils.getCurrDirPathStr(FileUtils.java:52)
... 7 more


Cause

Startup failed due to insufficient Permission:

java.nio.file.AccessDeniedException: D:\atlassian-confluence733


Solution

Check the followings:

  1. The installer is run with Administrator's Account
  2. Check if the Confluence user account has the Full Permission to both the 'Confluence_Home' and 'Confluence_Install' Directory.


Last modified on Apr 3, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.