I happened to have 2.6.5 which was working on my system before the upgrade to 2.7.0. It looks like it has changed and the iconLocation variable is no longer initialized to null along with other changes.
| <%! | private String getIcon(PortletInfo info) | { | String iconLocation = null; | if (info instanceof CorePortletInfo) | { | CorePortletInfo cInfo = (CorePortletInfo)info; | PortletInfoInfo portletInfo = cInfo.getPortletInfo(); | if (portletInfo != null && portletInfo.getPortletIconInfo() != null && portletInfo.getPortletIconInfo().getIconLocation(PortletIconInfo.SMALL) != null) | { | iconLocation = portletInfo.getPortletIconInfo().getIconLocation(PortletIconInfo.SMALL); | } | } | if (iconLocation == null) | { | iconLocation = PortletContentEditorPortlet.DEFAULT_PORTLET_ICON; | } | return iconLocation; | } | %> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186867#4186867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186867 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user