ConnectWise Control Software User Forum
»
Default
»
General Information
»
Can't connect to Server 6.1 with Client 6.1 (Java Language)
 Rank: Guest Joined: 1/18/2017(UTC) Posts: 6  Location: Taipei
|
Hi ScreenConnect team, I tried to use 6.1 client jar to connect to 6.1 server. However, I got the exception below. When I use the same code wtih 5.6 client jar, I have no problem to connect 6.1 server. Could you advice where I went wrong? or Is there a API guild for java? Quote:java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at com.screenconnect.ConfigurationSettingsProvider.getConfigurationSettingValue(ConfigurationSettingsProvider.java:15) at com.screenconnect.client.Client.<init>(Client.java:269) Here is my code. Quote:clp.sessionID = SID; clp.encryptionKey = new ByteArraySegment(Base64.decode(EncryptionKey)); clp.host = getScreenConnectHost(); clp.port = getConnectPort(); clp.processType = getProcessType(); clp.sessionType = getSessionType(); clp.sessionTitle = getSessionTitle(); SocketEndPointManager endPointManager = new SocketEndPointManager(clp, ClientExtensions.getVersion(), ClientType.JAVA_SWING); SCClient = new Client(endPointManager); thank you
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 post(s)
|
Which exact version of 6.1 are you using? Also, do you have an app.config file setup? |
ScreenConnect Team |
|
|
|
 Rank: Newbie Joined: 2/14/2017(UTC) Posts: 10  Location: New York Thanks: 1 times
|
We have setup app.config in server. Do we need the same config file in client side?
|
|
|
|
 Rank: Guest Joined: 1/18/2017(UTC) Posts: 6  Location: Taipei
|
|
|
|
|
 Rank: Guest Joined: 1/18/2017(UTC) Posts: 6  Location: Taipei
|
We tried to upgrade to version 6.3 for both server and client. However, we got more exception like this java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:417) at java.lang.Integer.parseInt(Integer.java:499) at com.screenconnect.client.Client.<init>(Client.java:287)
while execute to line "SCClient = new Client(endPointManager);" Do you have any suggestion?
|
|
|
|
ConnectWise Control Software User Forum
»
Default
»
General Information
»
Can't connect to Server 6.1 with Client 6.1 (Java Language)
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.