Error Domain=NSXMLParserErrorDomain Code=64 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)" - nsxmlparser

What deos the error 64 in NSXMLParserDomain Code=64 mean? I am using an NSXMLParser to parse my XML data. But i am getting the above mentioned error. Can someone please help me on this?

I found it out. The error comes when the XMl contains errors at the start up. U can validate the XMl using w3schools here http://www.w3schools.com/xml/xml_validator.asp[How to validate an XML]1

Its also happens if the XML contains some extra line before the xml tag starts.

Related

Custom Error Messages in CITRUS Test Results

I want to use my custom error messages in my citrus test results.
Example:
Original Error Message: java.io.FileNotFoundException: D:\expectedOutput\Smaple.xml (The system cannot find the file specified).
Custom Message: Hey The File was not found in your directory Please check. (Need to print like this in my test results failure message).
Please check the image hereenter image description here
You can not change this message in particular as this is coming from the thrown Java exception. You could implement your own TestReporter and/or TestListener though to translate the error into something matching your needs.
Something like: https://citrusframework.org/samples/reporting/

jBoss Business Central Error Message when Opening Assets

To all
When trying to open an asset (DRL or Legency Test), I receive the message "Unable to complete your request. The following exception occurred: name is empty."
I can't find any hint what this means. My rules import from different projects which all can be accessed.
Does anybody have an idea what this could mean? Thank you very much already in advance.
big hug
Michael
I found out by myself. The external data objects configuration had an empty entry. So be careful when adding an external data object - you are able to add an empty row and Business Central let's you save this ... with the empty row causing the error described.
happy coding
Michael Lutz

An error in executing a .gap file in GAP software

I am trying to load two .gap files but I receive the following error message. What could be the reason?
Thanks a lot in advance.
Error in executing .gap files
I have already read F1.gap file. I don't understand why it says F1 must be readable to load the F2.gap file.
Please help me to solve this problem.

Parse FileSaveError Code 130

this is my first ever question so please let me know if I can improve anything in the future.
I am self-learning Swift and Parse. When I tried to save an image to Parse, it gave me the error as can be seen in the picture.
Error message picture
The error message in the picture is as following:
Parse::FileSaveError (Code: 130, Version: 1.11.0)
Can someone please help me with this? I'm not familiar with Swift or Parse so I don't know if they have any certain behaviours.
Many thanks
The definition for the error code you are receiving is:
"Error code indicating that a unique field was given a value that is already taken."
As your code appears to be valid, the issue is most likely in the Parse database itself. Go into Parse core and remove the "Post" class you have created and try running the code again.
It is worth noting that it can help to use print(error) to print the actual error out rather than just a string.

Load Runner: InvokeMethod failure: Unable to deserialize non XmlElement node #text in path

I passing the following to LoadRunner:
<makeAtmPayment xmlns=\"http://[URL]" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">"
"<billerId>BILL01</billerId>"
"<userId>950002</userId>"
"<productCode>P1</productCode>"
"<productParameter><value>923</value></productParameter>"
"<paymentChannel>PAY01</paymentChannel>"
"<paymentAmount>2</paymentAmount>"
"<convenienceFee>1.50</convenienceFee>"
"<effectiveDate>2011-04-14</effectiveDate>"
"<accountId xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>"
"<atmCardNumber>564373636363636</atmCardNumber>"
"<editedConfirmationId xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>"
"</makeAtmPayment>"
and it's throwing me the following error:
InvokeMethod failure: Unable to deserialize non XmlElement node #text in path '/makeAtmPayment/productParameter/name/#text'.
Can anyone give me any pointers on what I am doing wrong ?
Thanks!!
Try to change
<productParameter><value>923</value></productParameter>
To
<productParameter><name>923</name></productParameter>
I don't understand the double quotes. There is one missing at the very beginning and there is one without a slash after xmlns=\"http://[URL]". Could it be the problem?
Is this an XML of your own creation or one picked up off of a loadrunner recording? If it is the latter consider recording twice to see what differences get picked up that you need to accommodate during your development. If it is the former, then consider validating your XML through the application's business rules before submitting it via LoadRunner, just to ensure that the XML is sound independent of your testing tool