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] Resolved: (JS2-942) When there are no decorator defaults in root folder, causes stack trace in browser
Date Fri, 27 Mar 2009 23:14:50 GMT

     [ https://issues.apache.org/jira/browse/JS2-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Sean Taylor resolved JS2-942.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4

committed fix to 2.2, also backported decorator name check for null fix to 2.1.4 

> When there are no decorator defaults in root folder, causes stack trace in browser
> ----------------------------------------------------------------------------------
>
>                 Key: JS2-942
>                 URL: https://issues.apache.org/jira/browse/JS2-942
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Decorations/Themes
>    Affects Versions: 2.2-M1
>            Reporter: David Sean Taylor
>            Assignee: David Sean Taylor
>             Fix For: 2.1.4, 2.2-M1
>
>
> During testing and usage, I suddenly started getting errors like:
> java.lang.NullPointerException
> 	org.apache.jetspeed.util.Path.splitPath(Path.java:288)
> 	org.apache.jetspeed.util.Path.<init>(Path.java:100)
> 	org.apache.jetspeed.util.Path.addSegment(Path.java:339)
> 	org.apache.jetspeed.decoration.DecorationFactoryImpl.getLayoutDecorationBasePath(DecorationFactoryImpl.java:469)
> I discovered that the PSML root folder.metadata had no default decorators. I am not sure
if I somehow I deleted this XML element with the customizer (I don't remember doing so), or
if its a bug in the system. I have never seen this bug in the 2.1.x branch, so I will keep
an eye out for it happening again. This work provided to fix this issue will:
> * make the decorator factory defaults more robust, so that it can be configured to fallback
to a system-wide default if it fails to find defaults anywhere else (like in the desktop)
> * configure a fatal exception handler in the Jetpeed Servlet so our end users do not
have to view a stack trace

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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