Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240

<oXygen/> general issues.
fschmitt
Posts: 5

Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240

Fri Dec 28, 2018 5:35 pm

Hi, i've just upgraded Oxygen Editor to 20.1, build 201812240, trying to get it work with eXist 2.2 (ok, i know, very old... but at least it worked with previous oxygen version). OS: Win 7 64bit.

I've provided the eXist core and endorsed libs as well as exist.jar and exist-optional.jar as data source. Trying to connect to a eXist 2.2 server results in:

Could not instantiate: ro.sync.db.nxd.exist.ExistSession due to: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

Were there any changes regarding the eXist-db support with the last upgrade that i've missed? What may be the cause for the error?

TIA fs
Radu
Posts: 6050

Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240

Mon Dec 31, 2018 10:44 am

Hi,

I tested this on my side and it seems to be working for me.
In the "Data Sources" preferences page I pressed the "Create exist-DB XML Connection" link and Oxygen when using this wizard Oxygen downloads all the necessary JAR libraries from the Exist server and creates both the data source and connection. I usually specify a custom "Libraries" path for the place where those driver JAR libraries are downloaded by Oxygen in order not the override other JAR libraries downloaded for existing connections.
Did you manually download JAR libraries from the server side and specify them in the newly created data source?
Do you have other Exist-related data sources and connections set up? Maybe they somehow interfere with this...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
fschmitt
Posts: 5

Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240

Fri Feb 08, 2019 12:08 pm

Sorry for my late reply - creating the eXist-db connection using the wizard solved the problem, thanks a lot @Radu! The issue related to a db connection i've created manually a while ago. I'm still not sure why the connection stopped to work after the last upgrade, but since it works now, everything's fine. :D
Radu
Posts: 6050

Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240

Fri Feb 08, 2019 12:12 pm

Great, thanks for updating the thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests