On Wed, 23 Jan 2013 13:54:58 -0200, Peter Farkas
wrote:
Thiago H de Paula Figueiredo wrote
I'm sorry, but you're wrong here. It has absolutely nothing to do with
loops. Nothing. The issue, as I've said before, was not passing a
parameter in an later AJAX render. The first render, a full page
simple :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Null-pointer-exception-when-updating-a-component-in-a-loop-tp5719424p5719452.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
On Wed, 23 Jan 2013 06:03:33 -0200, Peter Farkas
wrote:
Thanks a lot, Thiago! Yes, passing the child as a context parameter
fixes it.
;)
I think Tapestry does try to figure out the component parameters for a
partial update, but for loops, it can't.
I'm sorry, but you're wrong here. It
ndered multiple
times with different parameters. Thus the component injected by
is always the same and doesn't hold the information for a particular
iteration.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Null-pointer-exception-when-updating-a-component-in-a-lo
You said:
When rendering the AJAX response, Tapestry tries to evaluate an
expression on 'child' (*), but 'child' is null.Why does Tapestry need
the value of 'child'? How is it supposed to know?
The stack trace says the problem is elsewhere:
[ERROR] batch.ViewBatch Render queue error in
B
Ok. There are more nested components than necessary, though.
ExecutableRowPair.tml:
ExecutableRowPair.java:
Stack trace (actually the null pointer exception is in ExecutableRowPair):
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Null-pointer-exception-when
x27; is null.
Why does Tapestry need the value of 'child'? How is it supposed to know?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Null-pointer-exception-when-updating-a-component-in-a-loop-tp5719424.html
Sent
r.java, I'm injecting the component as follows:
When rendering the AJAX response, Tapestry tries to evaluate an expression
on 'child' (*), but 'child' is null.
Why does Tapestry need the value of 'child'? How is it supposed to know?
--
View this message in
On Wed, 11 Jul 2012 12:34:04 -0300, Norman Franke wrote:
I've got those before as well, and that was the problem. Perhaps
Tapestry could handle that better and just select the first item in this
case?
Pallete is a multiple object selection component, so, in my humble
opinion, this soluti
I've got those before as well, and that was the problem. Perhaps Tapestry could
handle that better and just select the first item in this case?
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Jul 10, 2012, at 8:11 AM, Thiago H de Paula Figueiredo wrote:
> On Tue, 10 Jul 2
Thanks Thiago I'll bear that in mind, next time the problem occurs
On Jul 10, 2012 1:11 PM, "Thiago H de Paula Figueiredo"
wrote:
> On Tue, 10 Jul 2012 08:54:25 -0300, Jabbar wrote:
>
> I think I found the problem, although I'm not 100% sure. I deleted the
>> data which populated the selected p
On Tue, 10 Jul 2012 08:54:25 -0300, Jabbar wrote:
I think I found the problem, although I'm not 100% sure. I deleted the
data which populated the selected property of the palette component and
then
added the data back into the database. The problem has disappeared.
NPEs in Palette happen
ta.
On 10 July 2012 09:47, Jabbar wrote:
> Hello all,
>
> I've just spent too long trying to track down a null pointer exception I'm
> having in the Palette component. The partial stack trace I keep getting is
>
> [ERROR] pages.RepairPage Render
is = null;
>
> os.close();
> }
> finally
> {
> InternalUtils.close(is);
> }
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com
estry.1045711.n5.nabble.com/Null-Pointer-Exception-tp5698238p5699340.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail:
-Pointer-Exception-tp5698238p5699330.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
Thanks,
But I searched my all project and this is not in my code.
Thanks again,
I"ll keep looking.
Simon
On 5/9/12 2:39 PM, "Lance Java" wrote:
>I think you might be explicitly calling close() on the response
>outputstream somewhere in your code which you shouldn't do. It's the
>servlet c
I think you might be explicitly calling close() on the response
outputstream somewhere in your code which you shouldn't do. It's the
servlet container's responsibility and I think it's failing when tomcat is
trying to close() a stream that has already been closed.
I could be wrong too ;)
Hi All,
I have a Tapestry 5.2.6 Application in production running on Tomcat 7. In
general everything is running smoothly but from time to time I get the
exception below. I did not get any user complain related to it, so I can't
really attached it to any specific operation a user does. I did not se
ctSelected() {
final TestObject obj = getLoopObject();
// This line causes a nullpointerexception
final boolean notNull = selected != null;
return notNull && selected.containsKey(obj.getId());
}
If I use the default Session persistence then I don't get the
-
Von: Steve Shucker [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 12. September 2006 16:03
An: Tapestry users
Betreff: Re: WG: Question: Can not get access to object fields (Null Pointer
Exception) pls pls help!
As a general rule, it's safer to put the literal first in statements
like
uld be pleased, if anybody could
give me an advice for my problem.
Greettings from Germany,
Michael Wölm
Original message is under this.
-Ursprüngliche Nachricht-
Von: m-woelm [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 10. September 2006 16:13
An: 'Tapestry users'
Betreff: Questio
incomprehensible? I would be pleased, if anybody could
> give me an advice for my problem.
>
> Greettings from Germany,
> Michael Wölm
>
> Original message is under this.
>
> -Ursprüngliche Nachricht-
> Von: m-woelm [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 10. Septem
my problem.
Greettings from Germany,
Michael Wölm
Original message is under this.
-Ursprüngliche Nachricht-
Von: m-woelm [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 10. September 2006 16:13
An: 'Tapestry users'
Betreff: Question: Can not get access to object fields (Null Point
-
Von: m-woelm [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 10. September 2006 16:13
An: 'Tapestry users'
Betreff: Question: Can not get access to object fields (Null Pointer
Exception)
Hi,
I hope anybody could explain me why I get a Null Pointer Exception, if I
want to get access to a f
Hi,
I hope anybody could explain me why I get a Null Pointer Exception, if I
want to get access to field of an object. My method is similar to the
eshop-project of the book Enjoying web dev with Tapestry.
I tried to change the Listener-method onLogin as follows:
public void onLogin
26 matches
Mail list logo