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

Cannot call method 'toString' of undefined #235

Open
ryanmeador opened this issue Feb 23, 2015 · 1 comment
Open

Cannot call method 'toString' of undefined #235

ryanmeador opened this issue Feb 23, 2015 · 1 comment
Labels

Comments

@ryanmeador
Copy link

I've been getting this error randomly from Riak-JS 1.0.3 when (I believe) attempting to get a key that has a conflict. I'm unsure of exactly what is going on that leads up to this point because the stack trace isn't very illuminating. I think there are two writes in very rapid succession that create the same key in a bucket that does not allow_mult, which I would expect to just lose one set of the data, but instead upon the next read of that key, the crash happens. Again, that's my best guess, not a guarantee of what's actually happening. Have you seen this before?

TypeError: Cannot call method 'toString' of undefined
 at [object Object]._parseMultipartMixed (/home/deploy/eventapp/backend/node_modules/riak-js/lib/http-meta.js:179:15)
 at HttpRequest.extractMultipartResponse (/home/deploy/eventapp/backend/node_modules/riak-js/lib/http-request.js:218:25)
 at HttpRequest.handleRequestEnd (/home/deploy/eventapp/backend/node_modules/riak-js/lib/http-request.js:275:19)
 at IncomingMessage.<anonymous> (/home/deploy/eventapp/backend/node_modules/riak-js/lib/http-request.js:160:21)
 at IncomingMessage.emit (events.js:117:20)
 at _stream_readable.js:944:16
 at process._tickDomainCallback (node.js:486:13)
@Quentin01
Copy link
Contributor

I haven't seen this one since I use Riak-JS. I would look when I have time.

@Quentin01 Quentin01 added the bug label Feb 24, 2015
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

2 participants