[
https://issues.jboss.org/browse/GTNPORTAL-3202?page=com.atlassian.jira.pl...
]
Nick Scavelli commented on GTNPORTAL-3202:
------------------------------------------
Looks like for invalid URL's the portal will choose a default site/page to render. The
PortalRequest impl has been updated to behave similar this way as well for public API.
NPE when going to nonexisting user site from mobile site
--------------------------------------------------------
Key: GTNPORTAL-3202
URL:
https://issues.jboss.org/browse/GTNPORTAL-3202
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Mobile
Affects Versions: 3.6.1.Final
Reporter: Marek Posolda
Assignee: Nick Scavelli
Priority: Optional
Fix For: 3.7.0.Final
- Go to
http://localhost:8080/portal/classic
- Click to "mobile" link, which redirects me to
http://localhost:8080/portal/mobile
- Now go to
http://localhost:8080/portal/u/lolo (Directly change URL in browser). This
will throw NPE
{code}
Caused by: java.lang.NullPointerException
at
org.gatein.portlet.responsive.features.FeaturesPortlet.generateFeaturePageLink(FeaturesPortlet.java:63)
at
org.gatein.portlet.responsive.features.FeaturesPortlet.doView(FeaturesPortlet.java:50)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:259)
{code}
--
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