Quantcast

Bug 2957 - tiles insert is throwing null pointer exception

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug 2957 - tiles insert is throwing null pointer exception

santosh gokak
I am hitting the bug https://issues.apache.org/struts/browse/STR-2957 (
tiles insert is throwing null pointer exception when invoking from
nested insert Tag.)
I am using struts 1.2.9 release.
Any body is planned to take up this bug?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

Antonio Petrelli-3
2008/2/25, santosh gokak <[hidden email]>:
>
> I am hitting the bug https://issues.apache.org/struts/browse/STR-2957 (
> tiles insert is throwing null pointer exception when invoking from
> nested insert Tag.)
> I am using struts 1.2.9 release.
> Any body is planned to take up this bug?



I don't think so. If you want to correct it, post a patch to the issue
itself.

Antonio
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

santosh gokak
Can you suggest me how to?

On Mon, Feb 25, 2008 at 4:04 PM, Antonio Petrelli
<[hidden email]> wrote:

> 2008/2/25, santosh gokak <[hidden email]>:
>
>
> >
>  > I am hitting the bug https://issues.apache.org/struts/browse/STR-2957 (
>  > tiles insert is throwing null pointer exception when invoking from
>  > nested insert Tag.)
>  > I am using struts 1.2.9 release.
>  > Any body is planned to take up this bug?
>
>
>
>  I don't think so. If you want to correct it, post a patch to the issue
>  itself.
>
>  Antonio
>



--
Santosh G Gokak

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

Antonio Petrelli-3
2008/2/25, santosh gokak <[hidden email]>:
>
> Can you suggest me how to?



http://struts.apache.org/helping.html

Antonio
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

santosh gokak
Hi Antonio,

Thanks for getting me started.
I have the 1.2.9 source along with me.
do you know the reason of this NPE been thrown?
I too would debug and try to find it.
I have also registered and voted for the bug :)

~Santosh

On Mon, Feb 25, 2008 at 4:13 PM, Antonio Petrelli
<[hidden email]> wrote:

> 2008/2/25, santosh gokak <[hidden email]>:
>  >
>
> > Can you suggest me how to?
>
>
>
>  http://struts.apache.org/helping.html
>
>  Antonio
>



--
Santosh G Gokak

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

Antonio Petrelli-3
2008/2/25, santosh gokak <[hidden email]>:
>
> Thanks for getting me started.
> I have the 1.2.9 source along with me.
> do you know the reason of this NPE been thrown?
> I too would debug and try to find it.
> I have also registered and voted for the bug :)



Ok sorry for the "too-fast" answer.
The reason for not fixing this bugs outselves is the fact that Tiles 2
exists:
http://tiles.apache.org/
and that the Tiles 1 bug can be circumvented (most probably you have a
<tiles:insert> that is not bound to any attribute value).
So you have three options:
1) since you are using JSF and not Struts, migrate to Tiles 2 (best option
IMHO);
2) create a patch (I don't know how to fix it, download the source from the
svn trunk);
3) stick with the bug, that can be fixed on your code.

Sorry for this.
Antonio
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Bug 2957 - tiles insert is throwing null pointer exception

Rose India (http://www.roseindia.net)
In reply to this post by Antonio Petrelli-3
Hi

What actually you want to know?
If you are looking for Jakarta Struts Tutorial then see the

Jakarta Struts Tutorial & resources
http://www.roseindia.net/struts/

Best regards
Meeya Roy


-----Original Message-----
From: Antonio Petrelli [mailto:[hidden email]]
Sent: Monday, February 25, 2008 1:43 PM
To: Struts Users Mailing List
Subject: Re: Bug 2957 - tiles insert is throwing null pointer exception


2008/2/25, santosh gokak <[hidden email]>:
>
> Can you suggest me how to?



http://struts.apache.org/helping.html

Antonio


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Bug 2957 - tiles insert is throwing null pointer exception

newton.dave
--- "India, Rose (http://[REDACTED])" wrote:
> What actually you want to know?
> If you are looking for Jakarta Struts Tutorial then see the
>
> Jakarta Struts Tutorial & resources
> http://[REDACTED]

That wasn't even *close*.

At least the other ones were vaguely related to the question being asked.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

santosh gokak
1) since you are using JSF and not Struts, migrate to Tiles 2 (best option
IMHO);
>>I am using struts 1.2.9.Is it possible to move to tiles 2 with this version?

2) create a patch (I don't know how to fix it, download the source from the
svn trunk);
>>Need to findn time for this.

3) stick with the bug, that can be fixed on your code.
>>any suggestions :)

On Mon, Feb 25, 2008 at 8:37 PM, Dave Newton <[hidden email]> wrote:

> --- "India, Rose (http://[REDACTED])" wrote:
>  > What actually you want to know?
>  > If you are looking for Jakarta Struts Tutorial then see the
>  >
>  > Jakarta Struts Tutorial & resources
>  > http://[REDACTED]
>
>  That wasn't even *close*.
>
>  At least the other ones were vaguely related to the question being asked.
>
>  Dave
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [hidden email]
>  For additional commands, e-mail: [hidden email]
>
>



--
Santosh G Gokak

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 2957 - tiles insert is throwing null pointer exception

Antonio Petrelli-3
2008/2/26, santosh gokak <[hidden email]>:
>
> 1) since you are using JSF and not Struts, migrate to Tiles 2 (best option
> IMHO);
>
> >>I am using struts 1.2.9.Is it possible to move to tiles 2 with this
> version?



Uh! I am very sorry, I don't know where I read that you use JSF :-O
Anyway, you can migrate as long as you don't use Struts-Tiles glue code,
such as forwarding to a Tiles definition and using a Struts action as a
controller (called "preparer" in Tiles 2).

3) stick with the bug, that can be fixed on your code.
>
> >>any suggestions :)



This problem happens when some of the attributes are not filled. You should
check them out to see which is failing.
We can help you in this case: post your interesting parts of
tiles-defs.xmland JSP pages and we will try it.

Ciao
Antonio
Loading...