Details

    • Type: Task Task
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: Engine
    • Labels:
      None
    • Number of attachments :
      0

      Description

      org.apache.ibatis.exceptions.PersistenceException:

          1. Error updating database. Cause: java.lang.IllegalArgumentException:
            Mapped Statements collection does not contain value for insertCycleLink
          2. The error may exist in
            org/activiti/db/cycle/ibatis/virtualRepositoryFolder.mapping.xml
          3. Cause: java.lang.IllegalArgumentException: Mapped Statements collection
            does not contain value for insertCycleLink

      might have been caused by my earlier refactorings

        Activity

        Hide
        Tom Baeyens added a comment -

        Bernd,

        I changed the location of the main ibatis configuration file that points to all the mapping files. It's now here:
        /activiti-engine/src/main/resources/org/activiti/db/mapping/mappings.xml

        And also the mapping files themselves have been refactored. The contents of the default mappings.xml is now:
        <configuration>
        <settings>
        <setting name="lazyLoadingEnabled" value="false" />
        </settings>
        <mappers>
        <mapper resource="org/activiti/db/mapping/entity/Attachment.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Comment.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Deployment.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Execution.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Group.xml" />
        <mapper resource="org/activiti/db/mapping/entity/HistoricActivityInstance.xml" />
        <mapper resource="org/activiti/db/mapping/entity/HistoricDetail.xml" />
        <mapper resource="org/activiti/db/mapping/entity/HistoricProcessInstance.xml" />
        <mapper resource="org/activiti/db/mapping/entity/HistoricTaskInstance.xml" />
        <mapper resource="org/activiti/db/mapping/entity/IdentityInfo.xml" />
        <mapper resource="org/activiti/db/mapping/entity/IdentityLink.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Job.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Membership.xml" />
        <mapper resource="org/activiti/db/mapping/entity/ProcessDefinition.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Property.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Resource.xml" />
        <mapper resource="org/activiti/db/mapping/entity/TableData.xml" />
        <mapper resource="org/activiti/db/mapping/entity/Task.xml" />
        <mapper resource="org/activiti/db/mapping/entity/User.xml" />
        <mapper resource="org/activiti/db/mapping/entity/VariableInstance.xml" />
        </mappers>
        </configuration>

        Can that have anything to do with the problem?

        Show
        Tom Baeyens added a comment - Bernd, I changed the location of the main ibatis configuration file that points to all the mapping files. It's now here: /activiti-engine/src/main/resources/org/activiti/db/mapping/mappings.xml And also the mapping files themselves have been refactored. The contents of the default mappings.xml is now: <configuration> <settings> <setting name="lazyLoadingEnabled" value="false" /> </settings> <mappers> <mapper resource="org/activiti/db/mapping/entity/Attachment.xml" /> <mapper resource="org/activiti/db/mapping/entity/Comment.xml" /> <mapper resource="org/activiti/db/mapping/entity/Deployment.xml" /> <mapper resource="org/activiti/db/mapping/entity/Execution.xml" /> <mapper resource="org/activiti/db/mapping/entity/Group.xml" /> <mapper resource="org/activiti/db/mapping/entity/HistoricActivityInstance.xml" /> <mapper resource="org/activiti/db/mapping/entity/HistoricDetail.xml" /> <mapper resource="org/activiti/db/mapping/entity/HistoricProcessInstance.xml" /> <mapper resource="org/activiti/db/mapping/entity/HistoricTaskInstance.xml" /> <mapper resource="org/activiti/db/mapping/entity/IdentityInfo.xml" /> <mapper resource="org/activiti/db/mapping/entity/IdentityLink.xml" /> <mapper resource="org/activiti/db/mapping/entity/Job.xml" /> <mapper resource="org/activiti/db/mapping/entity/Membership.xml" /> <mapper resource="org/activiti/db/mapping/entity/ProcessDefinition.xml" /> <mapper resource="org/activiti/db/mapping/entity/Property.xml" /> <mapper resource="org/activiti/db/mapping/entity/Resource.xml" /> <mapper resource="org/activiti/db/mapping/entity/TableData.xml" /> <mapper resource="org/activiti/db/mapping/entity/Task.xml" /> <mapper resource="org/activiti/db/mapping/entity/User.xml" /> <mapper resource="org/activiti/db/mapping/entity/VariableInstance.xml" /> </mappers> </configuration> Can that have anything to do with the problem?
        Hide
        Tom Baeyens added a comment -

        Bernd can you have a look if these pointers help you further?
        If not post your findings and i'll have a deeper look.

        Show
        Tom Baeyens added a comment - Bernd can you have a look if these pointers help you further? If not post your findings and i'll have a deeper look.
        Hide
        Daniel Meyer (camunda) added a comment -

        I just committed a fix. I will wait whether this also fixes the QA before I resolve the issue.

        Show
        Daniel Meyer (camunda) added a comment - I just committed a fix. I will wait whether this also fixes the QA before I resolve the issue.
        Hide
        Daniel Meyer (camunda) added a comment -

        I feel comfortable resolving the issue. The remaining failing tests are in activiti-engine.

        Show
        Daniel Meyer (camunda) added a comment - I feel comfortable resolving the issue. The remaining failing tests are in activiti-engine.

          People

          • Assignee:
            Daniel Meyer (camunda)
            Reporter:
            Tom Baeyens
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: