18:15, EEST
January 19, 2017
Hallo,
I ‘m trying to laod a xml model to the opcua server. With the sdk version 2.3.0.764 (opcua stack 1.02.337.12) the model can be loaded successfully without any problem.
Now I want to load it using the prosyc sdk 2.3.2-781 and opcua stack 1.02.337.18. I get the following Exception:
org.bouncycastle.util.encoders.DecoderException: unable to decode base64 string: invalid characters encountered in base64 data
at org.bouncycastle.util.encoders.Base64.decode(Unknown Source)
at org.opcfoundation.ua.transport.security.BcCryptoProvider.base64Decode(Unknown Source)
at org.opcfoundation.ua.utils.CryptoUtil.base64Decode(Unknown Source)
at org.opcfoundation.ua.encoding.xml.XmlDecoder.getByteString(Unknown Source)
at org.opcfoundation.ua.encoding.xml.XmlDecoder.getVariantContents(Unknown Source)
at org.opcfoundation.ua.encoding.xml.XmlDecoder.getVariant(Unknown Source)
at com.prosysopc.ua.ModelParserBase.endElement(Unknown Source)
at com.prosysopc.ua.ModelParserBase$a.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.prosysopc.ua.ModelParserBase.parseFile(Unknown Source)
at com.prosysopc.ua.ModelParserBase.parseFile(Unknown Source)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(Unknown Source)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(Unknown Source)
at com.kuka.basys.demo.objectdetector.ObjectDetectorServerMain.main(ObjectDetectorServerMain.java:32)
Caused by: java.io.IOException: invalid characters encountered in base64 data
at org.bouncycastle.util.encoders.Base64Encoder.decode(Unknown Source)
… 23 more
Thank you
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 730
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25ZofModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1