portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-558) Only "NULL" is shown in browser at what seems to be random intervals.
Date Mon, 24 Jul 2006 16:55:17 GMT
    [ http://issues.apache.org/jira/browse/JS2-558?page=comments#action_12423097 ] 
            
David Sean Taylor commented on JS2-558:
---------------------------------------

Looking at 2.0 final source, line 196 in LayoutPortlet.java:

                absViewPage = jpt.getTemplate(viewPage + "/" + JetspeedPowerTool.LAYOUT_TEMPLATE_TYPE
+ ".vm",
                        JetspeedPowerTool.LAYOUT_TEMPLATE_TYPE).getAppRelativePath();

One of the parameters in the statement above must be null.
Ensure that:

1. viewPage is not null. viewPage comes from either a preference or init parameter
2. jpt.getTemplate could be returning null. Although in reviewing the code, I don't see how
this could happen



> Only "NULL" is shown in browser at what seems to be random intervals.
> ---------------------------------------------------------------------
>
>                 Key: JS2-558
>                 URL: http://issues.apache.org/jira/browse/JS2-558
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.0-FINAL
>         Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running in jdk1.5.0_03.
Jetspeed 2.0 Final.
>            Reporter: Eivinn Hustveit
>         Assigned To: David Sean Taylor
>            Priority: Blocker
>         Attachments: Jetspeed_stacktrace.txt
>
>
> Everything works fine in the portal most of the time, but at random intervals "NULL"
is the only text rendered by the browser. I have looked at the jetspeed.log and found out
that it prints out a stacktrace which seems to come from the rendering of the layout portlet.
I will try to upload this as an attachement.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message