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

Changing Log statement to be less ambiguous

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.73.0.Final
    • KieServer
    • None

      Currently below ERROR statement is logged by "persist" method of "JpaProcessPersistenceContext" for any persistence exception.

      ~~~

      Caused by: java.lang.RuntimeException: CorrelationKey [name=xxxx:ABC:5741e-25e5-433c-908f-a97e9de9e1c4, properties=[CorrelationPropertyInfo [name=null, value=11111], CorrelationPropertyInfo [name=null, value=ABC], CorrelationPropertyInfo [name=null, value=5741e-25e5-433c-908f-a97e9de9e1c4]]] already exists

      ~~~

      This statement is mis-directing as many users looks for duplicate CorrelationKey.

       

      A more generic log statement would be less confusing for the users.

       

       

       

              rhn-support-sudnair Sudhish Nair
              rhn-support-sudnair Sudhish Nair
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: