Forums de discussion

Cluster env - NotSerializableException for FileUploadRendererPrimeFacesImpl

Éric Barboza, modifié il y a 10 années.

Cluster env - NotSerializableException for FileUploadRendererPrimeFacesImpl

New Member Publications: 11 Date d'inscription: 28/10/13 Publications récentes
Hi there,

I have just set up a clustered environment and got the exception below while trying to save a uploaded image using p:fileUpload component from primefaces.
I was wondering if any of you could help me with ideas for solving it.

If you need further information, please ask me.

Thanks in advance.


Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:252)
        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:269)
        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:165)
        ... 74 more
Caused by: org.infinispan.marshall.NotSerializableException: com.liferay.faces.bridge.renderkit.primefaces.FileUploadRendererPrimeFacesImpl
Caused by: an exception which occurred:
        in field this$0
        in field fileItem
        in field uploadedFile
        in field savedState
        in object java.util.HashMap@c0232428
        in object org.jboss.as.clustering.SimpleMarshalledValue@c0232428
        in object org.infinispan.atomic.PutOperation@2b0f7e19
        in object java.util.LinkedList@c0ea736b
        in object org.infinispan.atomic.AtomicHashMapDelta@593a27de
        in object org.infinispan.commands.write.PutKeyValueCommand@433b6333
        in object org.infinispan.commands.tx.PrepareCommand@653ad1b5









thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces (Réponse)

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Hi Éric,

Thanks so much for reporting this issue. It was a simple problem to identify, so we just fixed it with FACES-1768.

When you get a chance, please try the 3.1.4-ga5-SNAPSHOT version of the Liferay Faces artifacts found at the snapshot repository.

(Note that you might need to wait until 6:00 PM BRST before the continuous integration server has rebuilt the jars)

Kind Regards,

Neil
Éric Barboza, modifié il y a 10 années.

RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces

New Member Publications: 11 Date d'inscription: 28/10/13 Publications récentes
Hi Neil,

First of all I have to thank you for your quick response.

Secondly I have to say that my app worked perfectly using 3.1.4-ga5-SNAPSHOT version of the Liferay Faces artifacts.

Thanks for your support.
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
It's our pleasure Éric, and thanks for using Liferay Faces. emoticon