Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-5861

Audit report shows ObjectNotFound ERROR in log for deleted resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.6
    • Component/s: None
    • Labels:
    • Subscription:
      Internal
    • Backport Version:

      Description

      I have previously created and then deleted resource from midPoint.

      Running audit log (default) will show the following error in midpoint.log:

      2019-10-18 09:33:45,277 [PROVISIONING] [midPointScheduler_Worker-4] ERROR (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Resource object not found
      com.evolveum.midpoint.util.exception.ObjectNotFoundException: Object 'ResourceType' with oid '7ccad7b8-8cf8-4a9a-9eef-10c289376b2d' was not found.
              at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.getVersionAttempt(ObjectRetriever.java:844)
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.getVersion(SqlRepositoryServiceImpl.java:850)
              at com.evolveum.midpoint.repo.cache.RepositoryCache.getVersion(RepositoryCache.java:1534)
              at com.evolveum.midpoint.provisioning.impl.ResourceManager.getResource(ResourceManager.java:136)
              at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.getObject(ProvisioningServiceImpl.java:201)
              at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:140)
              at com.evolveum.midpoint.model.impl.ModelObjectResolver.resolve(ModelObjectResolver.java:89)
              at com.evolveum.midpoint.repo.common.expression.ExpressionUtil.resolveReference(ExpressionUtil.java:584)
              at com.evolveum.midpoint.repo.common.expression.ExpressionUtil.convertVariableValue(ExpressionUtil.java:459)
              at com.evolveum.midpoint.model.common.expression.script.AbstractScriptEvaluator.prepareScriptVariablesValueMap(AbstractScriptEvaluator.java:110)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:199)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:50)
              at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:76)
              at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:187)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluateReportScript(ReportServiceImpl.java:411)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluate(ReportServiceImpl.java:270)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluateExpression(JRMidpointEvaluator.java:185)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluate(JRMidpointEvaluator.java:121)
              at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:671)
              at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:639)
              at net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:1164)
              at net.sf.jasperreports.engine.fill.JRFillElement.evaluatePrintWhenExpression(JRFillElement.java:806)
              at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:504)
              at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:383)
              at net.sf.jasperreports.engine.fill.JRFillFrame.evaluate(JRFillFrame.java:159)
              at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:383)
              at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:533)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2534)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:791)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:272)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:103)
              at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:609)
              at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:182)
              at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:474)
              at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:875)
      ...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              honchar Kate Honchar
              Reporter:
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: