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

fix for Cannot call method 'getTime' of null #289

Merged
merged 1 commit into from
Nov 26, 2013
Merged

fix for Cannot call method 'getTime' of null #289

merged 1 commit into from
Nov 26, 2013

Conversation

zygis
Copy link

@zygis zygis commented Nov 26, 2013

Fixed this error, when I had some unfinished jobs due errors in filesystem
/opt/node-0.10.21/lib/node_modules/strider/node_modules/mongoose/lib/utils.js:419
throw err;
^
TypeError: Cannot call method 'getTime' of null
at Promise. (/opt/node-0.10.21/lib/node_modules/strider/lib/backchannel.js:158:61)

@jaredly
Copy link
Member

jaredly commented Nov 26, 2013

thanks! I've been seeing these errors too. I'll accept it as a stop-gap until we figure out the real problem.

jaredly added a commit that referenced this pull request Nov 26, 2013
fix for Cannot call method 'getTime' of null
@jaredly jaredly merged commit ac9dadb into Strider-CD:master Nov 26, 2013
@niallo
Copy link
Member

niallo commented Nov 26, 2013

Thanks. Yes, I've seen this too. In my case, the underlying problem was the worker being unable to access a writeable directory for its checkout. This was due to $HOME not being writeable (since $HOME/.strider is the default data dir).

It would be nice to catch those errors higher in the stack and log them in a nice way.

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

Successfully merging this pull request may close these issues.

3 participants