java.io.IOException: The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]'

Atlassian JIRA | Brenden Bain [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When I do an upgrade from JIRA 4.2.x (non-ual) to 4.x (ual) for fisheye config that uses anonymous access, I get the following style of exceptions: {noformat} 2011-02-03 14:39:24,806 main ERROR [com.atlassian.jirafisheyeplugin.FishEyeManagerImpl] Error retrieving repositories for 'http://localhost:8060/' java.io.IOException: The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]' at com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:128) at com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:118) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:126) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:268) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.refresh(FishEyeManagerImpl.java:287) at com.atlassian.jirafisheyeplugin.config.RefreshManager.refreshAll(RefreshManager.java:86) at com.atlassian.jirafisheyeplugin.config.RefreshManager.onStart(RefreshManager.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:305) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) {noformat} It does not appear to cause any user visible problems (all the applinks are created and the changesets/reviews are there) its just some huge exceptions in the logs.

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.io.IOException: The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]'
  2. 0

    When I do an upgrade from JIRA 4.2.x (non-ual) to 4.x (ual) for fisheye config that uses anonymous access, I get the following style of exceptions: {noformat} 2011-02-03 14:39:24,806 main ERROR [com.atlassian.jirafisheyeplugin.FishEyeManagerImpl] Error retrieving repositories for 'http://localhost:8060/' java.io.IOException: The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]' at com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:128) at com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:118) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:126) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:268) at com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.refresh(FishEyeManagerImpl.java:287) at com.atlassian.jirafisheyeplugin.config.RefreshManager.refreshAll(RefreshManager.java:86) at com.atlassian.jirafisheyeplugin.config.RefreshManager.onStart(RefreshManager.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:305) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) {noformat} It does not appear to cause any user visible problems (all the applinks are created and the changesets/reviews are there) its just some huge exceptions in the logs.

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.io.IOException: The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]'

    Root Cause Analysis

    1. java.io.IOException

      The application link with id 'null' was not found for instance 'FishEyeInstanceImpl[id=0,name=0,isCru=true,isCruStandalone=false,url=http://localhost:8060/,apiUrl=http://localhost:8060/,charset=<null>,username=<null>,basicHttpAuthUsername=<null>,basicHttpAuthPassword=<null>,socketTimeout=-1,connectionTimeout=-1,applicationId=<null>,hasBeenInitialised=true]'

      at com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye()
    2. com.atlassian.jirafisheyeplugin
      RefreshManager.onStart
      1. com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:128)
      2. com.atlassian.jirafisheyeplugin.rest.fisheye.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:118)
      3. com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:126)
      4. com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:268)
      5. com.atlassian.jirafisheyeplugin.FishEyeManagerImpl.refresh(FishEyeManagerImpl.java:287)
      6. com.atlassian.jirafisheyeplugin.config.RefreshManager.refreshAll(RefreshManager.java:86)
      7. com.atlassian.jirafisheyeplugin.config.RefreshManager.onStart(RefreshManager.java:105)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      5. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      6. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      6 frames
    5. com.atlassian.multitenant
      PeeringEventPublisher.publish
      1. com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17)
      2. com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23)
      2 frames
    6. com.atlassian.plugin
      DefaultPluginEventManager.broadcast
      1. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)
      1 frame
    7. com.atlassian.jira
      LauncherContextListener$1.create
      1. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:305)
      2. com.atlassian.jira.ComponentManager.start(ComponentManager.java:237)
      3. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61)
      4. com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39)
      5. com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36)
      6. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50)
      7. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45)
      7 frames
    8. com.atlassian.multitenant
      DefaultMultiTenantManager.startTenant
      1. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)
      2. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)
      3. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)
      4. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)
      5. com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)
      6. com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)
      6 frames