Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger breaks on accessing a HashMap variable #95

Open
nikegp opened this issue Mar 28, 2018 · 3 comments
Open

Debugger breaks on accessing a HashMap variable #95

nikegp opened this issue Mar 28, 2018 · 3 comments
Labels

Comments

@nikegp
Copy link

nikegp commented Mar 28, 2018

Hi!

Every time I try to expand a HashMap variable the debugger breaks with the following exception

Error: Internal Server Error
 Error: Internal Server Error
    at Request.request [as _callback] (/home/nike/.vscode/extensions/SqrTT.prophet-1.0.1/out/Connection.js:49:35)
    at Request.self.callback (/home/nike/.vscode/extensions/SqrTT.prophet-1.0.1/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:194:7)
    at Request.<anonymous> (/home/nike/.vscode/extensions/SqrTT.prophet-1.0.1/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:191:7)
    at IncomingMessage.<anonymous> (/home/nike/.vscode/extensions/SqrTT.prophet-1.0.1/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:91:20)

Prophet 1.0.1. Let me know if I can help to debug it further

PS. Thanks for the debugger, it's awesome

@SqrTT
Copy link
Owner

SqrTT commented Mar 29, 2018

Could you please share a some snippet so I would able to reproduce the issue?

image

@nikegp
Copy link
Author

nikegp commented Mar 29, 2018

It seems it fails on HashMaps returned from Basket->getAllProductQuantities if a basket has an option product. I test on SG with this item https://d.pr/i/bcFzMH and if I add it without warranty I can expand the HashMap. If I add the product with warranty the debugger fails with the error. Hope this helps

@julienphilippe
Copy link

i tested with Hashmap it's working correctly

@SqrTT SqrTT added the sfcc label Jul 9, 2019
@SqrTT SqrTT mentioned this issue Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants