掲示板

composite component - NotSerializableException ..LiferayActionURLImpl

10年前 に Vassilis Petropoulos によって更新されました。

composite component - NotSerializableException ..LiferayActionURLImpl

Junior Member 投稿: 26 参加年月日: 12/04/10 最新の投稿
Hi,

i am trying to create a composite component like:
http://balusc.blogspot.gr/2013/01/composite-component-with-multiple-input.html

but i am getting the following error:
NotSerializableException: com.liferay.faces.bridge.container.liferay.LiferayActionURLImpl
...
...
at com.sun.faces.renderkit.ClientSideStateHelper.doWriteState(ClientSideStateHelper.java:403)
at com.sun.faces.renderkit.ClientSideStateHelper.writeState(ClientSideStateHelper.java:189)
at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:122)
at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:113)
at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
at com.liferay.faces.bridge.application.ViewHandlerCompatImpl.renderView(ViewHandlerCompatImpl.java:35)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)


Regards,
Vassilis
thumbnail
10年前 に Kyle Joseph Stiemann によって更新されました。

RE: composite component - NotSerializableException ..LiferayActionURLImpl

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi Vassilis,
Are you holding a reference to the LiferayActionURLImpl in your "Backing Component"?

- Kyle
10年前 に Vassilis Petropoulos によって更新されました。

RE: composite component - NotSerializableException ..LiferayActionURLImpl

Junior Member 投稿: 26 参加年月日: 12/04/10 最新の投稿
Hi,

not at all. I am using the example as it is!

Regards,
Vassilis
thumbnail
10年前 に Kyle Joseph Stiemann によって更新されました。

RE: composite component - NotSerializableException ..LiferayActionURLImpl

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
I tried to reproduce your error by including the component in the JSF2 demo portlet instead of the inputText for date, but it seemed to work fine. I also set it to client side state saving like you have, and it still worked. I was running it in Tomcat though. Are you running in a different App Server?

Maybe you could upload source for your project.

- Kyle
10年前 に Vassilis Petropoulos によって更新されました。

RE: composite component - NotSerializableException ..LiferayActionURLImpl

Junior Member 投稿: 26 参加年月日: 12/04/10 最新の投稿
You are absolutely right!
Upgrading to 3.0.3-ga4 my problem gone!

Thanks for your time!
Vassilis
thumbnail
10年前 に Kyle Joseph Stiemann によって更新されました。

RE: composite component - NotSerializableException ..LiferayActionURLImpl

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Glad to hear it. Thanks for using Liferay Faces!

- Kyle