Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22615

Fix Automation Trace NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.10-HF27, 8.10-HF09, 9.2
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Automation

      Description

      When evaluating Automation scripts or MVEL expressions, the Automation trace system doesn't guaranteeing of having the stack traces of the issue:

      • org.nuxeo.ecm.automation.core.trace.BasedTracer#getFormattedText is returning null
      • The real error is masked by this NPE

      Investigation should be executed to find the real reason of lack of traces, but as a quick workaround, we could say that org.nuxeo.ecm.automation.core.trace.BasedTracer#printable would be false if org.nuxeo.ecm.automation.core.trace.BasedTracer#trace is null.

      This fix should be backported.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: