I have just purchased a replacement NXT brick and it won't work with my code (see below), I have deleted the nxj.cache file and nxjbrowse sees both devices and my program connects to the bricks, however when I run the code it will also run Motor A from the second NXT brick on the first brick and ignore the second brick. I am using 0.9.1.
nxtconnector.connectTo(nxtname1, address1, protocols);
nxtcommand = new NXTCommand(nxtconnector.getNXTComm());
nxtconnector2.connectTo(nxtname2, address2, protocols);
nxtcommand2 = new NXTCommand(nxtconnector2.getNXTComm());