Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokenizer Log shows parsing error but still task still completes successfully #108

Open
charlieswing opened this issue Jan 30, 2020 · 0 comments

Comments

@charlieswing
Copy link

I am running the Tokenizer task in my Azure DevOps Release Pipeline. The task shows as completing successfully but when I open the log it shows a parsing error due to an Exception and no tokenization ever occurs. Why doesn't this Fail the task, as I would want it to? I would think that this should cause the Tokenizer task to fail, particularly because I have the "Continue on Error" setting turned off. Below is the log of the task. Any help/info would be appreciated.

2020-01-13T17:05:17.1063038Z ============================================================================== 2020-01-13T17:05:17.1063109Z Task : Tokenize with XPath/Regular expressions 2020-01-13T17:05:17.1063173Z Description : Replaces __<variable>__ and/or XPath for XML documents with User Defined variables or configuration json document 2020-01-13T17:05:17.1063398Z Version : 2.1.0 2020-01-13T17:05:17.1063455Z Author : ms-devlabs 2020-01-13T17:05:17.1063494Z Help : [More Information](https://github.com/openalm/Extension-UtilitiesPack) 2020-01-13T17:05:17.1063536Z ============================================================================== 2020-01-13T17:05:20.3573310Z Environment: UAT WebService 01 2020-01-13T17:05:20.8434012Z Error parsing configuration file. Exception message: 2020-01-13T17:05:20.8476557Z System.ArgumentException: Invalid JSON primitive: . 2020-01-13T17:05:20.8476948Z at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() 2020-01-13T17:05:20.8477181Z at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) 2020-01-13T17:05:20.8477474Z at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) 2020-01-13T17:05:20.8477685Z at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) 2020-01-13T17:05:20.8477899Z at Microsoft.PowerShell.Commands.JsonObject.ConvertFromJson(String input, ErrorRecord& error) 2020-01-13T17:05:20.8478063Z at Microsoft.PowerShell.Commands.ConvertFromJsonCommand.ConvertFromJsonHelper(String input) 2020-01-13T17:05:20.8478247Z at System.Management.Automation.CommandProcessorBase.Complete() 2020-01-13T17:05:21.1004092Z ##[section]Finishing: Tokenize ALWebService_IIS1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant