From: Nick S. <nsi...@nu...> - 2020-11-28 07:26:30
|
Hi Joe, I appreciate the effort in trying to recreate the issue. Your experience is what I would expect would happen. The question I was asking was, is there any way to fix a "Find in files" search that returns an exception? Is there any information I can provide that would help someone with an educated eye understand why this search is not working on my system? Is there anything I can do to fix this issue or should I just install a fresh eXIst-db and migrate my data over to that install? Nick On 11/27/20 3:07 PM, Joe Wicentowski wrote: > Hi Nick, > > I just downloaded eXist 4.7.1 and performed a clean installation. I > went to the package manager and applied all available updates: eXide > (2.4.9), Shared Resources (0.9.1), FunctX (1.0.1), and Monex (1.0.1). > Then I went to eXide, selected Edit > Find in Files, copied your > selections - of "Type: XQuery" and "In: All", entered a keyword of my > choosing, "concat", and hit the Search button. The search results came > back without error. Attached is a screenshot showing the results, with > the Developer Tools open showing the response. > > Thus, I'm afraid I'm unable to reproduce the error you describe. > > Best, > Joe > > On Wed, Nov 25, 2020 at 2:23 PM Nick Sincaglia <nsi...@nu... > <mailto:nsi...@nu...>> wrote: > > From what I can tell, all search terms are throwing the error. > > On 11/25/20 11:02 AM, Joe Wicentowski wrote: >> Does any search term produce the error, or only some? Ideally, >> we’d have a term that will produce the error on a stock system. >> >> On Wed, Nov 25, 2020 at 11:54 AM Nick Sincaglia >> <nsi...@nu... <mailto:nsi...@nu...>> wrote: >> >> I am using eXist-db version = eXist Version: 4.7.1 >> >> The steps to produce it are: >> >> Once in eXide, I navigate to the "Edit" menu. Click the pull >> down menu. Select "Find in file". Enter my search term in the >> "Search" bar in the pop-up window. Select "XQuery" in the >> 'Type' pull down. Click the "All" radio button. Then click >> the "Search" button in the lower left hand corner of the the >> Pop-up window. >> >> Nick >> >> On 11/25/20 10:46 AM, Joe Wicentowski wrote: >>> Hi Nick, >>> >>> Which version of eXist and eXide? >>> >>> Can you provide steps to reproduce the error on a stock >>> installation of eXist? >>> >>> Joe >>> >>> On Wed, Nov 25, 2020 at 11:30 AM Nick Sincaglia >>> <nsi...@nu... <mailto:nsi...@nu...>> wrote: >>> >>> Occasionally, I come across this issue and I was >>> wondering if anyone >>> might have a suggestion on how to address it. >>> >>> When I am using eXide, I try to use the "Find in files" >>> pull down and I >>> get the below error. I tried re-indexing my database. >>> That does not >>> work. I found /apps/eXide/modules/search.xql and added a >>> white space to >>> the bottom of the file and re-saved it. I have this >>> helps sometimes when >>> eXist-db can't locate a file. >>> >>> Any suggestions on how to resolve this issue? >>> >>> >>> HTTP ERROR 500 >>> >>> Problem accessing /apps/eXide/modules/search.xql. Reason: >>> >>> Server Error >>> >>> Caused by: >>> >>> javax.servlet.ServletException: >>> javax.servlet.ServletException: An error >>> occurred while processing request to >>> /apps/eXide/modules/search.xql: An >>> error occurred: null >>> at >>> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) >>> at >>> org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) >>> at >>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) >>> at >>> org.eclipse.jetty.server.Server.handle(Server.java:502) >>> at >>> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) >>> at >>> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) >>> at >>> org.eclipse.jetty.io >>> <http://org.eclipse.jetty.io>.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) >>> at org.eclipse.jetty.io >>> <http://org.eclipse.jetty.io>.FillInterest.fillable(FillInterest.java:103) >>> at org.eclipse.jetty.io >>> <http://org.eclipse.jetty.io>.ChannelEndPoint$2.run(ChannelEndPoint.java:118) >>> at >>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) >>> at >>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) >>> at >>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) >>> at >>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) >>> at >>> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) >>> at >>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) >>> at >>> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) >>> at java.lang.Thread.run(Thread.java:748) >>> Caused by: javax.servlet.ServletException: An error >>> occurred while >>> processing request to /apps/eXide/modules/search.xql: An >>> error occurred: >>> null >>> at >>> org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:370) >>> at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:790) >>> at >>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) >>> at >>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) >>> at >>> de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) >>> at >>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) >>> at >>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) >>> at >>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >>> at >>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) >>> at >>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) >>> at >>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) >>> at >>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) >>> at >>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) >>> at >>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) >>> at >>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) >>> at >>> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) >>> at >>> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) >>> ... 16 more >>> >>> -- >>> Nick Sincaglia >>> President/Founder >>> NueMeta, LLC >>> Digital Media & Technology >>> Phone: +1-630-303-7035 >>> nsi...@nu... <mailto:nsi...@nu...> >>> http://www.nuemeta.com <http://www.nuemeta.com> >>> Skype: nsincaglia >>> >>> >>> >>> _______________________________________________ >>> Exist-open mailing list >>> Exi...@li... >>> <mailto:Exi...@li...> >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> <https://lists.sourceforge.net/lists/listinfo/exist-open> >>> >> >> -- >> Nick Sincaglia >> President/Founder >> NueMeta, LLC >> Digital Media & Technology >> Phone: +1-630-303-7035 >> nsi...@nu... <mailto:nsi...@nu...> >> http://www.nuemeta.com <http://www.nuemeta.com> >> Skype: nsincaglia >> >> -- >> Sent from my iPhone > > -- > Nick Sincaglia > President/Founder > NueMeta, LLC > Digital Media & Technology > Phone: +1-630-303-7035 > nsi...@nu... <mailto:nsi...@nu...> > http://www.nuemeta.com <http://www.nuemeta.com> > Skype: nsincaglia > -- Nick Sincaglia President/Founder NueMeta, LLC Digital Media & Technology Phone: +1-630-303-7035 nsi...@nu... http://www.nuemeta.com Skype: nsincaglia |