Skip to Content.
Sympa Menu

grouper-users - [grouper-users] upgrade from grouper api version 2.2.0 to grouper api version 2.30 getting error in PSP

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] upgrade from grouper api version 2.2.0 to grouper api version 2.30 getting error in PSP


Chronological Thread 
  • From: Siju Jacob <>
  • To: " Mailing List" <>
  • Cc: Omer Almatary <>, Nazeer Syed <>
  • Subject: [grouper-users] upgrade from grouper api version 2.2.0 to grouper api version 2.30 getting error in PSP
  • Date: Fri, 9 Feb 2018 21:43:04 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:mJf9QRQVU2gsTd/z2uEH/b+l4Npsv+yvbD5Q0YIujvd0So/mwa67ZBWDt8tkgFKBZ4jH8fUM07OQ7/i5HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9vIBmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hbronyu1QBoACkCgWwGO/i0CNEimP00KA8zu8vERvG3AslH98WrXrUrdf1NLoPWu6x1qbH0TLDYOhL0jr684jIcBIsre2SUb9rdsrRyFUvGxnfjlWNtYzlMC2a1v4Ws2SB8eVvSP+vhnchpgpsrDavwcIshZPIhoIT0l3E+j95wIEoJd2gVkF7e8SoH4FItyGCL4d2XsMiQ3t2tykg17IKo4S7fDUMyJg/xR7fbOeIc5KV4hLlT+aRISl3hHZheL6lnRay7E6gx+vhXce3yFZHtjRJncPQunwQ0hHf99WLRuZ480ev1juDyxzf5+RKIU8qmqfXNZssz7sym5YOv0TPBjL6lFv1gaOMd0go4Oal5ub9brn7uJORN4l5gRzkPKs0gMywG+E4PxAOX2eF/eS806Xu81XlTbtNkvE6j7DVvY3YKsgFv6K5BBRa3Zg55xa4EjemzM8XnX4aLFJDZR2LlZDpO0vJIPDkE/iwn0iskDZsx/DAJLHhBYjNLmTHkLfmerZ96FRQxxY0zdBa/55UC7cBL+zvWkLpqtDXFAM1PxGxzur6Fdlxy4YTWWyAD6OFLK/ftFGI6fwgLuWSYYIYvTTwJ+Ur5/L2iH82g14dfa2n3ZsNb3C4G+xrI16bYXfuntsND3wHvg0/TOz2klGCSyNTZ2q9X60i/DE7E5iqApneSYCwmLCBxju0HoVKZmBaDVCBCXjod5+DW/cRcCKdPNVhniUZVbi6VYAhzwquuRT+y7pmNerU5jYYuYz52Nh04e3TiQ899SZyD8uDz2GBUXt4kX0VSD8rj+hDphk3xU2EzLB1mblFDtFJ/NtIVBs3L5jR07Y8BtzvEifIf9OITlnuZtS9HXt5Gt0rxMIWblw4Bs6vlAvr3iy2DqUTmqDRQpE47/SP8WL2IpNGynTbnIsohF4sCp9UNzL+3IZ49hSVHZPVnEiDjOCneblKj32Fz3uK0Wfb5BIQawV3S6iQGClHPkY=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi,

   We at Rutgers is trying to upgrade from gouper 2.2.0 to 2.3.0.

After upgrade we are getting the following error while trying to run psp to provision to active directory.

<psp:schemaEntity targetID='ldap' entityName='stem'/>

</psp:calcRequest>

 

2018-02-09 16:35:14,567: [Thread-17] ERROR ScriptedAttributeDefinition.doResolve(135) -  - ScriptletAttributeDefinition stemObjectclass unable to execute script

javax.script.ScriptException: ReferenceError: "importPackage" is not defined in <eval> at line number 2

      at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)

      at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:423)

      at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)

      at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ScriptedAttributeDefinition.doResolve(ScriptedAttributeDefinition.java:122)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.BaseAttributeDefinition.resolve(BaseAttributeDefinition.java:108)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.BaseAttributeDefinition.resolve(BaseAttributeDefinition.java:39)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ContextualAttributeDefinition.resolve(ContextualAttributeDefinition.java:93)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ContextualAttributeDefinition.resolve(ContextualAttributeDefinition.java:33)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttribute(ShibbolethAttributeResolver.java:335)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:284)

      at edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:131)

      at edu.internet2.middleware.psp.shibboleth.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:96)

      at edu.internet2.middleware.psp.shibboleth.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:39)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1088)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1007)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1238)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1190)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1501)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:1455)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:882)

      at edu.internet2.middleware.psp.Psp.execute(Psp.java:803)

      at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.fullSync(PspChangeLogConsumer.java:335)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:497)

      at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4163)

      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4114)

      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4298)

      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$11$1.run(GrouperLoaderType.java:1287)

      at java.lang.Thread.run(Thread.java:745)

Caused by: <eval>:2 ReferenceError: "importPackage" is not defined

      at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)

      at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319)

      at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291)

      at jdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1432)

      at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:2)

      at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:640)

      at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:228)

      at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)

      at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)

           ... 30 more

 

2018-02-09 16:35:13,534: [DefaultQuartzScheduler_Worker-4] DEBUG ChangeLogHelper.processRecords(314) -  - consumerName: psp, last sequence processed: 6607623, 0: number of records found to process: 1000, 0: processed to record number: 6607623, 0: allThroughBatch: Did not get all the way through the batch! 6607623 != 6608623, totalRecordsProcessed: 0

2018-02-09 16:35:13,534: [DefaultQuartzScheduler_Worker-4] ERROR GrouperLoaderJob.runJob(485) -  - Error on job: CHANGE_LOG_consumer_psp

java.lang.RuntimeException: Error in loader job: null, check logs: Did not get all the way through the batch! 6607623 != 6608623

      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:474)

      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)

      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

2018-02-09 16:35:13,542: [DefaultQuartzScheduler_Worker-4] ERROR GrouperLoaderJob.execute(348) -  - Error running up job

java.lang.RuntimeException: Error in loader job: null, check logs: Did not get all the way through the batch! 6607623 != 6608623

      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:474)

      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)

      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 

Any advice or guidance would be greatly appreciated..!

 

Thanks,

Siju



  • [grouper-users] upgrade from grouper api version 2.2.0 to grouper api version 2.30 getting error in PSP, Siju Jacob, 02/09/2018

Archive powered by MHonArc 2.6.19.

Top of Page