Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1629

XML export issue with groovy

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1, 2.3.0.patch
    • None
    • None

    Description

      groovy.lang.MissingMethodException: No signature of method: java.util.Date.plus() is applicable for argument types: (String) values: [ Done with folders, objects: ]

      Possible solutions: plus(int), parse(java.lang.String), minus(int), parse(java.lang.String, java.lang.String), split(groovy.lang.Closure), minus(java.util.Date)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)

      at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

      at groovysh_evaluate.run(groovysh_evaluate:3)

      at groovysh_evaluate$run.call(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at groovysh_evaluate$run.call(Unknown Source)

      at org.codehaus.groovy.tools.shell.Interpreter.evaluate(Interpreter.groovy:78)

      at org.codehaus.groovy.tools.shell.Evaluator$evaluate.call(Unknown Source)

      at org.codehaus.groovy.tools.shell.Groovysh.evaluateWithStoredBoundVars(Groovysh.groovy:258)

      at sun.reflect.GeneratedMethodAccessor244.invoke(Unknown Source)

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

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

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)

      at org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:199)

      at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122)

      at org.codehaus.groovy.tools.shell.Shell$leftShift$0.call(Unknown Source)

      at GSHFileLoad$_load_closure1.doCall(groovysh_evaluate:37)

      at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)

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

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

      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)

      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1033)

      at groovy.lang.Closure.call(Closure.java:415)

      at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForLine(DefaultGroovyMethods.java:5512)

      at org.codehaus.groovy.runtime.IOGroovyMethods.eachLine(IOGroovyMethods.java:463)

      at org.codehaus.groovy.runtime.IOGroovyMethods.eachLine(IOGroovyMethods.java:416)

      at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachLine(ResourceGroovyMethods.java:327)

      at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachLine(ResourceGroovyMethods.java:311)

      at org.codehaus.groovy.runtime.dgm$973.invoke(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)

      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

      at GSHFileLoad.load(groovysh_evaluate:28)

      at GSHFileLoad$load.callCurrent(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)

      at GSHFileLoad.execute(groovysh_evaluate:20)

      at org.codehaus.groovy.tools.shell.Command$execute.call(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.tools.shell.Command$execute.call(Unknown Source)

      at org.codehaus.groovy.tools.shell.Shell.execute(Shell.groovy:104)

      at org.codehaus.groovy.tools.shell.Groovysh.super$2$execute(Groovysh.groovy)

      at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source)

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

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

      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1224)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)

      at org.codehaus.groovy.tools.shell.Groovysh.executeCommand(Groovysh.groovy:271)

      at org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:164)

      at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122)

      at org.codehaus.groovy.tools.shell.Shell$leftShift$0.call(Unknown Source)

      at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95)

      at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy)

      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:498)

      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1224)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)

      at org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:134)

      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:498)

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:158)

      at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59)

      at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy)

      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:498)

      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1224)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)

      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)

      at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:93)

      at java_lang_Runnable$run.call(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)

      at org.codehaus.groovy.tools.shell.Groovysh.run(Groovysh.groovy:607)

      at org.codehaus.groovy.tools.shell.Groovysh$run$0.callCurrent(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)

      at org.codehaus.groovy.tools.shell.Groovysh.run(Groovysh.groovy:572)

      at org.codehaus.groovy.tools.shell.Groovysh$run.call(Unknown Source)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)

      at org.codehaus.groovy.tools.shell.Main.startGroovysh(Main.groovy:198)

      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:498)

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)

      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71)

      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)

      at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:164)

      at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:288)

      at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:167)

      at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)

      Attachments

        Activity

          People

            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist