« Return to Thread: Error 400 after update, solved by querying Function Library

Re: Error 400 after update, solved by querying Function Library

by Dannes Wessels-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Joe,

On Thu, May 15, 2008 at 2:12 AM, Joe Wicentowski <joewiz@...> wrote:

> 2008-05-14 19:39:14,294 [P1-2] DEBUG (XQueryContext.java
> [checkOptions]:2439) - Setting serialization property from pragma: method = xhtml
> 2008-05-14 19:39:14,294 [P1-2] DEBUG (XQueryContext.java
> [checkOptions]:2439) - Setting serialization property from pragma: media-type = text/html
> 2008-05-14 19:39:14,305 [P1-2] DEBUG (XQuery.java [execute]:222) - Execution took 10 ms
> 2008-05-14 19:39:14,305 [P1-2] DEBUG (HTTPUtils.java [addLastModifiedHeader]:61) - mostRecentDocumentTime: 0
> 2008-05-14 19:39:14,306 [P1-2] DEBUG (XIncludeFilter.java [startElement]:212) - processing include ...
> 2008-05-14 19:39:14,306 [P1-2] DEBUG (XIncludeFilter.java [processXInclude]:268) - found href="/db/frus/includes/header.xq"
> 2008-05-14 19:39:14,307 [P1-2] WARN  (RESTServer.java [printResults]:1195) - java.lang.NullPointerException
>        at org.exist.storage.serializers.XIncludeFilter.processXInclude(XIncludeFilter.java:365)
>        at org.exist.storage.serializers.XIncludeFilter.startElement(XIncludeFilter.java:214)
>        at org.exist.memtree.DocumentImpl.startNode(DocumentImpl.java:933)
>        at org.exist.memtree.DocumentImpl.streamTo(DocumentImpl.java:875)
>        at org.exist.memtree.NodeImpl.streamTo(NodeImpl.java:635)
>        at org.exist.storage.serializers.Serializer.serializeToReceiver(Serializer.java:871)
>        at org.exist.storage.serializers.Serializer.serializeToReceiver(Serializer.java:864)
>        at org.exist.storage.serializers.Serializer.toSAX(Serializer.java:819)
>        at org.exist.http.RESTServer.printResults(RESTServer.java:1186)
>        at org.exist.http.RESTServer.executeXQuery(RESTServer.java:987)
>        at org.exist.http.RESTServer.doGet(RESTServer.java:309)
>        at org.exist.http.servlets.EXistServlet.doGet(EXistServlet.java:316)

Thnx for making some additional investigations. I think you have
isolated the issue in the code; a NPE should never occur.

regards

Dannes

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

 « Return to Thread: Error 400 after update, solved by querying Function Library