Viliam Rockai created GTNPORTAL-3176:
----------------------------------------
Summary: 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
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