loopback-connector-soap icon indicating copy to clipboard operation
loopback-connector-soap copied to clipboard

RangeError: Maximum call stack size exceeded

Open blackbeario opened this issue 7 years ago • 5 comments

I am getting a stack size error while using the CLI lb soap command, while trying to access my OMS web services. My lb common models have already been created via the mssql connector, if that matters at all. The OMS can be viewed at https://smapromail.cgraphics.com/pmomsws/oms.asmx?WSDL.

      throw er; // Unhandled 'error' event
      ^

RangeError: Maximum call stack size exceeded
    at Array.indexOf (<anonymous>)
    at checkAndConvertToNumber (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:438:25)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:321:13)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
    at buildElementProperties (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-soap/lib/codegen/generator-soap.js:327:7)
Emitted 'error' event at:
    at Immediate.<anonymous> (/usr/local/lib/node_modules/loopback-cli/node_modules/yeoman-generator/lib/base.js:446:16)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
    at process.topLevelDomainCallback (domain.js:121:23)

Additional information

darwin x64 10.3.0

├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected]

blackbeario avatar Feb 25 '19 18:02 blackbeario

I also just got the same thing, but I think it's because of a function defined in the WSDL. I was able to use this no problem with a different WSDL. I will look into it a bit.

pythlang avatar Jul 17 '19 02:07 pythlang

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '19 17:09 stale[bot]

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

stale[bot] avatar Oct 01 '19 18:10 stale[bot]

I also just got the same thing

JoseMontesRicardo avatar Feb 13 '20 16:02 JoseMontesRicardo

Same issue here, any ideas?

juanpaie avatar Jul 06 '21 00:07 juanpaie