Error System.ArgumentException: The path is not of a legal form.
search cancel

Error System.ArgumentException: The path is not of a legal form.

book

Article ID: 262038

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After upgrading to Applications Manager version 9.4.4, Windows Agent SQL Jobs may Abort with the following error:

Error  System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at ntspawn_v4.NTParser.hasFullPath(String token)
   at ntspawn_v4.NTParser.IsFileNameFinished(String token)
   at ntspawn_v4.NTParser.Parse(String line)
   at ntspawn_v4.Program.ParseArgs(String[] args)
   at ntspawn_v4.Program.Run(String[] args)
Error  System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at ntspawn_v4.NTParser.hasFullPath(String token)
   at ntspawn_v4.NTParser.IsFileNameFinished(String token)
   at ntspawn_v4.NTParser.Parse(String line)
   at ntspawn_v4.Program.ParseArgs(String[] args)
   at ntspawn_v4.Program.Run(String[] args)
ntspawn exiting with exitCode 0

 

 

Environment

Release : 9.4.3

CA Automic Applications Manager

Cause

This is caused by ntspawn.exe located in the %AW_HOME%\c directory and is a known defect.

Resolution

Fixed in Version 9.5.1.

Please upgrade to version 9.5.1 / Use the ntspwan.exe from version 9.5.1.

Attachments

1678906346063__ntspawn.930 get_app