Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1742

Powershell interface raises COM-80020009 exception when JobScheduler Master does not set the scheduler.variable_name_prefix parameter

    XMLWordPrintable

Details

    Description

      Current Situation
      if JobScheduler has a configuration without configured scheduler.variable_name_prefix param in the scheduler.xml
      the following exception occurs for powershell in the shell mode:

      COM-80020009 System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.ArgumentException: Die Zeichenfolge kann keine Länge von 0 (null) haben.
      Parametername: variable
         bei System.Environment.CheckEnvironmentVariableName(String variable)
         bei System.Environment.SetEnvironmentVariable(String variable, String value)
         bei sos.spooler.SpoolerParams.SetEnvVar(String name, String value)
         bei sos.spooler.SpoolerParams.SetEnvVars()
         bei sos.spooler.PowershellAdapter.spooler_process()
         --- Ende der internen Ausnahmestapelüberwachung ---
         bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         bei System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
         bei System.Reflection.__MethodBase.Invoke19(IntPtr __envp, JniLocalHandle __obj, JniLocalHandle obj, JniLocalHandle parameters), method=call
      

      Desired Behaivior
      Powershell interface with the not configured scheduler.variable_name_prefix_ param should work without error

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: