APAR status
Closed as program error.
Error description
2022-04-26T01:03:13.232Z bhendi:error [066ab450f7804912299014afd87d3178] Error in PATCH patch:/api/sp aces/:org/:catalog/:space/products/:productname/:productversion( - status : 500 - message: An internal error occurred. - stack : Error: Error trying to convert Stringto Buffer: RangeError: Maximum call stack size exceeded at Object.Error (/app/node_modules/apiconnect-wsdl/lib/stron g-globalize-fake.js:31:16) at Object.toBuffer (/app/node_modules/apiconnect-wsdl/lib/fileUtils.js:788:32) at Object.injectServiceEndpointsIntoWSDLorZIP (/app/node_modules/apiconnect-wsdl/lib/updateWSDL.js:52:27) at injectServiceEndpointsIntoWSDLorZIP (/app/routes/catalog/lifecycleUtil.js:145:33) at updateWsdlWithEndpoints (/app/routes/catalog/lifecycleUtil.js:222:29) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async mapPromises.concurrency (/app/routes/product.js:3765:43) at async /app/node_modules/bhendi/lib/bhendiUtil.js:1452:29 - errors : undefined: An internal error occurred.
Local fix
Problem summary
When the API created from WSDL is published, the following error may occur: <span style="background-color:rgb(255, 255, 255)">message: An internal error occurred. </span> <span style="background-color:rgb(255, 255, 255)">- stack : Error: Error trying to convert Stringto Buffer: </span> <span style="background-color:rgb(255, 255, 255)">RangeError: Maximum call stack size exceeded </span> <span style="background-color:rgb(255, 255, 255)"> at Object.Error (/app/node_modules/apiconnect-wsdl/lib/stron</span> <span style="background-color:rgb(255, 255, 255)">g-globalize-fake.js:31:16) </span> <span style="background-color:rgb(255, 255, 255)"> at Object.toBuffer </span> <span style="background-color:rgb(255, 255, 255)">(/app/node_modules/apiconnect-wsdl/lib/fileUtils.js:788:32 ) </span> <span style="background-color:rgb(255, 255, 255)"> at Object.injectServiceEndpointsIntoWSDLorZIP </span> <span style="background-color:rgb(255, 255, 255)">(/app/node_modules/apiconnect-wsdl/lib/updateWSDL.js:52:27 ) </span> <span style="background-color:rgb(255, 255, 255)"> at injectServiceEndpointsIntoWSDLorZIP </span> <span style="background-color:rgb(255, 255, 255)">(/app/routes/catalog/lifecycleUtil.js:145:33) </span> <span style="background-color:rgb(255, 255, 255)"> at updateWsdlWithEndpoints </span> <span style="background-color:rgb(255, 255, 255)">(/app/routes/catalog/lifecycleUtil.js:222:29) </span> <span style="background-color:rgb(255, 255, 255)"> at runMicrotasks (<anonymous>) </span> <span style="background-color:rgb(255, 255, 255)"> at processTicksAndRejections </span> <span style="background-color:rgb(255, 255, 255)">(internal/process/task_queues.js:95:5) </span> <span style="background-color:rgb(255, 255, 255)"> at async mapPromises.concurrency </span> <span style="background-color:rgb(255, 255, 255)">(/app/routes/product.js:3765:43) </span> <span style="background-color:rgb(255, 255, 255)"> at async /app/node_modules/bhendi/lib/bhendiUtil.js:1452:29 </span> <span style="background-color:rgb(255, 255, 255)">- errors : undefined: An internal error occurred. </span> This is a rare situation and may only occur if the wsdl file is exceedingly large (> 1M).
Problem conclusion
The API Connect code is fixed and this error will no longer occur. The code is fixed in versions 10.0.5 and 10.0.1.7.
Temporary fix
Comments
APAR Information
APAR number
LI82606
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
A0X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-04-27
Closed date
2022-07-13
Last modified date
2022-09-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
08 September 2022