Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10071

When running unit tests in a standard source release there are tons of repetative exceptions thrown

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Every unit test that is run with standard starts with this exception:

      [junit] 2006-05-04 08:34:14,262 FATAL [jira.config.component.LicenseComponentAdaptor] Error occurred while locating 'com.atlassian.jira.workflow.OSWorkflowManager'. Professional features will not be available.
      [junit] java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager
      [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      [junit] at java.security.AccessController.doPrivileged(Native Method)
      [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      [junit] at com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:67)
      [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.loadComponent(LicenseComponentAdaptor.java:122)
      [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.getComponentInstance(LicenseComponentAdaptor.java:105)
      [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:222)
      [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:198)

      It looks bad, but it is the correct behavior, perhaps we should not show the stacktrace.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dylan@atlassian.com Dylan Etkin [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified