Foren

error when clicking on config link in custom portlet

Vijay Srivastava, geändert vor 12 Jahren.

error when clicking on config link in custom portlet

New Member Beiträge: 22 Beitrittsdatum: 02.08.10 Neueste Beiträge
Hi,

I'm getting an error when I click configuration tab of the custom portlet. The error is as below . I'm using wl10.3 and LR 6.0.5 EE edition. Configuration on other OOB portlets work fine. Any pointer will be helpful.

<Jul 21, 2011 8:47:08 AM EDT> <Error> <HTTP> <BEA-101362> <[weblogic.servlet.internal.WebAppServletContext@b682c89 - appName: 'liferay-portal-6', name: 'liferay-portal-6.0-ee-sp1.war', context-path: '/cpb', spec-version: '2.5'] could not deserialize the request scoped attribute with name: "THEME_DISPLAY"
java.io.NotSerializableException: com.liferay.portal.kernel.util.StringBundler
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
Truncated. see log file for complete stacktrace
>
08:47:08,991 ERROR [jsp:154] java.lang.NullPointerException
at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:292)
at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:278)
at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:313)
at com.liferay.portlet.PortletPreferencesFactoryUtil.getPortletSetup(PortletPreferencesFactoryUtil.java:121)
at com.citi.icg.portlet.action.ConfigurationActionImpl.render(ConfigurationActionImpl.java:88)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
at com.liferay.portlet.portletconfiguration.action.EditConfigurationAction.render(EditConfigurationAction.java:109)
at com.liferay.portal.struts.PortletAction.execute(PortletAction.java:103)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at com.liferay.portal.struts.PortletRequestProcessor.processActionPerform(PortletRequestProcessor.java:323)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:224)
at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:250)
at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:145)
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:201)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653)
at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:724)

regards
Vijay Srivastava, geändert vor 12 Jahren.

RE: error when clicking on config link in custom portlet

New Member Beiträge: 22 Beitrittsdatum: 02.08.10 Neueste Beiträge
below is weblogic.xml of my portlet. And LR is running in /cpb context

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<page-check-seconds>60</page-check-seconds>
<precompile>false</precompile>
<precompile-continue>false</precompile-continue>
</jsp-descriptor>
<container-descriptor>
<optimistic-serialization>true</optimistic-serialization>
<show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor>
<context-root>/cpb-proxy-portlet</context-root>
<session-descriptor>
<sharing-enabled>true</sharing-enabled>
</session-descriptor>
</weblogic-web-app>
Vijay Srivastava, geändert vor 12 Jahren.

RE: error when clicking on config link in custom portlet

New Member Beiträge: 22 Beitrittsdatum: 02.08.10 Neueste Beiträge
Hi, Can anyone please advice. I tried deploying everything in my windows wl 10.3 server everything works fine however the same thing is giving error in unix box. Can the wl installation be an issue ?

regards
Vijay Srivastava, geändert vor 12 Jahren.

RE: error when clicking on config link in custom portlet

New Member Beiträge: 22 Beitrittsdatum: 02.08.10 Neueste Beiträge
I think there's no problem with my code. I prepared google-map-portlet war , comes with tomcat bundle and deployed in LR 6 EE edition , weblogic 10.3.2. in RHEL5 box. I got the same error as in my portlet( posted earlier in the discussion), when its configuration link is clicked. Has anyone tried it or got the same issue.? Is this a known bug.? Any pointer will be helpful.