Topic
  • 1 reply
  • Latest Post - ‏2010-04-08T17:25:42Z by SystemAdmin
SystemAdmin
SystemAdmin
238 Posts

Pinned topic Base64 Decode problems at runtime

‏2010-04-08T01:08:22Z |
From the global error handling we have in our orchestrations, we have
been getting intermittent errors the seem to point to the appliance
having trouble mapping or transforming the data. A couple of examples
are (these are the content of the emails our error handling sends):


In this first example, the string it is complaining about, "target-lement", should be "targetElement".


Project Name: Dell_AP-Activity-SFDC-Campaign Orchestration Name: Orchestrations/AprimoActivityToSFDCCampaignUpsert

Activity Name: Read Mapping Spec

Job Id: ABADB6EE513DD65BE0892CE72AC2461F

Message: Failed to parse XML, error was: java.io.IOException: The
element type "target-lement" must be terminated by the matching end-tag
"</target-lement>".


In this second example, the string it is complaining about,
"sourceElementco6UmVqZWN0aW9uX1JlYXNvbl9fYw", should be just
"sourceElement"


Project Name: Dell_AP-Lead-SFDC-Lead

Orchestration Name: Orchestrations/SFDCRelLeadToAprimoLeadUpdate

Activity Name: Read Mapping Spec

Job Id: 9284559EDE9D6C3BEDADFB3E8E394DBF

Message: Failed to parse XML, error was: java.io.IOException:
Element type "sourceElementco6UmVqZWN0aW9uX1JlYXNvbl9fYw" must be
followed by either attribute specifications, ">" or "/>".


Many of the errors seem to come from a "Read XML" activity in which
a Base64 Decode function is used to decode data read from a database.
Now, you may think that this is data related; but these orchestrations
run every minute, and the data is constant. Sometimes an orchestration
will throw this error, and sometimes it does not. If I manually retrieve this
data from the database and run it through a base64 decoder, it decodes
fine.


Has anyone had problems with the Base64 Decode function at runtime?
Thanks in advance for any feedback.
-Mark
Oh...this is a vA4000 VM at version 4.0.5.1
Updated on 2010-04-08T17:25:42Z at 2010-04-08T17:25:42Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    238 Posts

    This is fixed in 4.5.0.1

    ‏2010-04-08T17:25:42Z  

    The Base64 Decode function had a bug which could cause issues during multi-threaded access. This has been fixed in 4.5.0.1