

13:01, EEST

July 6, 2015

I try to connect to a OPC UA server with the SampleConsoleClient but without success:
(SampleConsoleClient.bat -u expert -p expert)
…
07/06/2015 15:25:25.666 DEBUG activateSessionChannel: endpoint=opc.tcp:// … (reinhold.kern: removed valid url…)
07/06/2015 15:25:25.666 DEBUG disconnectSubscriptions: null
Exception in thread "main" java.lang.NullPointerException
at org.opcfoundation.ua.utils.EndpointUtil.createUserNameIdentityToken(Unknown Source)
at com.prosysopc.ua.client.UaClient.c(Unknown Source)
at com.prosysopc.ua.client.UaClient.connect(Unknown Source)
at com.prosysopc.ua.samples.client.SampleConsoleClient.connect(SampleConsoleClient.java:608
at com.prosysopc.ua.samples.client.SampleConsoleClient.mainMenu(SampleConsoleClient.java:13
at com.prosysopc.ua.samples.client.SampleConsoleClient.main(SampleConsoleClient.java:153)
I am using “Prosys-OPC-UA-Java-SDK-Client-Binary-2.1.2-478”, JDK 8 x86
Security settings: SecurityPolicy: none
Authentication settings: Username/Password
With UaExpert a connection can be established without any problems.
14:58, EEST

December 21, 2011

15:06, EEST

December 21, 2011

16:25, EEST

July 6, 2015

Thanks for the fast reply!
We are try to connect to a injection molding machine:
ApplicationUri=uri://Arburg/App/Selogica/direct
ProductUri=uri://Arburg/Products/Selogica/direct
ApplicationName=(en) ARBURG Selociga direct
I could send you a more detailed log if you want.
After receiving and testing the beta release I will give you some feedback.
Most Users Ever Online: 1919
Currently Online:
39 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 810
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1541
Posts: 6504
Newest Members:
Henrybal, vincent.lin1970@gmail.com, JamesLiabe, DanielMaype, RobertPrire, VirCibre, semunah, StevenMot, elinorbalke7872, CharlesGUirmModerators: Jouni Aro: 1029, Pyry: 1, Petri: 0, Bjarne Boström: 1040, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1