Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Cannot call method 'set' of null #819

Closed
mranney opened this issue Mar 21, 2011 · 3 comments
Closed

Cannot call method 'set' of null #819

mranney opened this issue Mar 21, 2011 · 3 comments

Comments

@mranney
Copy link

mranney commented Mar 21, 2011

This started happening after going to 0.4.3. It only happens on a busy server, so I'm not sure exactly how to reproduce it.

TypeError: Cannot call method 'set' of null
    at doConnect (net.js:561:23)
    at net.js:718:9
    at dns.js:192:30
    at IOWatcher.callback (dns.js:74:15)
@ry
Copy link

ry commented Mar 21, 2011

reproduced with

var common = require('../common');
var net = require('net');
var assert = require('assert');

// Connect to something that we need to DNS resolve
var c = net.createConnection(80, "google.com");
c.destroy();

@mranney
Copy link
Author

mranney commented Mar 21, 2011

Oh, great. Glad you got an easy repro.

On Mon, Mar 21, 2011 at 11:46 AM, ry <
reply@reply.github.com>wrote:

reproduced with

var common = require('../common');
var net = require('net');
var assert = require('assert');

// Connect to something that we need to DNS resolve
var c = net.createConnection(80, "google.com");
c.destroy();

Reply to this email directly or view it on GitHub:
#819 (comment)

@ry
Copy link

ry commented Mar 21, 2011

fixed by d7a86ff

@ry ry closed this as completed Mar 21, 2011
ry added a commit that referenced this issue Sep 19, 2011
Problem was exposed in 12798c6.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants