Cannot alter shortcut portlet preferences after export/import from 301 to 35

  • 3223876
  • 01-May-2007
  • 26-Apr-2012

Environment

Novell User Application 3.0.1
Novell User Application 3.5

Situation

When you export the Shortcut portlet or an instance of the Shortcut portlet from 3.0.1 and import it into 3.5, the export/import is successful but when you go in to Administration> Portlet Admin > select the imported shortcut portlet > click on View/Edit Custom Preference > Continue, you get the following error in the preferences window:

ERROR: "PortletContainerImpl: failed to run the portlet:'ShortcutComplexPrefEditor'."

Also, the following error in the server console:

ERROR:
"11:48:23,767 ERROR [EboPortletProxyHelper] PortletContainerImpl: failed to run the portlet: 'ShortcutComplexPrefEditor'. com.novell.afw.portlet.exception.EboPortletOperationException: PortletContainerImpl: failed to run the portlet:'ShortcutComplexPrefEditor'. "
*for complete stack please see additional notes

Resolution

This is currently listed as a bug to be addressed in a future version.

This has been fixed in Novell User Application 3.5.1.

Additional Information

Complete stack with error in the server console:

ERROR:
"11:48:23,767 ERROR [EboPortletProxyHelper] PortletContainerImpl: failed to run the portlet: 'ShortcutComplexPrefEditor'. com.novell.afw.portlet.exception.EboPortletOperationException: PortletContainerImpl: failed to run the portlet:'ShortcutComplexPrefEditor'. "
at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:521)
at com.novell.afw.portlet.core.EboPortletContainer.getMarkup(EboPortletContainer.java:218) at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.processOperation(EboPortletConsumerContainer.java:260) at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.getMarkup(EboPortletConsumerContainer.java:176)
at com.novell.afw.portal.proxy.EboPortletContainerProxy.getMarkup(EboPortletContainerProxy.java:226) at com.novell.afw.portal.aggregation.EboPortletProxyHelper.renderPortlet(EboPortletProxyHelper.java:289) at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.renderSynchPortlets(EboPortalAggregationHelper.java:1294)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.callRender(EboPortalAggregationHelper.java:1384)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.initiateRendering(EboPortalAggregationControllerImpl.java:1448)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.renderPortalResponse(EboPortalAggregationControllerImpl.java:907)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.handlePortletRequest(EboPortalAggregationServlet.java:533) at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.callService(EboPortalAggregationServlet.java:284) at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.doGet(EboPortalAggregationServlet.java:122) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:145) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source) Caused by: javax.portlet.PortletException at com.novell.afw.portal.portlet.util.ComplexPrefEditorPortlet.doView(ComplexPrefEditorPortlet.java:198) at javax.portlet.GenericPortlet.doDispatch(Unknown Source) at javax.portlet.GenericPortlet.render(Unknown Source)
at com.novell.soa.portlet.IDMBasePortlet.render(IDMBasePortlet.java:86) at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:462) ... 37 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.novell.afw.util.EboXmlUtil.parseInputSource(EboXmlUtil.java:420) at com.novell.afw.util.EboXmlUtil.createDocument(EboXmlUtil.java:236)
at com.novell.afw.portal.portlet.util.ComplexPrefUtil.getPrefsForEditor(ComplexPrefUtil.java:244) at com.novell.afw.portal.portlet.util.ComplexPrefEditorPortlet.doView(ComplexPrefEditorPortlet.java:169) ... 41 more