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

Server crash: _.pick #175

Open
lorensr opened this issue Jul 25, 2015 · 6 comments
Open

Server crash: _.pick #175

lorensr opened this issue Jul 25, 2015 · 6 comments

Comments

@lorensr
Copy link

lorensr commented Jul 25, 2015

Perhaps it's trying to pick from something that it can't access?

I20150724-19:01:31.897(-4)? TypeError: Cannot use 'in' operator to search for 'message' in illegal access
I20150724-19:01:31.897(-4)?     at packages/underscore/underscore.js:860:1
I20150724-19:01:31.897(-4)?     at Array.forEach (native)
I20150724-19:01:31.897(-4)?     at _.each._.forEach (packages/underscore/underscore.js:105:1)
I20150724-19:01:31.897(-4)?     at Function._.pick (packages/underscore/underscore.js:859:1)
I20150724-19:01:31.897(-4)?     at [object Object].sessionProto.send (packages/meteorhacks:kadira/lib/hijack/wrap_session.js:107:1)
I20150724-19:01:31.897(-4)?     at [object Object].kadira_Session_send [as send] (packages/meteorhacks:kadira/lib/hijack/set_labels.js:5:1)
I20150724-19:01:31.897(-4)?     at [object Object]._.extend.protocol_handlers.method (packages/ddp/livedata_server.js:666:1)
I20150724-19:01:31.897(-4)?     at packages/meteorhacks:kadira/lib/hijack/wrap_session.js:50:1
I20150724-19:01:31.897(-4)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20150724-19:01:31.897(-4)?     at [object Object].sessionProto.protocol_handlers.method (packages/meteorhacks:kadira/lib/hijack/wrap_session.js:49:1)
I20150724-19:01:31.897(-4)?     at packages/ddp/livedata_server.js:546:1
@arunoda
Copy link
Member

arunoda commented Jul 25, 2015

Hmm. What's the Meteor version related to this?
Is it possible to have some kind of reproducible code?

This happens when you throw an "string" from your app rather than an Error
Object.
I can do a fix, but interested to find the root for this issue.

On Sat, Jul 25, 2015 at 5:33 AM Loren Sands-Ramshaw <
[email protected]> wrote:

Perhaps it's trying to pick from something that it can't access?

I20150724-19:01:31.897(-4)? TypeError: Cannot use 'in' operator to search for 'message' in illegal access
I20150724-19:01:31.897(-4)? at packages/underscore/underscore.js:860:1
I20150724-19:01:31.897(-4)? at Array.forEach (native)
I20150724-19:01:31.897(-4)? at .each..forEach (packages/underscore/underscore.js:105:1)
I20150724-19:01:31.897(-4)? at Function..pick (packages/underscore/underscore.js:859:1)
I20150724-19:01:31.897(-4)? at [object Object].sessionProto.send (packages/meteorhacks:kadira/lib/hijack/wrap_session.js:107:1)
I20150724-19:01:31.897(-4)? at [object Object].kadira_Session_send as send
I20150724-19:01:31.897(-4)? at [object Object].
.extend.protocol_handlers.method (packages/ddp/livedata_server.js:666:1)
I20150724-19:01:31.897(-4)? at packages/meteorhacks:kadira/lib/hijack/wrap_session.js:50:1
I20150724-19:01:31.897(-4)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20150724-19:01:31.897(-4)? at [object Object].sessionProto.protocol_handlers.method (packages/meteorhacks:kadira/lib/hijack/wrap_session.js:49:1)
I20150724-19:01:31.897(-4)? at packages/ddp/livedata_server.js:546:1


Reply to this email directly or view it on GitHub
#175.

@lorensr
Copy link
Author

lorensr commented Jul 25, 2015

$ g kadira .meteor/versions 
.meteor/versions:70:meteorhacks:[email protected]
$ m --version
Meteor 1.1.0.2

Not sure where a string is being thrown, but thanks!

@arunoda
Copy link
Member

arunoda commented Jul 25, 2015

Okay. I'll do the fix and notify you.

On Sat, Jul 25, 2015 at 6:22 AM Loren Sands-Ramshaw <
[email protected]> wrote:

$ g kadira .meteor/versions
.meteor/versions:70:meteorhacks:[email protected]
$ m --version
Meteor 1.1.0.2

Not sure where a string is being thrown, but thanks!


Reply to this email directly or view it on GitHub
#175 (comment).

@lorensr
Copy link
Author

lorensr commented Jul 25, 2015

Maybe could be

Kadira.errors.addFilter (errorType, message, error) ->
  console.log error?.stack

or trying to JSON.stringify error or for key in error

@arunoda
Copy link
Member

arunoda commented Jul 25, 2015

Hmm. That could be.

On Sat, Jul 25, 2015 at 6:25 AM Loren Sands-Ramshaw <
[email protected]> wrote:

Maybe could be

Kadira.errors.addFilter (errorType, message, error) ->
console.log error?.stack


Reply to this email directly or view it on GitHub
#175 (comment).

@arunoda
Copy link
Member

arunoda commented Jul 26, 2015

Did a potential fix. Update to latest version.

On Sat, Jul 25, 2015 at 6:26 AM Arunoda Susiripala <
[email protected]> wrote:

Hmm. That could be.

On Sat, Jul 25, 2015 at 6:25 AM Loren Sands-Ramshaw <
[email protected]> wrote:

Maybe could be

Kadira.errors.addFilter (errorType, message, error) ->
console.log error?.stack


Reply to this email directly or view it on GitHub
#175 (comment)
.

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

2 participants