Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Éric Barboza
Cluster env - NotSerializableException for FileUploadRendererPrimeFacesImpl
28 octobre 2013 11:39
Réponse

Éric Barboza

Rang: New Member

Publications: 9

Date d'inscription: 28 octobre 2013

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.

 1
 2Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
 3        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:252)
 4        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:269)
 5        at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:165)
 6        ... 74 more
 7Caused by: org.infinispan.marshall.NotSerializableException: com.liferay.faces.bridge.renderkit.primefaces.FileUploadRendererPrimeFacesImpl
 8Caused by: an exception which occurred:
 9        in field this$0
10        in field fileItem
11        in field uploadedFile
12        in field savedState
13        in object java.util.HashMap@c0232428
14        in object org.jboss.as.clustering.SimpleMarshalledValue@c0232428
15        in object org.infinispan.atomic.PutOperation@2b0f7e19
16        in object java.util.LinkedList@c0ea736b
17        in object org.infinispan.atomic.AtomicHashMapDelta@593a27de
18        in object org.infinispan.commands.write.PutKeyValueCommand@433b6333
19        in object org.infinispan.commands.tx.PrepareCommand@653ad1b5
Neil Griffin
RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces
28 octobre 2013 12:04
Réponse

Neil Griffin

LIFERAY STAFF

Rang: Liferay Legend

Publications: 2179

Date d'inscription: 26 juillet 2005

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
RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces
29 octobre 2013 08:28
Réponse

Éric Barboza

Rang: New Member

Publications: 9

Date d'inscription: 28 octobre 2013

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.
Neil Griffin
RE: Cluster env - NotSerializableException for FileUploadRendererPrimeFaces
29 octobre 2013 12:40
Réponse

Neil Griffin

LIFERAY STAFF

Rang: Liferay Legend

Publications: 2179

Date d'inscription: 26 juillet 2005

Publications Récentes

It's our pleasure Éric, and thanks for using Liferay Faces. emoticon