NPE in Page Flow

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

NPE in Page Flow

Ryan Puddephatt
All,
   I got a NPE when using @when in c:result element of the page flow when I hadn't provided an @action on the c:action element. Took me a while to realise this! I only had a @view on the c:page, but I tried the XPL as a @model and got the same NPE, would it be possible to provide a better error message or use the input from the @model or @view?

Thanks

Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: NPE in Page Flow

Alessandro  Vernet
Administrator
Ryan,

I created an example to reproduce this, and added a bug. You can track it at:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306532&group_id=168&atid=350207

Alex

On 12/22/06, Ryan Puddephatt <[hidden email]> wrote:

>
> All,
>    I got a NPE when using @when in c:result element of  the page flow when I hadn't provided an @action on the c:action element. Took me  a while to realise this! I only had a @view on the c:page, but I tried the XPL  as a @model and got the same NPE, would it be possible to provide a better error  message or use the input from the @model or @view?
>
> Thanks
>
> Ryan
>
>
>
>
>
> Ryan  Puddephatt
> Software  Engineer
>
>
> Teleflex Group - IT  UK
> 1 Michaelson  Square
> Livingston
> West  Lothian
> Scotland
> EH54  7DP
>
> e> [hidden email]
> t>  +44(0)1506 407 110
> f> +44(0)1506 407  108
> w> www.teleflex.com
>
>
>


--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet