You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Musachy Barroso <mu...@gmail.com> on 2009/04/15 23:16:18 UTC

Re: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

is this a plain application or are you using Sitemesh or Tiles?

musachy

2009/4/15 Néstor Boscán <ne...@gmail.com>:
> When using jsp:include or s:include in a JSP page the next Struts 2 tags
> will throw:
>
>
>
>  java.lang.NullPointerException
>
>      at
>
>  org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentT
>
>  agSupport.java:50) This happens with WebLogic 10.3 but doesn't happen
>
>  in OC4J 10.1.3.4.
>
>
>
> on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
>
>
>
> I created a simple project with an Action and two JSP pages and the problem
> reproduces.
>
>
>
> Regards,
>
>
>
> Néstor Boscán
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

Posted by Néstor Boscán <ne...@gmail.com>.
Here is the war file. You have to add the Struts 2 core libraries.

Regards,

Néstor Boscán

-----Mensaje original-----
De: Martin Gainty [mailto:mgainty@hotmail.com] 
Enviado el: Wednesday, April 15, 2009 8:30 PM
Para: Struts Users Mailing List
Asunto: RE: When using jsp:include or s:include in a JSP page the next
Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3



if you attach the war offline.. I'll test it here

Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note
de déni et de confidentialité 
This message is confidential. If you should not be the intended receiver,
then we ask politely to report. Each unauthorized forwarding or
manufacturing of a copy is inadmissible. This message serves only for the
exchange of information and has no legal binding effect. Due to the easy
manipulation of emails we cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.






> Date: Wed, 15 Apr 2009 17:34:56 -0400
> Subject: Re: When using jsp:include or s:include in a JSP page the next
Struts 	2 tags will throw java.lang.NullPointerException on WebLogic 10.3
> From: musachy@gmail.com
> To: user@struts.apache.org
> 
> can you post your filter config? I cannot test on weblogic, but maybe
> someone else can.
> 
> musachy
> 
> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
> > Plain vanilla application. Just the Filter, an Action, two JSPs, and the
> > struts tags.
> > Regards,
> >
> > Néstor Boscán
> >
> > On Wed, Apr 15, 2009 at 4:46 PM, Musachy Barroso <mu...@gmail.com>
wrote:
> >
> >> is this a plain application or are you using Sitemesh or Tiles?
> >>
> >> musachy
> >>
> >> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
> >> > When using jsp:include or s:include in a JSP page the next Struts 2
tags
> >> > will throw:
> >> >
> >> >
> >> >
> >> >  java.lang.NullPointerException
> >> >
> >> >      at
> >> >
> >> >
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentT
> >> >
> >> >  agSupport.java:50) This happens with WebLogic 10.3 but doesn't
happen
> >> >
> >> >  in OC4J 10.1.3.4.
> >> >
> >> >
> >> >
> >> > on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
> >> >
> >> >
> >> >
> >> > I created a simple project with an Action and two JSP pages and the
> >> problem
> >> > reproduces.
> >> >
> >> >
> >> >
> >> > Regards,
> >> >
> >> >
> >> >
> >> > Néstor Boscán
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> "Hey you! Would you help me to carry the stone?" Pink Floyd
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> 
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Upd
ates1_042009


RE: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

Posted by Martin Gainty <mg...@hotmail.com>.

if you attach the war offline.. I'll test it here

Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.






> Date: Wed, 15 Apr 2009 17:34:56 -0400
> Subject: Re: When using jsp:include or s:include in a JSP page the next Struts 	2 tags will throw java.lang.NullPointerException on WebLogic 10.3
> From: musachy@gmail.com
> To: user@struts.apache.org
> 
> can you post your filter config? I cannot test on weblogic, but maybe
> someone else can.
> 
> musachy
> 
> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
> > Plain vanilla application. Just the Filter, an Action, two JSPs, and the
> > struts tags.
> > Regards,
> >
> > Néstor Boscán
> >
> > On Wed, Apr 15, 2009 at 4:46 PM, Musachy Barroso <mu...@gmail.com> wrote:
> >
> >> is this a plain application or are you using Sitemesh or Tiles?
> >>
> >> musachy
> >>
> >> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
> >> > When using jsp:include or s:include in a JSP page the next Struts 2 tags
> >> > will throw:
> >> >
> >> >
> >> >
> >> >  java.lang.NullPointerException
> >> >
> >> >      at
> >> >
> >> >  org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentT
> >> >
> >> >  agSupport.java:50) This happens with WebLogic 10.3 but doesn't happen
> >> >
> >> >  in OC4J 10.1.3.4.
> >> >
> >> >
> >> >
> >> > on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
> >> >
> >> >
> >> >
> >> > I created a simple project with an Action and two JSP pages and the
> >> problem
> >> > reproduces.
> >> >
> >> >
> >> >
> >> > Regards,
> >> >
> >> >
> >> >
> >> > Néstor Boscán
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> "Hey you! Would you help me to carry the stone?" Pink Floyd
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> 
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009

Re: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

Posted by Musachy Barroso <mu...@gmail.com>.
can you post your filter config? I cannot test on weblogic, but maybe
someone else can.

musachy

2009/4/15 Néstor Boscán <ne...@gmail.com>:
> Plain vanilla application. Just the Filter, an Action, two JSPs, and the
> struts tags.
> Regards,
>
> Néstor Boscán
>
> On Wed, Apr 15, 2009 at 4:46 PM, Musachy Barroso <mu...@gmail.com> wrote:
>
>> is this a plain application or are you using Sitemesh or Tiles?
>>
>> musachy
>>
>> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
>> > When using jsp:include or s:include in a JSP page the next Struts 2 tags
>> > will throw:
>> >
>> >
>> >
>> >  java.lang.NullPointerException
>> >
>> >      at
>> >
>> >  org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentT
>> >
>> >  agSupport.java:50) This happens with WebLogic 10.3 but doesn't happen
>> >
>> >  in OC4J 10.1.3.4.
>> >
>> >
>> >
>> > on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
>> >
>> >
>> >
>> > I created a simple project with an Action and two JSP pages and the
>> problem
>> > reproduces.
>> >
>> >
>> >
>> > Regards,
>> >
>> >
>> >
>> > Néstor Boscán
>> >
>> >
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

Posted by Néstor Boscán <ne...@gmail.com>.
Plain vanilla application. Just the Filter, an Action, two JSPs, and the
struts tags.
Regards,

Néstor Boscán

On Wed, Apr 15, 2009 at 4:46 PM, Musachy Barroso <mu...@gmail.com> wrote:

> is this a plain application or are you using Sitemesh or Tiles?
>
> musachy
>
> 2009/4/15 Néstor Boscán <ne...@gmail.com>:
> > When using jsp:include or s:include in a JSP page the next Struts 2 tags
> > will throw:
> >
> >
> >
> >  java.lang.NullPointerException
> >
> >      at
> >
> >  org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentT
> >
> >  agSupport.java:50) This happens with WebLogic 10.3 but doesn't happen
> >
> >  in OC4J 10.1.3.4.
> >
> >
> >
> > on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
> >
> >
> >
> > I created a simple project with an Action and two JSP pages and the
> problem
> > reproduces.
> >
> >
> >
> > Regards,
> >
> >
> >
> > Néstor Boscán
> >
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>