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

Reports: reconciliation report does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.0
    • None
    • None
    • MID-102 training

    • M4

    Description

      Running recon report with CSV resource (from training):

      2019-04-17 12:05:13,830 [] [midPointScheduler_Worker-3] ERROR (com.evolveum.midpoint.model.common.expression.script.ScriptExpression): Expression error: No signature of method: com.evolveum.
      midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script
      com.evolveum.midpoint.util.exception.ExpressionEvaluationException: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script
              at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:98)
              at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:170)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluateReportScript(ReportServiceImpl.java:384)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluate(ReportServiceImpl.java:259)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluateExpression(JRMidpointEvaluator.java:193)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluate(JRMidpointEvaluator.java:129)
              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.JRFillTextField.evaluateText(JRFillTextField.java:526)
              at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:510)
              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.fillReportStart(JRVerticalFiller.java:252)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:99)
              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)
              at com.evolveum.midpoint.report.impl.ReportJasperCreateTaskHandler.run(ReportJasperCreateTaskHandler.java:241)
              at com.evolveum.midpoint.task.quartzimpl.execution.HandlerExecutor.executePlainTaskHandler(HandlerExecutor.java:72)
              at com.evolveum.midpoint.task.quartzimpl.execution.HandlerExecutor.executeHandler(HandlerExecutor.java:64)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler(JobExecutor.java:663)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeSingleTask(JobExecutor.java:481)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExecutor.java:198)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:588)
      Caused by: groovy.lang.MissingMethodException: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: []
              at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
              at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
              at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
              at report_script.run(report script:1)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:211)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:58)
              at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:90)
              ... 30 common frames omitted
      2019-04-17 12:05:13,840 [] [midPointScheduler_Worker-3] ERROR (com.evolveum.midpoint.report.impl.ReportJasperCreateTaskHandler): CreateReport: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script
      net.sf.jasperreports.engine.JRRuntimeException: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluateExpression(JRMidpointEvaluator.java:200)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluate(JRMidpointEvaluator.java:129)
              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.JRFillTextField.evaluateText(JRFillTextField.java:526)
              at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:510)
              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.fillReportStart(JRVerticalFiller.java:252)
              at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:99)
              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)
              at com.evolveum.midpoint.report.impl.ReportJasperCreateTaskHandler.run(ReportJasperCreateTaskHandler.java:241)
              at com.evolveum.midpoint.task.quartzimpl.execution.HandlerExecutor.executePlainTaskHandler(HandlerExecutor.java:72)
              at com.evolveum.midpoint.task.quartzimpl.execution.HandlerExecutor.executeHandler(HandlerExecutor.java:64)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler(JobExecutor.java:663)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeSingleTask(JobExecutor.java:481)
              at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExecutor.java:198)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:588)
      Caused by: com.evolveum.midpoint.util.exception.ExpressionEvaluationException: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script
              at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:98)
              at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:170)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluateReportScript(ReportServiceImpl.java:384)
              at com.evolveum.midpoint.report.impl.ReportServiceImpl.evaluate(ReportServiceImpl.java:259)
              at com.evolveum.midpoint.report.impl.JRMidpointEvaluator.evaluateExpression(JRMidpointEvaluator.java:193)
              ... 26 common frames omitted
      Caused by: groovy.lang.MissingMethodException: No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: []
              at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
              at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
              at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
              at report_script.run(report script:1)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:211)
              at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:58)
              at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:90)
              ... 30 common frames omitted
      2019-04-17 12:06:06,421 [] [midPointScheduler_Worker-6] ERROR (com.evolveum.midpoint.model.impl.ModelObjectResolver): Error resolving object with oid 10000000-9999-9999-0000-a000ff000001, expected type was class com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType..
      

      Attachments

        Issue Links

          Activity

            People

              vix Ivan Noris
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: