[
https://issues.jboss.org/browse/GTNPORTAL-3176?page=com.atlassian.jira.pl...
]
Viliam Rockai commented on GTNPORTAL-3176:
------------------------------------------
The NPE is not an issue now. Right now the situation is:
After deleting the "mobile" site you still are able to see it as a redirect
option at the bottom of the page. Note that this issue is related to the redirect portlet
at the bottom of each page, not the redirect *admin* portlet. After clicking on the
*mobile* link, you got 404 in the browser and in the console there is:
{noformat}13:34:51,365 ERROR [org.exoplatform.web.WebAppController]
(http-/127.0.0.1:8080-4) Could not associate the request path=/mobile/home with an
handler{noformat}
Deleting a site used in redirects leads into NPE
------------------------------------------------
Key: GTNPORTAL-3176
URL:
https://issues.jboss.org/browse/GTNPORTAL-3176
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.6.0.Final
Reporter: Viliam Rockai
Assignee: Alexandre Mendonça
Fix For: 3.6.2.Final, 3.7.0.Final
When you delete a site, which is used in portal redirects, it causes several bugs. For
instance, try to delete "mobile" site (delete in site management menu). You can
still see a link to mobile site in the redirect portlet at the bottom of the page and
after accessing it's redirect configuration you'll see a NPE:
16:09:32,840 ERROR [stderr] (http-/127.0.0.1:8080-5) java.lang.NullPointerException
16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at
org.gatein.ui.admin.redirect.beans.EditRedirectBean.loadRedirectNodes(EditRedirectBean.java:639)
16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at
org.gatein.ui.admin.redirect.beans.EditRedirectBean.load(EditRedirectBean.java:605)
16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira