Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5131

Project with persistable data objects added to persistence descriptor cannot be deployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.x
    • 7.x
    • Data Modeller
    • None

      Description of problem:
      See summary and steps to reproduce. The server log with stacktraces is attached.

      Version-Release number of selected component (if applicable):
      6.2 CR2

      Steps to Reproduce:
      1. Start a clean business central with example repository.
      2. In the example repo/project, create a new (not yet persistable) data object PDO.
      3. Open the persistence tab/panel and make the data object persistable, save the change.
      4. Open the poject editor, switch to persistence descriptor and verify, that the data object is NOT added yet.
      5. Build the project.
      6. Go back to the persistence descriptor and add the PDO data object, save and build the project.

      Actual results:
      The project builds fine in step 5. In step 6, user get 'Build failed' flyover notification. The actual result though is that the build succeeded and the deployment failed. The Messages show:
      "Deployment of unit org.kie.example:project1:1.0.1-SNAPSHOT failed: [Error: could not create constructor: null] [Near :

      {... new org.drools.persistence.jpa.mar ....}

      ] ^ [Line: 1, Column: 5]"

      There is much more in the server log.

      Expected results:
      The project builds and deploys fine.

            wmedvede@redhat.com Walter Medvedeo
            wmedvede@redhat.com Walter Medvedeo
            Zuzka Krejčová Zuzka Krejčová (Inactive)
            Jiří Locker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: