This repository has been archived by the owner. It is now read-only.

Cannot call method 'set' of null #819

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

Comments

Projects
None yet
2 participants

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 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 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:
joyent#819 (comment)

ry commented Mar 21, 2011

fixed by d7a86ff

@ry ry closed this Mar 21, 2011

ry added a commit that referenced this issue Sep 19, 2011

Fix test-regress-GH-819
Problem was exposed in 12798c6.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.