Hi! I get a NullPointerException when I try to do: serialPort = (SerialPort) portId.open(appName, 2000); I'm trying to create a connection between two applications on the same PC via the RS232-port, using a loopback plug. I have copied the comm.jar and the javax.comm.properties to the C:\j2sdk1.4.0_03\lib directory and the win32com.dll file in the C:\Windows\System subdirectory. Anyone has an idea? Thanks! /M