java.lang.RuntimeException: JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124)

Atlassian JIRA | Brian Nguyen (HipChat) | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    A user reported the following error when importing. Even though it has been fixed this is just for reference. ----------------------- When upgrading for 3.1 to 3.4.1, when Jira is upgrading my data (after import) I get this error: java.lang.RuntimeException: JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSucess(UpgradeManagerImpl.java:671) at com.atlassian.jira.upgrade.UpgradeManagerImpl.runUpgradeTasks(UpgradeManagerImpl.java:567) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:393) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:341) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:301) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:65) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:680) at org.apache.catalina.startup.Catalina.start(Catalina.java:536) 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Looking at the database, there are indeed four rows that are orphans. Deleting the rows fixed the problem.

    Atlassian JIRA | 1 decade ago | Brian Nguyen (HipChat)
    java.lang.RuntimeException: JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124)
  2. 0

    A user reported the following error when importing. Even though it has been fixed this is just for reference. ----------------------- When upgrading for 3.1 to 3.4.1, when Jira is upgrading my data (after import) I get this error: java.lang.RuntimeException: JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSucess(UpgradeManagerImpl.java:671) at com.atlassian.jira.upgrade.UpgradeManagerImpl.runUpgradeTasks(UpgradeManagerImpl.java:567) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:393) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:341) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:301) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:65) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:680) at org.apache.catalina.startup.Catalina.start(Catalina.java:536) 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Looking at the database, there are indeed four rows that are orphans. Deleting the rows fixed the problem.

    Atlassian JIRA | 1 decade ago | Brian Nguyen (HipChat)
    java.lang.RuntimeException: JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124)

    Root Cause Analysis

    1. java.lang.RuntimeException

      JIRA appears to contain a fieldlayoutschemeassociation record referring to a nonexistent project. at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.createFieldLayoutScheme(UpgradeTask_Build82.java:138) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build82.doUpgrade(UpgradeTask_Build82.java:124)

      at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSucess()
    2. com.atlassian.jira
      UpgradeLauncher.contextInitialized
      1. com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSucess(UpgradeManagerImpl.java:671)
      2. com.atlassian.jira.upgrade.UpgradeManagerImpl.runUpgradeTasks(UpgradeManagerImpl.java:567)
      3. com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:393)
      4. com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:341)
      5. com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:301)
      6. com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:65)
      6 frames
    3. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
      7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:450)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:536)
      18 frames
    4. 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:585)
      4 frames
    5. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames