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

Error using Meteor 1.2.1 #8

Open
4Z4T4R opened this issue Jan 14, 2016 · 0 comments
Open

Error using Meteor 1.2.1 #8

4Z4T4R opened this issue Jan 14, 2016 · 0 comments

Comments

@4Z4T4R
Copy link

4Z4T4R commented Jan 14, 2016

The moment we execute the this single line of code on our Meteor Deployment...

RUnits = new SQL.Collection 'units'

We receive the following stacktrace in the Meteor logs:

I20160113-20:22:19.891(-8)? Exception in handling DDP message: TypeError: Cannot read property 'instance' of undefined
I20160113-20:22:19.891(-8)?     at Object.connection.registerStore.update (packages/storeness_meteor-postgres/packages/storeness_meteor-postgres.js:823:1)
I20160113-20:22:19.891(-8)?     at Object.store.(anonymous function) [as update] (packages/ddp-client/packages/ddp-client.js:1056:1)
I20160113-20:22:19.891(-8)?     at packages/ddp-client/packages/ddp-client.js:1836:1
I20160113-20:22:19.892(-8)?     at Array.forEach (packages/es5-shim/.npm/package/node_modules/es5-shim/es5-shim.js:417:1)
I20160113-20:22:19.892(-8)?     at Function._.each._.forEach (packages/underscore/packages/underscore.js:134:1)
I20160113-20:22:19.892(-8)?     at packages/ddp-client/packages/ddp-client.js:1835:1
I20160113-20:22:19.892(-8)?     at Function._.each._.forEach (packages/underscore/packages/underscore.js:142:1)
I20160113-20:22:19.892(-8)?     at [object Object]._.extend._livedata_data (packages/ddp-client/packages/ddp-client.js:1832:1)
I20160113-20:22:19.893(-8)?     at onMessage (packages/ddp-client/packages/ddp-client.js:862:1)
I20160113-20:22:19.893(-8)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1)
I20160113-20:22:19.893(-8)?     at packages/meteor/dynamics_nodejs.js:123:1
I20160113-20:22:19.893(-8)?     at packages/ddp-client/packages/ddp-client.js:253:1
I20160113-20:22:19.893(-8)?     at Array.forEach (packages/es5-shim/.npm/package/node_modules/es5-shim/es5-shim.js:417:1)
I20160113-20:22:19.893(-8)?     at Function._.each._.forEach (packages/underscore/packages/underscore.js:134:1)
I20160113-20:22:19.893(-8)?     at packages/ddp-client/packages/ddp-client.js:252:1
I20160113-20:22:19.894(-8)?     at packages/ddp-client/packages/ddp-client.js:228:1

Any idea why this error is showing up for this specific collection? What are the conditions of the Error thrown?

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

1 participant