Skip to content

Error using Meteor 1.2.1 #8

Description

@4Z4T4R

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions