Unable to create this part due to an internal error. Reason for the failure: Error parsing Query:C:\
search cancel

Unable to create this part due to an internal error. Reason for the failure: Error parsing Query:C:\

book

Article ID: 89151

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Unable to create this part due to an internal error. Reason for the failure: Error parsing Query:C:\

Environment

Release: AOATAM99000-8.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Detailed Description and Symptoms

When running the Reporting Tool GUI and attempting to open a query with a '#' (pound or hash) character in the name, the following error message is thrown:

"Unable to create this part due to an internal error. Reason for the failure: Error parsing Query:C:\uc4\Utility\bin\queries\test query  (The system cannot find the file specified)"

 

 


Investigation
Check to see if the file exists

Check to see if the file has a '#' (pound or hash) character in it

Solution

If the file did not exist:

This is caused by the file being renamed.  Close the Reporting Tool and re-open it.  The name for the query should have been changed to the correct file name.


If the file did exist, but had a '#' (pound or hash) character in it:

This error message is caused by a bug with Java 1.5 not recognizing file names with a '#' character in them.  You will either need to remove the '#' character in the file name, or change your Java to Java 1.6 or higher.  This can be done by putting the higher version of Java as the first path in your %PATH% (pointing to java's /bin/ directory).  Your OS admin should have more information regarding this.