Preview Image Integration Stopped Working 追蹤

John Cummens

Today when I came in the integration that I had deployed to generate preview-images from a BTXML script input no longer returns the generated image in the response.  Instead of the XML with base64 image data, it returns only the variable name (e.g. '%Response%') directly in the response data.

This is a TCP web-socket integration.  The input data was a BTXML script which was sent over the socket on connection, would be executed via the 'Print BTXML' action, which would place the response into the %Response% variable, and send that back to the client over the same IP/socket.  The client would decode packets, decode the XML from therein, grab the base64 image data, and decode that to the specified image format (PNG).

Windows event viewer started reporting all sorts of Bartend.exe related errors during startup and use, mostly of the same error:

Faulting application name: BarTend.exe, version:, time stamp: 0x5ab47609
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac
Exception code: 0x40000015
Fault offset: 0x00000000000761c9
Faulting process id: 0xbcc
Faulting application start time: 0x01d4bcbcfb0d4eb4
Faulting application path: C:\Program Files\Seagull\BarTender Suite\BarTend.exe
Faulting module path: C:\WINDOWS\SYSTEM32\MSVCR100.dll
Report Id: fd08988b-2add-46ba-ae53-524cf0ad15dd
Faulting package full name:
Faulting package-relative application ID: