You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a java application using eXist-db 2.2 as a database (eXist-db is installed as a standalone server). We use queries to retrieve or update the XML documents stored in the database.
We are trying to use eXist-db 4.2 but, when I try to update a document to add new nodes with "update insert following/preceding/into", I got a null pointer exception in org.exist.xquery.update.Modification class and the update isn't done.
The same query works with eXist-db 2.2.
I tested it with eXist-db 5.0.0-RC1 but I got the same error.
What did you expect
Not a NPE but update the document
Describe how to reproduce or add a test
Attached are the query and the XML file.
Th XML can be uploaded in a collection (/db/AGD) and the query update.xqy can be run with eXide.
Context information
eXist-db version 4.2.0 build 201806060100 - Git commit a0dfbd0
Java version 1.8.0_121
Operating system Windows Server 2008 R2
64 bit
eXist-db is installed as a standalone server, from the eXist-db.org setup jar , with no change to the conf.xml file (apart for the cache size).
What is the problem
We have a java application using eXist-db 2.2 as a database (eXist-db is installed as a standalone server). We use queries to retrieve or update the XML documents stored in the database.
We are trying to use eXist-db 4.2 but, when I try to update a document to add new nodes with "update insert following/preceding/into", I got a null pointer exception in org.exist.xquery.update.Modification class and the update isn't done.
The same query works with eXist-db 2.2.
I tested it with eXist-db 5.0.0-RC1 but I got the same error.
What did you expect
Not a NPE but update the document
Describe how to reproduce or add a test
Attached are the query and the XML file.
Th XML can be uploaded in a collection (/db/AGD) and the query update.xqy can be run with eXide.
Context information
eXist-db version 4.2.0 build 201806060100 - Git commit a0dfbd0
Java version 1.8.0_121
Operating system Windows Server 2008 R2
64 bit
eXist-db is installed as a standalone server, from the eXist-db.org setup jar , with no change to the conf.xml file (apart for the cache size).
Attached are also the eXist-db logs
logs.zip
resources.zip
The text was updated successfully, but these errors were encountered: