Thanks a lot for lejos:), in my opinion is best documented language for NXT.
I'm almost green in java, and I have got problem.
Code should me best explanation:
- Code: Select all
package mPackage;
import lejos.nxt.*;
import lejos.pc.comm.*;
public class PcInitiator {
public static void main(String[] args) throws NXTCommException
{
NXTComm nxtComm = NXTCommFactory.createNXTComm(NXTCommFactory.BLUETOOTH);
NXTInfo[] nxtInfo = nxtComm.search("NXT",NXTCommFactory.BLUETOOTH);
System.out.printf("nxtInfo length : %d\n",nxtInfo.length);
}
}
After run are two ways, when NXT brick is off, program ends without errors, but when NXT brick is on:
- Code: Select all
BlueCove version 2.1.0 on mac
Found: NXT
2011-12-20 11:55:52.180 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x114150 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.183 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x114300 of class NSCFString autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1143a0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x114460 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x114570 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117750 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.184 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13079a0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.185 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13079a0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.185 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13079a0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.185 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13079a0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.185 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13079a0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.231 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.232 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.232 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.232 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1303170 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.232 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1302610 of class NSCFString autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.233 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1303c60 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.233 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1303ba0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.233 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306a40 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.234 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306a70 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.234 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.234 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.234 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.235 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.235 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.235 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x117aa0 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.235 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.236 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.236 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.236 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306fb0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.236 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1307270 of class NSCFString autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.236 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306820 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1307dd0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1307c80 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1308170 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1308120 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.237 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.238 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.238 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:52.238 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306950 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.302 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1306b60 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.302 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1307db0 of class NSCFString autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.303 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1307610 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.303 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13062c0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.303 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1308670 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.303 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x13087c0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.303 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x1308520 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.304 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x12e01270 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.304 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x12e01270 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.304 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x12e01270 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.304 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x12e01270 of class NSCFArray autoreleased with no pool in place - just leaking
2011-12-20 11:55:53.304 java[578:a07] *** __NSAutoreleaseNoPool(): Object 0x12e01270 of class NSCFArray autoreleased with no pool in place - just leaking
nxtInfo length : 1
BlueCove stack shutdown completed
Do you have any ideas?
Regards Przemek.

