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

crash in Connection.js #105

Closed
phil-mitchell opened this issue Nov 1, 2017 · 6 comments
Closed

crash in Connection.js #105

phil-mitchell opened this issue Nov 1, 2017 · 6 comments

Comments

@phil-mitchell
Copy link

11/1/17 4:08:22.214 PM [APP/266-3] ERR node_modules/hdb/lib/protocol/Connection.js:280
11/1/17 4:08:22.218 PM [APP/266-3] ERR state.messageType = message.type;
11/1/17 4:08:22.218 PM [APP/266-3] ERR ^
11/1/17 4:08:22.218 PM [APP/266-3] ERR
11/1/17 4:08:22.218 PM [APP/266-3] ERR TypeError: Cannot set property 'messageType' of undefined
11/1/17 4:08:22.219 PM [APP/266-3] ERR at Connection.send (/hana/shared/H4C/xs/app_working/mo-a4aa5acbc/executionroot/53342865-82d1-4170-b58a-dc75943d0bea/app/node_modules/hdb/lib/protocol/Connection.js:280:21)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at Connection.fetchDbConnectInfo (/hana/shared/H4C/xs/app_working/mo-a4aa5acbc/executionroot/53342865-82d1-4170-b58a-dc75943d0bea/app/node_modules/hdb/lib/protocol/Connection.js:534:8)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at /hana/shared/H4C/xs/app_working/mo-a4aa5acbc/executionroot/53342865-82d1-4170-b58a-dc75943d0bea/app/node_modules/hdb/lib/protocol/ConnectionManager.js:91:10
11/1/17 4:08:22.219 PM [APP/266-3] ERR at Socket.ondata (/hana/shared/H4C/xs/app_working/mo-a4aa5acbc/executionroot/53342865-82d1-4170-b58a-dc75943d0bea/app/node_modules/hdb/lib/protocol/Connection.js:187:5)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at emitOne (events.js:96:13)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at Socket.emit (events.js:188:7)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at readableAddChunk (_stream_readable.js:176:18)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at Socket.Readable.push (_stream_readable.js:134:10)
11/1/17 4:08:22.219 PM [APP/266-3] ERR at TCP.onread (net.js:547:20)

@alexpenev-s
Copy link
Contributor

Hi, Could you please provide a reproduction scenario?

@phil-mitchell
Copy link
Author

Not particularly. We saw this once in a timing-dependent scenario. However, it's pretty obvious what the problem is.

@phil-mitchell
Copy link
Author

When will a release be created with this fix?

@alexpenev-s
Copy link
Contributor

The latest release is 0.15; it was released about a week ago and it contains the fix.

@phil-mitchell
Copy link
Author

Thanks. I did not see a v0.15.0 tag in github, so I was not aware of the new release.

@itramana
Copy link

itramana commented Apr 14, 2020

We see a issue with following stack. We are running a version 0.13.0. Could the following stack might be due to same issue.

TypeError: Cannot set property 'messageType' of undefined
4/6/20 1:14:28.619 AM [APP/2-0] ERR at Connection.send (/app/node_modules/hdb/lib/protocol/Connection.js:280:21)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at send (/app/node_modules/hdb/lib/protocol/ExecuteTask.js:189:21)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at next (/app/node_modules/hdb/lib/protocol/ExecuteTask.js:157:14)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at handleParameters (app/node_modules/hdb/lib/protocol/ExecuteTask.js:152:5)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at Immediate. (/app/node_modules/hdb/lib/protocol/Writer.js:199:7)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at runCallback (timers.js:672:20)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at tryOnImmediate (timers.js:645:5)
4/6/20 1:14:28.619 AM [APP/2-0] ERR at processImmediate [as _immediateCallback] (timers.js:617:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants