logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Pamela  
#1 Posted : Thursday, March 30, 2017 3:06:17 AM(UTC)
Pamela


Rank: Guest

Joined: 1/18/2017(UTC)
Posts: 6
Taiwan, Province Of China
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

Scott  
#2 Posted : Tuesday, April 11, 2017 1:42:26 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,514
United States

Thanks: 3 times
Was thanked: 305 time(s) in 262 post(s)
Which exact version of 6.1 are you using? Also, do you have an app.config file setup?
ScreenConnect Team
charles.tsai  
#3 Posted : Tuesday, April 25, 2017 2:22:33 PM(UTC)
charles.tsai


Rank: Newbie

Joined: 2/14/2017(UTC)
Posts: 10
United States
Location: New York

Thanks: 1 times
We have setup app.config in server. Do we need the same config file in client side?
Pamela  
#4 Posted : Tuesday, October 3, 2017 1:39:36 AM(UTC)
Pamela


Rank: Guest

Joined: 1/18/2017(UTC)
Posts: 6
Taiwan, Province Of China
Location: Taipei

we are currently on 6.1.12292.6236. And our config file is referring to this page :
https://docs.connectwise...eate_the_app.config_file
Section: Versions 5.3 and later:
Pamela  
#5 Posted : Wednesday, October 18, 2017 8:43:52 AM(UTC)
Pamela


Rank: Guest

Joined: 1/18/2017(UTC)
Posts: 6
Taiwan, Province Of China
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?
Users browsing this topic
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.