What could possibly cause the exception below?
It surfaces on an xforms save request, after the request has passed through a proxy I wrote myself. ERROR ProcessorService - Exception at line 46, column 51 of oxf:/ops/xforms/xforms-server.xpl (executing processor: name='{http://www.orbeon.com/oxf/processors}url-generator') org.orbeon.oxf.common.ValidationException: line 46, column 51 of oxf:/ops/xforms/xforms-server.xpl (executing processor: name='{http://www.orbeon.com/oxf/processors}url-generator'): URL generator found null URL for config: <config><url/></config> oxf:/ops/xforms/xforms-server.xpl, line 46, column 51: URL generator found null URL for config: <config><url/></config> at org.orbeon.oxf.processor.generator.URLGenerator$1$1.read(URLGenerator.java:334) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332) at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:310) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:258) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$ConcreteRuntimeOutputFilter$ForwarderRuntimeOutputOutput.read(ProcessorOutputImpl.java:219) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262) at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:226) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:258) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:404) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$ConcreteRuntimeOutputFilter.read(ProcessorOutputImpl.java:242) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:404) -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
On 06/20/2012 10:39 PM, Thomas Menke wrote:
> What could possibly cause the exception below? > [stack trace] oh ok, that's embarrassing: I was not forwarding the http request body in my proxy. Sorry for that... Thomas -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Phew ;) -Erik
On Wed, Jun 20, 2012 at 2:52 PM, Thomas Menke <[hidden email]> wrote: > On 06/20/2012 10:39 PM, Thomas Menke wrote: >> >> What could possibly cause the exception below? >> [stack trace] > > > oh ok, that's embarrassing: I was not forwarding the http request body in my > proxy. Sorry for that... > > Thomas > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Thomas Menke
Hi Thomas,
This is exactly it. And this is an error that can be logged when Ajax requests are sent by the browser, and somehow the request is interrupted before the body makes it to Orbeon Forms, which can happen for a variety of reasons. It would be worthwhile to catch that special case in our code, and log a more meaningful error. I added the following RFE for this: https://github.com/orbeon/orbeon-forms/issues/325 Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |