java.util.NoSuchElementException: Head of empty stream

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.util.NoSuchElementException: Head of empty stream

mgamsjager
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: java.util.NoSuchElementException: Head of empty stream

Alessandro  Vernet
Administrator
Hi Matthias,

Could you try with the latest nightly build? I am saying this because
we have seen something similar, and we fixed it recently. And of
course, this will be included in the 4.0.1 we are planning to release
soon.

Alex

On Tue, Feb 19, 2013 at 5:39 AM, mgamsjager <[hidden email]> wrote:

> This error occurs sometimes when I open a form in the builder. It usually
> disappears after reloading once or twice. According to the log this happens
> when the builder tries to open the library form for this application which
> does not exist.
>
> I thought the reason was that I didn't respond with a 404 but with a
> 203(noContent) on our custom persistance layer. Changing it to 404 didn't
> solve the issue tho.
>
> Calling the url for the library returns a contentLength=0 and status 404. So
> I am a bit confused about the premature end of file error.
>
> This is on 4.0 night build of 4 feb.
>
>
> java trace
> scala.collection.immutable.Stream$Empty$ head Stream.scala      1000
>
>
> log entry:
> ageFlowControllerProcessor  -
> +----------------------------------------------------------------------------------------------------------------------+
> |An Error has Occurred
> |
> |----------------------------------------------------------------------------------------------------------------------|
> |Fatal error: Premature end of file.
> |
> |----------------------------------------------------------------------------------------------------------------------|
> |Application Call Stack
> |
> |----------------------------------------------------------------------------------------------------------------------|
> |oxf:/forms/orbeon/builder/service/form-to-xbl.xsl        |    |
> |executing XSLT transformation                     |
> |oxf:/forms/orbeon/builder/service/toolbox.xpl            |  83|  57|reading
> processor output                          |
> |oxf:/forms/orbeon/builder/service/toolbox.xsl            |    |
> |executing XSLT transformation                     |
> |oxf:/forms/orbeon/builder/service/toolbox.xpl            |  93|  48|reading
> processor output                          |
> |oxf:/forms/orbeon/builder/service/toolbox.xpl            |  99|  52|reading
> processor output                          |
> |oxf:/forms/orbeon/builder/service/toolbox.xpl            |    |
> |executing XSLT transformation                     |
> |oxf:/forms/orbeon/builder/service/toolbox.xpl            | 103|
> 45|executing processor                               |
> |oxf:/apps/fr/page-flow.xml                               | 148|  60|reading
> page model data output
>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/java-util-NoSuchElementException-Head-of-empty-stream-tp4656269.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet