Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1289

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 6.2.0
    • Data Modeler

      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.

        1. server.log.log
          191 kB
        2. serverLog
          10 kB

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

              Created:
              Updated:
              Resolved: