[JIRA] Created: (APF-1037) Blank Page when providing a base expression in a JSP

6 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink
Blank Page when providing a base expression in a JSP
----------------------------------------------------

                 Key: APF-1037
                 URL: http://issues.appfuse.org/browse/APF-1037
             Project: AppFuse
          Issue Type: Bug
          Components: Web - General, Web - Struts
    Affects Versions: 2.0.1
            Reporter: Dan Hardiker
            Assignee: Matt Raible
            Priority: Critical
         Attachments: screen-capture-24.png

*Issue*
If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.

I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.

*Replication*
# Setup a simple Struts based AppFuse site
# Create/find an action which has an object (for me this was a List<Customer>)
# Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
# Run the action and you should end up with a white screen and nothing in the logs

*Solution*
Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.

Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12398 ]

Matt Raible commented on APF-1037:
----------------------------------

I was able to reproduce this problem, but have no idea how to fix it. Struts 2 is pretty bad at reporting error messages when you fat-finger something.

http://raibledesigns.com/rd/entry/does_struts_2_suck

Your best bet might be to stick with Struts Tags instead of JSTL.

> Blank Page when providing a base expression in a JSP
> ----------------------------------------------------
>
>                 Key: APF-1037
>                 URL: http://issues.appfuse.org/browse/APF-1037
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - General, Web - Struts
>    Affects Versions: 2.0.1
>            Reporter: Dan Hardiker
>            Assignee: Matt Raible
>            Priority: Critical
>         Attachments: screen-capture-24.png
>
>
> *Issue*
> If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.
> I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.
> *Replication*
> # Setup a simple Struts based AppFuse site
> # Create/find an action which has an object (for me this was a List<Customer>)
> # Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
> # Run the action and you should end up with a white screen and nothing in the logs
> *Solution*
> Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.
> Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ http://issues.appfuse.org/browse/APF-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12455 ]

Mike Wille commented on APF-1037:
---------------------------------

I have the same issue, but I am using WebMVC and not Struts.  So it appears that it is related to JSTL?



> Blank Page when providing a base expression in a JSP
> ----------------------------------------------------
>
>                 Key: APF-1037
>                 URL: http://issues.appfuse.org/browse/APF-1037
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - General, Web - Struts
>    Affects Versions: 2.0.1
>            Reporter: Dan Hardiker
>            Assignee: Matt Raible
>            Priority: Critical
>         Attachments: screen-capture-24.png
>
>
> *Issue*
> If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.
> I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.
> *Replication*
> # Setup a simple Struts based AppFuse site
> # Create/find an action which has an object (for me this was a List<Customer>)
> # Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
> # Run the action and you should end up with a white screen and nothing in the logs
> *Solution*
> Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.
> Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ http://issues.appfuse.org/browse/APF-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12456 ]

Mike Wille commented on APF-1037:
---------------------------------

Searching further on this, I found a mailing list message, which you likely have already seen:

http://markmail.org/message/xyt5grivwhs7pazs

As in the message, disabling the gzip filter worked!  Matt, you may want to disable gzip by default for new projects and let people turn it on.  After all, the performance gain for local use isn't noticeable.



> Blank Page when providing a base expression in a JSP
> ----------------------------------------------------
>
>                 Key: APF-1037
>                 URL: http://issues.appfuse.org/browse/APF-1037
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - General, Web - Struts
>    Affects Versions: 2.0.1
>            Reporter: Dan Hardiker
>            Assignee: Matt Raible
>            Priority: Critical
>         Attachments: screen-capture-24.png
>
>
> *Issue*
> If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.
> I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.
> *Replication*
> # Setup a simple Struts based AppFuse site
> # Create/find an action which has an object (for me this was a List<Customer>)
> # Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
> # Run the action and you should end up with a white screen and nothing in the logs
> *Solution*
> Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.
> Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1037:
-----------------------------

    Fix Version/s: 2.1

> Blank Page when providing a base expression in a JSP
> ----------------------------------------------------
>
>                 Key: APF-1037
>                 URL: http://issues.appfuse.org/browse/APF-1037
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - General, Web - Struts
>    Affects Versions: 2.0.1
>            Reporter: Dan Hardiker
>            Assignee: Matt Raible
>            Priority: Critical
>             Fix For: 2.1
>
>         Attachments: screen-capture-24.png
>
>
> *Issue*
> If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.
> I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.
> *Replication*
> # Setup a simple Struts based AppFuse site
> # Create/find an action which has an object (for me this was a List<Customer>)
> # Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
> # Run the action and you should end up with a white screen and nothing in the logs
> *Solution*
> Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.
> Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1037) Blank Page when providing a base expression in a JSP

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1037:
-----------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> Blank Page when providing a base expression in a JSP
> ----------------------------------------------------
>
>                 Key: APF-1037
>                 URL: http://issues.appfuse.org/browse/APF-1037
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - General, Web - Struts
>    Affects Versions: 2.0.1
>            Reporter: Dan Hardiker
>            Assignee: Matt Raible
>            Priority: Critical
>             Fix For: 2.1.0-M2
>
>         Attachments: screen-capture-24.png
>
>
> *Issue*
> If you trigger an expression lookup on an object that exists, but get it looking for a method which doesn't, you will end up with a blank screen and nothing in the logs -- at best you have to figure out what you last changed in the JSP/Velocity file, at worst you have to go through it line-by-line to find the problem.
> I suspect this might be specific to WebWork/Struts but it could be deeper, my stacks point to {{org.apache.jasper.runtime.PageContextImpl.evaluateExpression()}} on line 984. What strikes me as odd is that when downloading the source for Apache Tomcat v4.1, v5.5 and v6.0, none of the PageContextImpl.java files have more than 940 lines in them! I must be looking at the wrong file.
> *Replication*
> # Setup a simple Struts based AppFuse site
> # Create/find an action which has an object (for me this was a List<Customer>)
> # Add the following (or similar) to the result JSP: <c:out value="${customers.kaboom}"/> (customers must be an object, and kaboom can't exist)
> # Run the action and you should end up with a white screen and nothing in the logs
> *Solution*
> Good question ... I'm happy to help if someone can give me some pointers as I'm stuck at this point.
> Ideas?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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