Error checking type of the expression 'funcall(max, [AbsoluteLocationPath - xslt-2.0

I have an issue while i am trying to execute the XSLT program.Need your help to know why this exception issue is occurring.
Transformer Configuration Exception occurred when loading XSLT CreateTicket_new.xsl; details: Error checking type of the expression 'funcall(max, [AbsoluteLocationPath(ParentLocationPath(ParentLocationPath(ParentLocationPath(ParentLocationPath(ParentLocationPath(step("child", 19), step("child", 1, pred(!=(funcall(name, []), literal-expr(header))))), step("child", 41)), step("child", 37)), step("child", 42)), step("child", 3)))])'. See error logs for details
I am using XSLT 2.0 Version.
I am using from SAP PO tool.

Related

TFS2013 Fails to Deserialize Parameters containing "$/"

I'm using the TFS 2013 XAML Build Process Template and have some parameters that contain TFS paths (i.e. start with $/) and the build immediately fails when deserializing the parameters.
The only workaround I have is to use $\/ but this gets pushed through as it is literally, breaking things that expect $/. Is there any way I can escape the strings properly?
e.g.
Post-build script arguments: -Path1 "$/MyProject/MySolution.sln" -Path2 $/MyProject/NuGet"
MSBuild arguments: /p:PackageOutputDir="$/MyProject/NuGet"
This is causing the following type of exception when I try to run a build:
Exception Message: TF401070: Could not deserialize the JSON string provided. Details:
After parsing a value an unexpected character was encountered: \. Path 'PostActionScriptArguments', line 1, position 449. (type BuildParameterSerializationException)
Exception Stack Trace: at Microsoft.TeamFoundation.Build.Common.BuildParameter.set_Json(String value)
Inner Exception Details:
Exception Message: After parsing a value an unexpected character was encountered: \. Path 'PostActionScriptArguments', line 1, position 449. (type JsonReaderException)
Exception Stack Trace: at Newtonsoft.Json.JsonTextReader.ParsePostValue()

RdotNet error: The R engine is not in a working state

I am trying to use R-3.2.2 with RdotNet 1.6.5 embedded in a C# application.
I have started getting errors of the type:
Error at RDotNet.REngine.get_LastErrorMessage()
at RDotNet.REngine.Parse(String statement, StringBuilder incompleteStatement)
at RDotNet.REngine.<Defer>d__0.MoveNext()
at System.Linq.Enumerable.LastOrDefault[TSource](IEnumerable'1 source)
at RDotNet.REngine.Evaluate(String statement)
System.Exception: Execution Failed with the following Errors:
Unable to retrieve an R error message. Evaluating 'geterrmessage()' fails. The R engine is not in a working state.*
Once I get this error, cannot use R without restarting the application. Sometime even that doesn't work.
Has anyone else seen this error?
A related question, are there any Windows VC++ runtime version requirements for RDotNet 1.6.5?

Angular2 using YEOMAN generator doesn't run

I have started learning angular2 and created project using YEOMAN which creates all the necessary files and a simple running project.
But when i try to run it using gulp serve on web it throws error like
Potentially unhandled rejection [2] TypeError: Error loading "index" at http://localhost:8000/index.js
Cannot convert object to primitive value
at http://localhost:8000/lib/system.js:1:4824
at Array.<anonymous> (http://localhost:8000/lib/angular2.js:3888:7)
at d (http://localhost:8000/lib/system.js:1:5501)
at d (http://localhost:8000/lib/system.js:1:5364)
at d (http://localhost:8000/lib/system.js:1:5364)
at l (http://localhost:8000/lib/system.js:1:4590)
at Object.$__global.upgradeSystemLoader.e.instantiate.Promise.all.then.execute (http://localhost:8000/lib/system.js:1:8278)
at o (http://localhost:8000/lib/es6-module-loader.js:7:18496)
at p (http://localhost:8000/lib/es6-module-loader.js:7:18868)
at j (http://localhost:8000/lib/es6-module-loader.js:7:16406)
I don't have any idea about this error.
Can anybody help me regarding this to at least it runs.
I have tried with quick 5 min guide from :
https://angular.io/docs/js/latest/quickstart.html
Uncaught TypeError: angular2_1.Componant is not a function
es6-module-loader#0.16.6.src.js:140 Potentially unhandled rejection [2] Error loading "app" at http://localhost:8080/app.js
Error evaluating http://localhost:8080/app.js
Uncaught TypeError: angular2_1.Componant is not a function (WARNING: non-Error used)

Facebook ASP.NET MVC from template not work

I create project from template(ASP.NET MVC -> Facebook).
And receive error
Could not convert string to integer: public_profile. Path 'data[0].permission', line 1, position 39.
Description: An unhandled exception occurred during the execution of the current web request.Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Newtonsoft.Json.JsonReaderException: Could not convert string to integer: public_profile. Path 'data[0].permission', line 1, position 39.
If i change [FacebookAuthorize("public_profile","email")] to [FacebookAuthorize()], i not recieve error, but can't recieve email.
Try to remove the "email" and "userPhotos" from [FacebookAuthorize("email", "user_photos")].
If you actually need permissions, see my thoughts and workaround here
It's a problem with the .NET SDK. Facebook recently changed their API
https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues/293
Change the below in HomeController from
[FacebookAuthorize("email", "user_photos")]
to
[FacebookAuthorize]

ASP.NET MVC Error in non user code, how do I debug it?

Anyone have any idea how I start debugging this?
Below is what the browser is showing when the error occurs.
I've just cut and paste it below.
Seems the error is in an auto generated temporary file.
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1026: ) expected
Source Error:
Line 240: #line default
Line 241: #line hidden
Line 242: #__w.Write("\r\n\r\n <p>\r\n ");
Line 243:
Line 244: #line 15 "K:\Projects\GroupTargets_01\Views\Group\Index.aspx"
Source File: c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c52144fb\cf3eebf6\App_Web_index.aspx.1dacda6f.ihdui7sw.0.cs Line: 242
Show Detailed Compiler Output:
Show Complete Compilation Source:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
This is an error in your view page code for K:\Projects\GroupTargets_01\Views\Group\Index.aspx. The code you're seeing in the error message is what those <# ... #> tags get turned into.

Resources