Closed laurenwalker closed 4 years ago
It seems a bug in the old version of xcerces. See: https://issues.apache.org/jira/browse/XERCESJ-589 Someone on the above link said:
I've run across this problem in every version of xerces (that I've used) to date. Looking at the code for the matchString function, the problem appears to be the recursive nature of the function. No matter what size the stack is set to, you always run into this problem if you supply a large enough string to parse. This is due to the function pulling a chunk off of the parse string and recursively calling the function on the remainder. Given that a string could be any length (ie 10,000 characters or even more) thats a lot of recursive calls. The only real solution to this problem is to rewrite the function in an iterative form thus alleviating the excessive usage of the stack.
I upgraded the xerces version from 2.7.1 to 2.12.0. It works now.
Great sleuthing, thanks Jing!
You are welcome, Lauren. Thank you for you patience. On 10/17/19 12:33 PM, Lauren Walker wrote:
Great sleuthing, thanks Jing!
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/NCEAS/metacat/issues/1394?email_source=notifications&email_token=AB5QQDFB6PKJMEFFDVHHZ4LQPC4Z7A5CNFSM4I5GTQ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBRINIQ#issuecomment-543327906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5QQDENDT26VPKK4XTO6ULQPC4Z7ANCNFSM4I5GTQ6Q.
I sometimes get an error response from Metacat when creating or updating portal objects. This tends to happen after metacat or metacat-index is updated. This is on the feature-project-indexing branch.
When I try to save it again, I get the following error: