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

running gsh via api can have exception

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.47
    • None
    • None
    • None

    Description

      Result: FATAL: java.lang.IllegalArgumentException: Error when handling error: script lines not set in threadlocal!
      java.lang.IllegalArgumentException: Error when handling error: script lines not set in threadlocal!
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
              at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
              at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
              at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:71)
              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.tools.shell.Groovysh.run(Groovysh.groovy:607)
              at edu.internet2.middleware.grouper.app.gsh.GrouperGroovysh.runScript(GrouperGroovysh.java:318)
              at edu.internet2.middleware.grouper.app.gsh.GrouperGroovysh.runScript(GrouperGroovysh.java:258)
              at edu.internet2.middleware.grouper.util.GrouperUtil.gshRunScript(GrouperUtil.java:245)
              at edu.internet2.middleware.grouper.util.GrouperUtil.main(GrouperUtil.java:219)
      Normal took millis: 3806 

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: