[Type]Bugfix
[Module]event injector
[Priority]Major
[Jira#] // Jira Issue Number
[Redmine#] // Redmine Isuue Number
[Problem] // Problem Description
[Cause] // Cause Description
[Solution] // Solution Description
[TestCase] // Executed the test-target (How to)
Change-Id: I79c872f32097e741e91e66ac042a866a20a1e536
try {
socket.setKeepAlive(true);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+ if(currentDevice == null)
+ return;
String str_localport = currentDevice.getSerialNumber();
port = Integer.parseInt(str_localport.substring(9, str_localport.length())) + 3;
socket.connect(new InetSocketAddress(ip, port), 1000);