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

No signature of method: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType.getTargetName() is applicable for argument types: () values: [] in report script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Reporting
    • Labels:
    • Subscription:
      Active subscription
    • Git Revision:
      git-v4.0devel-1083-g9033ad8a7f
    • Milestone:
      M4

      Description

      When I tried to do reconciliation ( default ) report of disputed or unmatched users based on Active Directory resource, I got the error :

      2019-05-20 14:45:23,636 [] [midPointScheduler_Worker-7] 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.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:212)
       at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:59)
       at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:90)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pkacmarik Peter Kacmarik
              Reporter:
              pkacmarik Peter Kacmarik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: