Jira can't connect to hipchat.com

Milos Sretin May 4, 2016

I had a problem connecting JIRA to HipChat and I tryed to install SSL for domain.hipchat.com using Atlassian Labs but after I start JIRA I am unable to set HipChat.

If I go to Admin > Hip Chat Integration I gor 500 Error.

Here is the log that I have.

 

2016-05-04 12:29:19,961 Caesium-1-1 ERROR [c.a.p.hipchat.ping.DefaultConnectionStatusService] Got an error trying to get the status of the connection
java.lang.IllegalArgumentException: Path segment is null
at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:547)
at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:542)
at com.sun.jersey.api.uri.UriBuilderImpl.path(UriBuilderImpl.java:267)
at javax.ws.rs.core.UriBuilder.fromPath(UriBuilder.java:112)
at com.atlassian.hipchat.api.DefaultHipChatRoutesProvider$1.generateToken(DefaultHipChatRoutesProvider.java:71)
at com.atlassian.hipchat.api.session.DefaultSessionService.generateToken(DefaultSessionService.java:124)
at com.atlassian.hipchat.api.session.DefaultSessionService.generateClientCredentialsToken(DefaultSessionService.java:54)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$RefreshAddonToken.makeNewToken(DefaultHipChatTokenRefreshService.java:330)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$BaseRefreshTokenFuture.get(DefaultHipChatTokenRefreshService.java:167)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$BaseRefreshTokenFuture.get(DefaultHipChatTokenRefreshService.java:155)
at com.atlassian.plugins.hipchat.token.SimpleHipChatTokenReference.get(SimpleHipChatTokenReference.java:28)
at com.atlassian.plugins.hipchat.token.SimpleHipChatTokenReference.get(SimpleHipChatTokenReference.java:14)
at com.atlassian.hipchat.api.DefaultHipChatRoutesProvider$1.getRoom(DefaultHipChatRoutesProvider.java:266)
at com.atlassian.hipchat.api.rooms.impl.DefaultRoomService.getRoom(DefaultRoomService.java:56)
at com.atlassian.plugins.hipchat.api.room.DefaultHipChatRoomsProvider.expandRoomsForIds(DefaultHipChatRoomsProvider.java:115)
at com.atlassian.plugins.hipchat.api.room.DefaultHipChatRoomsProvider.expandRoomsForIds(DefaultHipChatRoomsProvider.java:68)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
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:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
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:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy2162.expandRoomsForIds(Unknown Source)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.isOAuthWorking(DefaultConnectionStatusService.java:231)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.access$100(DefaultConnectionStatusService.java:48)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService$3.apply(DefaultConnectionStatusService.java:174)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService$3.apply(DefaultConnectionStatusService.java:167)
at com.atlassian.fugue.Option$Some.fold(Option.java:421)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.requestConnectionStatus(DefaultConnectionStatusService.java:160)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.getConnectionStatusInner(DefaultConnectionStatusService.java:152)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.getConnectionStatus(DefaultConnectionStatusService.java:246)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
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:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
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:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy2305.getConnectionStatus(Unknown Source)
at com.atlassian.jira.plugins.hipchat.service.ping.RefreshConnectionStatusJobHandler.execute(RefreshConnectionStatusJobHandler.java:22)
at com.atlassian.scheduler.compat.clustered.ClusteredJobRunner.runJob(ClusteredJobRunner.java:54)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:401)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:396)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:349)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
at java.lang.Thread.run(Thread.java:745)
2016-05-04 12:29:19,975 Caesium-1-1 ERROR [c.a.p.hipchat.ping.DefaultConnectionStatusService] Returning NO_CONNECTION maybe a failure with the version of HipChat that it is being used
com.google.common.collect.ComputationException: java.lang.IllegalArgumentException: Path segment is null
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService$3.apply(DefaultConnectionStatusService.java:204)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService$3.apply(DefaultConnectionStatusService.java:167)
at com.atlassian.fugue.Option$Some.fold(Option.java:421)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.requestConnectionStatus(DefaultConnectionStatusService.java:160)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.getConnectionStatusInner(DefaultConnectionStatusService.java:152)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.getConnectionStatus(DefaultConnectionStatusService.java:246)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
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:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
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:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy2305.getConnectionStatus(Unknown Source)
at com.atlassian.jira.plugins.hipchat.service.ping.RefreshConnectionStatusJobHandler.execute(RefreshConnectionStatusJobHandler.java:22)
at com.atlassian.scheduler.compat.clustered.ClusteredJobRunner.runJob(ClusteredJobRunner.java:54)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:401)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:396)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:349)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Path segment is null
at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:547)
at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:542)
at com.sun.jersey.api.uri.UriBuilderImpl.path(UriBuilderImpl.java:267)
at javax.ws.rs.core.UriBuilder.fromPath(UriBuilder.java:112)
at com.atlassian.hipchat.api.DefaultHipChatRoutesProvider$1.generateToken(DefaultHipChatRoutesProvider.java:71)
at com.atlassian.hipchat.api.session.DefaultSessionService.generateClientCredentialsToken(DefaultSessionService.java:54)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$RefreshAddonToken.makeNewToken(DefaultHipChatTokenRefreshService.java:330)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$BaseRefreshTokenFuture.get(DefaultHipChatTokenRefreshService.java:167)
at com.atlassian.plugins.hipchat.token.DefaultHipChatTokenRefreshService$BaseRefreshTokenFuture.get(DefaultHipChatTokenRefreshService.java:155)
at com.atlassian.plugins.hipchat.token.SimpleHipChatTokenReference.get(SimpleHipChatTokenReference.java:28)
at com.atlassian.plugins.hipchat.token.SimpleHipChatTokenReference.get(SimpleHipChatTokenReference.java:14)
at com.atlassian.hipchat.api.DefaultHipChatRoutesProvider$1.getRoom(DefaultHipChatRoutesProvider.java:266)
at com.atlassian.hipchat.api.rooms.impl.DefaultRoomService.getRoom(DefaultRoomService.java:56)
at com.atlassian.plugins.hipchat.api.room.DefaultHipChatRoomsProvider.expandRoomsForIds(DefaultHipChatRoomsProvider.java:115)
at com.atlassian.plugins.hipchat.api.room.DefaultHipChatRoomsProvider.expandRoomsForIds(DefaultHipChatRoomsProvider.java:68)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
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:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
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:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy2162.expandRoomsForIds(Unknown Source)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.isOAuthWorking(DefaultConnectionStatusService.java:231)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService.access$100(DefaultConnectionStatusService.java:48)
at com.atlassian.plugins.hipchat.ping.DefaultConnectionStatusService$3.apply(DefaultConnectionStatusService.java:174)
... 40 more

2 answers

0 votes
Tim Watts November 8, 2019

Why can't I delete my own comment???????????????????????????? Guess this will have to do.

0 votes
koen_vandormael September 14, 2016

I have the same problem.

Suggest an answer

Log in or Sign up to answer