XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.8.3
    • None
    • AgileBoard

    Description

      Version name: "this is not a version"

      Stack trace:

      2011-11-07 16:52:30,110 http-8080-13 INFO admin 1012x1084x2 1mhke8u 172.20.9.85 /rest/greenhopper/1.0/release [greenhopper.service.version.ReleaseServiceImpl] creating versions in projects: [Project: ARA, Project: BULK, Project: XSS]
      2011-11-07 16:52:30,126 http-8080-13 ERROR admin 1012x1084x2 1mhke8u 172.20.9.85 /rest/greenhopper/1.0/release [greenhopper.service.version.ReleaseServiceImpl] org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Version][id,10040][project,10031
      ][description,URGHH][sequence,6][name,this is not a version][releasedate,2011-11-07 00:00:00.0] (SQL Exception while executing the following:INSERT INTO public.projectversion (ID, PROJECT, vname, DESCRIPTION, SEQUENCE, RELEASED, ARCHIVED, URL, RELEASEDATE) VALUES (?, ?,
      ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_projectversion"))
      com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Version][id,10040][project,10031][description,URGHH][sequence,6][name,this is not a version][releasedate,2011-11-07 00:00:00.0] (SQL Exception
      while executing the following:INSERT INTO public.projectversion (ID, PROJECT, vname, DESCRIPTION, SEQUENCE, RELEASED, ARCHIVED, URL, RELEASEDATE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_projectversion"))
      at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:365)
      at com.atlassian.jira.project.version.OfBizVersionStore.createVersion(OfBizVersionStore.java:35)
      at com.atlassian.jira.project.version.CachingVersionStore.createVersion(CachingVersionStore.java:79)
      at com.atlassian.jira.project.version.DefaultVersionManager.createVersion(DefaultVersionManager.java:118)
      at com.atlassian.jira.bc.project.version.DefaultVersionService.createVersion(DefaultVersionService.java:528)
      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.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      at $Proxy185.createVersion(Unknown Source)
      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.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      at $Proxy185.createVersion(Unknown Source)
      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.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      at $Proxy185.createVersion(Unknown Source)
      at com.atlassian.greenhopper.service.version.VersionServiceImpl.createVersions(VersionServiceImpl.java:79)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              khatherly@atlassian.com kara
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: