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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,426
Community Members
 
Community Events
176
Community Groups

Confluence failed upgrade from 6.13.8 to 7.13.3 - 404

Edited

Hi all, I have been facing this problem for a few days now and have not been able to fix it

This is my first upgrade attempt, and I thought it would be extremely simple.


All I did was download the 7.13.3 installer and run it. Then I replaced the server.xml text in the new installation with what I had in my working 6.13.8 directory


The current error I'm getting when I attempt to access the Confluence URL in my browser is:

HTTP Status 404 - Not Found

Type: Status Report

Description: The origin server did not find a current implementation for the target resource or is not willing to disclose one that exists

Apache Tomcat/9.0.45


And I can see in my log file I get the below error:

2022-02-01 10:37:04,428 ERROR [ThreadPoolAsyncTaskExecutor::Thread 52]                  [confluence.extra.calendar3.DefaultCalendarManager] getHostName Unable to get host    name from base URL
java.net.MalformedURLException


Based on the 404 and the MalformedURLException, obviously there is a URL/domain issue, but I don't know how to fix it because the domain listed in the server.xml file to access the confluence console in the browser is definitely correct


A larger excerpt of the stack trace is pasted below:


2022-02-01 10:35:23,138 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.13.3 [build 8703 based on commit hash 36c6839a91f173df6bb4019a1b2d6f3dd3d0aa87] - synchrony version 4.0.0-master-f680ea21
2022-02-01 10:35:29,650 INFO [Catalina-utility-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2022-02-01 10:35:34,572 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2022-02-01 10:35:50,584 INFO [Catalina-utility-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext initialized in 20934 ms
2022-02-01 10:35:50,850 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$earlyStartup$3 Plugin system earlyStartup begun
2022-02-01 10:35:55,175 WARN [FelixStartLevel] [extender.internal.support.ExtenderConfiguration] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.
2022-02-01 10:36:12,802 WARN [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$addPlugins$20 System Plugin 'confluence.xhtml.wikimarkup' is disabled.
2022-02-01 10:36:25,539 WARN [ThreadPoolAsyncTaskExecutor::Thread 16] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.user.UserKeyService' for component importation purposes. Skipping...
2022-02-01 10:36:25,554 WARN [ThreadPoolAsyncTaskExecutor::Thread 16] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.util.I18nHelper' for component importation purposes. Skipping...
2022-02-01 10:36:49,841 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system earlyStartup ended
2022-02-01 10:36:50,560 WARN [AtlassianEvent::CustomizableThreadFactory-1] [core.persistence.schema.StartupSchemaChecker] handleWarnings Database schema is inconsistent with expectations. 2 potential issues found, see below for details.
2022-02-01 10:36:50,560 WARN [AtlassianEvent::CustomizableThreadFactory-1] [core.persistence.schema.StartupSchemaChecker] handleWarnings Column [follower] of table [follow_connections] has mismatched definitions for expected [Column follow_connections.follower varchar(255) nullable] and actual [Column follow_connections.follower varchar(255) non-nullable]
2022-02-01 10:36:50,560 WARN [AtlassianEvent::CustomizableThreadFactory-1] [core.persistence.schema.StartupSchemaChecker] handleWarnings Column [followee] of table [follow_connections] has mismatched definitions for expected [Column follow_connections.followee varchar(255) nullable] and actual [Column follow_connections.followee varchar(255) non-nullable]
2022-02-01 10:36:52,216 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$lateStartup$4 Plugin system lateStartup begun
2022-02-01 10:36:53,185 ERROR [Catalina-utility-1] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'com.atlassian.confluence.plugins.templates-dev'
2022-02-01 10:36:56,013 WARN [ThreadPoolAsyncTaskExecutor::Thread 15] [addons.analytics.scheduler.DataRetentionScheduleManagerImpl] afterPropertiesSet Initializing Data Retention Schedule with frequency: 60000 milliseconds, batch size: 10000
2022-02-01 10:36:56,138 WARN [ThreadPoolAsyncTaskExecutor::Thread 15] [addons.analytics.scheduler.EventLimiterScheduleManagerImpl] afterPropertiesSet Initializing Event Limiter Schedule with frequency: 60000 milliseconds
2022-02-01 10:37:00,481 INFO [ThreadPoolAsyncTaskExecutor::Thread 36] [plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor] <init> synchrony-proxy healthcheck url: http://127.0.0.1:12581/synchrony-proxy/healthcheck
2022-02-01 10:37:01,841 ERROR [Catalina-utility-1] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'com.atlassian.confluence.plugins.templates-dev' : Unable to resolve com.atlassian.confluence.plugins.templates-dev [286](R 286.0): missing requirement [com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export) Unresolved requirements: [[com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export)]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN
2022-02-01 10:37:01,841 WARN [Catalina-utility-1] [atlassian.plugin.impl.AbstractPlugin] enable Unable to enable plugin 'com.atlassian.confluence.plugins.templates-dev'
2022-02-01 10:37:01,841 WARN [Catalina-utility-1] [atlassian.plugin.impl.AbstractPlugin] enable Because of this exception
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.templates-dev
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:424)
at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:258)
at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:120)
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:97)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$enableDependentPlugins$22(DefaultPluginManager.java:1235)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1219)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$addPlugins$20(DefaultPluginManager.java:1204)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1104)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$lateStartup$4(DefaultPluginManager.java:647)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:640)
at com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:149)
at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:84)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172)
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: org.osgi.framework.BundleException: Unable to resolve com.atlassian.confluence.plugins.templates-dev [286](R 286.0): missing requirement [com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export) Unresolved requirements: [[com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:405)
... 25 more
2022-02-01 10:37:02,169 ERROR [Catalina-utility-1] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to enable plugin com.atlassian.confluence.plugins.templates-dev
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.templates-dev
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:424)
at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:258)
at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:120)
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:97)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$enableDependentPlugins$22(DefaultPluginManager.java:1235)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1219)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$addPlugins$20(DefaultPluginManager.java:1204)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1104)
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$lateStartup$4(DefaultPluginManager.java:647)
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)
at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:640)
at com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:149)
at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:84)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172)
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: org.osgi.framework.BundleException: Unable to resolve com.atlassian.confluence.plugins.templates-dev [286](R 286.0): missing requirement [com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export) Unresolved requirements: [[com.atlassian.confluence.plugins.templates-dev [286](R 286.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.confluence.plugin.templates.export)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:405)
... 25 more
2022-02-01 10:37:04,428 ERROR [ThreadPoolAsyncTaskExecutor::Thread 52] [confluence.extra.calendar3.DefaultCalendarManager] getHostName Unable to get host name from base URL
java.net.MalformedURLException
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager$BaseUrlHostInfo.getHostName(DefaultCalendarManager.java:1990)
Caused by: java.lang.NullPointerException
... 70 more
2022-02-01 10:37:05,772 ERROR [ThreadPoolAsyncTaskExecutor::Thread 52] [confluence.extra.calendar3.DefaultCalendarManager] getHostName Unable to get host name from base URL
java.net.MalformedURLException
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager$BaseUrlHostInfo.getHostName(DefaultCalendarManager.java:1990)
at net.fortuna.ical4j.util.FixedUidGenerator.<init>(FixedUidGenerator.java:68)
at com.atlassian.confluence.extra.calendar3.DefaultICalendarExporter.<init>(DefaultICalendarExporter.java:92)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:175)
at [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.migration.agent'
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appOutdatedCheckRegistration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.agent.service.check.version.AppOutdatedCheckRegistration]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: HTTP URL must not be null

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.agent.service.check.version.AppOutdatedCheckRegistration]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: HTTP URL must not be null
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:187)
at 
Caused by: java.lang.IllegalArgumentException: HTTP URL must not be null
at org.springframework.util.Assert.notNull(Assert.java:198)
at com.sun.proxy.$Proxy2293.getBaseUrl(Unknown Source)
at com.atlassian.mywork.client.service.ClientRegistrationServiceImpl.createRegistration(ClientRegistrationServiceImpl.java:162)
at com.atlassian.mywork.client.service.ClientRegistrationServiceImpl.createRegistrations(ClientRegistrationServiceImpl.java:100)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy931.createRegistrations(Unknown Source)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.getLastModifiedInternal(LocalRegistrationServiceImpl.java:204)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.access$200(LocalRegistrationServiceImpl.java:51)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl$6.call(LocalRegistrationServiceImpl.java:195)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl$6.call(LocalRegistrationServiceImpl.java:192)
at com.atlassian.mywork.host.util.concurrent.LockedTaskExecutor.tryExecuteUnderLock(LockedTaskExecutor.java:47)
... 46 more
2022-02-01 10:37:43,416 ERROR [AtlassianEvent::CustomizableThreadFactory-1] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.mywork.host.event.ActiveObjectsInitializedEvent@22488d8] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.onActiveObjectsInitialized(com.atlassian.mywork.host.event.ActiveObjectsInitializedEvent), listener=com.atlassian.mywork.host.service.LocalRegistrationServiceImpl@27d6562} (timed)]
java.lang.RuntimeException: Listener: com.atlassian.mywork.host.service.LocalRegistrationServiceImpl event: com.atlassian.mywork.host.event.ActiveObjectsInitializedEvent
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:52)
at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimedListenerInvoker.invoke(ConfluenceListenerHandlersConfiguration.java:96)
at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93)
at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
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.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:49)
at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.run(ConfluenceEventDispatcher.java:93)
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.confluence.event.TimingEventPublisher.publish(TimingEventPublisher.java:76)
at jdk.internal.reflect.GeneratedMethodAccessor270.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.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy581.publish(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor270.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.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:130)
at com.sun.proxy.$Proxy581.publish(Unknown Source)
at com.atlassian.mywork.host.service.ActiveObjectsController.onActiveObjectsModuleEnabled(ActiveObjectsController.java:44)
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.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42)
at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimedListenerInvoker.invoke(ConfluenceListenerHandlersConfiguration.java:96)
at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93)
at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
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.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:49)
at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.run(ConfluenceEventDispatcher.java:93)
at com.atlassian.confluence.event.ConfluenceEventDispatcher$1.run(ConfluenceEventDispatcher.java:61)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.base/java.net.URI$Parser.parse(Unknown Source)
at java.base/java.net.URI.<init>(Unknown Source)
at com.atlassian.confluence.applinks.ConfluenceInternalHostApplication.getBaseUrl(ConfluenceInternalHostApplication.java:77)
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.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy318.getBaseUrl(Unknown Source)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy2293.getBaseUrl(Unknown Source)
at com.atlassian.mywork.client.service.ClientRegistrationServiceImpl.createRegistration(ClientRegistrationServiceImpl.java:162)
at com.atlassian.mywork.client.service.ClientRegistrationServiceImpl.createRegistrations(ClientRegistrationServiceImpl.java:100)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy931.createRegistrations(Unknown Source)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.getLastModifiedInternal(LocalRegistrationServiceImpl.java:204)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.access$200(LocalRegistrationServiceImpl.java:51)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl$6.call(LocalRegistrationServiceImpl.java:195)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl$6.call(LocalRegistrationServiceImpl.java:192)
at com.atlassian.mywork.host.util.concurrent.LockedTaskExecutor.tryExecuteUnderLock(LockedTaskExecutor.java:47)
at com.atlassian.mywork.host.util.concurrent.LockedTaskExecutor.executeUnderLock(LockedTaskExecutor.java:96)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.getLastModified(LocalRegistrationServiceImpl.java:192)
at com.atlassian.mywork.host.service.LocalRegistrationServiceImpl.onActiveObjectsInitialized(LocalRegistrationServiceImpl.java:278)
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.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42)
... 38 more
2022-02-01 10:37:44,463 INFO [Catalina-utility-1] 
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.regex.PatternSyntaxException: Unexpected internal error near index 11
"localhost\
at java.base/java.util.regex.Pattern.error(Unknown Source)
at java.base/java.util.regex.Pattern.compile(Unknown Source)
at java.base/java.util.regex.Pattern.<init>(Unknown Source)
at java.base/java.util.regex.Pattern.compile(Unknown Source)
at java.base/java.util.regex.Pattern.matches(Unknown Source)
at java.base/java.lang.String.matches(Unknown Source)
at com.amazonaws.http.apache.SdkProxyRoutePlanner.doesTargetMatchNonProxyHosts(SdkProxyRoutePlanner.java:62)
at com.amazonaws.http.apache.SdkProxyRoutePlanner.determineProxy(SdkProxyRoutePlanner.java:73)
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:78)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1236)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1056)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:743)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:717)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667)
at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:513)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4365)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4312)
at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1415)
at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1276)
at com.atlassian.analytics.client.s3.AnalyticsS3Client.getS3ObjectInputStream(AnalyticsS3Client.java:110)
at com.atlassian.analytics.client.hash.reader.RemoteHashingInstructionsReader.getRemoteListObject(RemoteHashingInstructionsReader.java:51)
at com.atlassian.analytics.client.hash.reader.RemoteHashingInstructionsReader.readInstructions(RemoteHashingInstructionsReader.java:34)
at com.atlassian.analytics.client.hash.BcryptAnalyticsEmailHasher$HashingInstructionsResettableLazyReference.create(BcryptAnalyticsEmailHasher.java:164)
at com.atlassian.analytics.client.hash.BcryptAnalyticsEmailHasher$HashingInstructionsResettableLazyReference.create(BcryptAnalyticsEmailHasher.java:154)
at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:179)
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325)
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)
... 23 more
2022-02-01 10:37:46,269 WARN [Caesium-1-1] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job com.atlassian.sal.core.scheduling.DefaultPluginScheduler#DefaultPluginScheduler:com.atlassian.analytics.client.upload.RemoteFilterRead:job completed unsuccessfully with response JobRunnerResponse[runOutcome=FAILED,message='InitializationException: java.util.regex.PatternSyntaxException: Unexpected internal error near index 11
"localhost\
PatternSyntaxException: Unexpected internal error near index 11
"localhost\']
2022-02-01 10:37:48,144 INFO [Catalina-utility-1] [confluence.admin.actions.SystemInfoOnStartup] startup
--------------------------
Build Information
--------------------------
maxUsers = 500
installationDate = 2009-10-07 23:00:48.0
supportEntitlementNumber = SEN-961113
buildNumber = 8703
serverId = BW61-Y2RV-8768-XR52
version = 7.13.3
home = d:\confluence\data
upTime = 2 minutes, 23 seconds
baseUrl = null
devMode = false
--------------------------
Server Information
--------------------------
Application Server: Apache Tomcat/9.0.45
Servlet Version: 4.0
--------------------------
Database Information
--------------------------
Database Dialect: com.atlassian.confluence.impl.hibernate.dialect.MySQLDialect
Database URL: jdbc:mysql://localhost/confluence
Database Driver Name: com.mysql.jdbc.Driver
Database Driver Version: mysql-connector-java-5.1.11 ( Revision: ${svn.Revision} )
Database Name: MySQL
Database Version: 5.7.34-log
Database Latency (ms): 0
--------------------------
System Information
--------------------------
date = Tuesday, 1 February 2022
jvmInputArguments = -Dcatalina.home=D:\confluence\dom1 -XX:+UseG1GC -XX:G1ReservePercent=20 -XX:ReservedCodeCacheSize=256m -XX:+IgnoreUnrecognizedVMOptions -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -Xloggc:D:\confluence\dom1\logs\gc-%t.log -Xlog:gc+age=debug:file="D:\confluence\dom1\logs\gc-%t.log"::filecount=5,filesize=2M -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Djava.awt.headless=true -Datlassian.plugins.enable.wait=300 -Djava.locale.providers=JRE,SPI,CLDR -Dcatalina.base=D:\confluence\dom1 -Dignore.endorsed.dirs=D:\confluence\dom1\endorsed -Djava.io.tmpdir=D:\confluence\dom1\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\confluence\dom1\conf\logging.properties -Dhttp.proxyHost=REDACTED -Dhttp.proxyPort=8080

-Dhttps.proxyHost=REDACTED -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts="localhost\|127.0.0.1\|*.REDACTED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED exit abort -Xms1024m -Xmx1024m
workingDirectory = D:\confluence\dom1
javaVersion = 11.0.12
javaSpecificationVersion = 11
operatingSystem = Windows Server 2019 10.0
operatingSystemVersion = 10.0
appServer = Apache Tomcat
javaVm = OpenJDK 64-Bit Server VM
javaRuntime = OpenJDK Runtime Environment
operatingSystemArchitecture = amd64
fileSystemEncoding = Cp1252
jvmInputArgumentsFiltered = -XX:+UseG1GC -XX:G1ReservePercent=20 -XX:ReservedCodeCacheSize=256m -XX:+IgnoreUnrecognizedVMOptions -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -Xms1024m -Xmx1024m
systemLanguage = en
jvmVendor = Oracle Corporation
javaVendor = Eclipse Foundation
userName = confluence
tempDirectory = D:\confluence\dom1\temp
jvmImplementationVersion = 11.0.12+7
jvmVersion = 11
favouriteCharacter = White Rabbit
favouriteColour = Celadon
time = 10:37:46
systemTimezone = Australia/Adelaide
operatingSystemName = Windows Server 2019
--------------------------
Global Settings
--------------------------
allowCamelCase = false
backupAttachmentsDaily = true
enableOpenSearch = true
showContactAdministratorsForm = true
draftSaveInterval = 30000
webSudoTimeout = 10
webSudoEnabled = true
dailyBackupFilePrefix = backup-
indexingLanguage = english
emailAddressVisibility = email.address.public
attachmentDataStore = file.system.based.attachments.storage
maxAttachmentsInUI = 5
gzippingResponse = false
disableLogo = false
defaultSpaceHomepageTitle = Home
maintenanceBannerMessage = null
allowRemoteApiAnonymous = false
supportRequestEmail = confluence-autosupportrequests@atlassian.com
defaultEncoding = UTF-8
addWildcardsToUserAndGroupSearches = true
defaultTimezoneId = null
attachmentSecurityLevel = SMART
showSystemInfoIn500Page = false
timeZone = time.zone.Australia.Adelaide
saveable = true
globalDefaultLocale = en_GB
rssTimeout = 60
allowThreadedComments = true
ignoredAdminTasks = null
maxThumbDimensions = 300x300
antiXssMode = true
maxThumbHeight = 300
auditLogRetentionUnit = Years
denyPublicSignup = true
siteTitle = Confluence
siteHomePage = null
allowTrackbacks = false
xsrfAddComments = true
maxThumbWidth = 300
backupDaily = true
auditLogRetentionNumber = 3
nofollowExternalLinks = true
senMissingInLicenseMessageOff = true
almostSupportPeriodEndMessageOff = false
defaultUsersGroup = confluence-users
backupPath = null
baseUrlAdminMessageOff = false
externalUserManagement = false
maxSimultaneousQuickNavRequests = 40
maxRssItems = 200
emailAdminMessageOff = false
loginManagerSettings = com.atlassian.confluence.setup.settings.beans.LoginManagerSettings@7cff4642
maintenanceBannerMessageOn = false
dailyBackupDateFormatPattern = yyyy_MM_dd
attachmentMaxSize = 10485760
customContactMessage = null
baseUrl = null
enableSpaceStyles = false
enableQuickNav = true
allowRemoteApi = false
pageTimeout = 120
--------------------------
JVM Stats
--------------------------
xmx = 1073741824
usedNonHeap = 416509128
availableHeap = 270008320
availableNonHeap = -1
allocatedHeap = 1073741824
freeAllocatedHeap = 270008320
maxNonHeap = -1
availablePermGen = 0
maxPermGen = -1
maxHeap = 1073741824
usedHeap = 803733504
usedPermGen = -1
xms = 1073741824
--------------------------
Cluster Information
--------------------------
Not clustered.
--------------------------
Enabled Plugins
--------------------------

1 answer

0 votes
Pramodh M Community Leader Jan 31, 2022

Hi @Ben Whitely 

Let's go step by step

Now that you are doing the Upgrade in Test Environment can you look at the System Info and then record all the changes first in your Prod environment. 

Backup the data, then perform the upgrade?

Let me know

Thanks

Hi @Ben Whitely ,

May i know how you fixed this issue, because i am facing same issue.

Thanks,

Kuldeep

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events