|
From: <cle...@jb...> - 2006-06-06 02:10:43
|
There is some classLoading isolation problem. A class that you can serialize is not available when you are unloading it. I would need a testcase to work on if this is not the scenario. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949259#3949259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949259 |
|
From: rpa_rio <do-...@jb...> - 2006-06-06 14:44:21
|
i'll create a small webapp ASAP. Can i create a jira ticket? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949386#3949386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949386 |
|
From: <cle...@jb...> - 2006-06-06 17:46:33
|
Sure you can. if you could attach instrutions on how to reproduce the error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949439#3949439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949439 |
|
From: rpa_rio <do-...@jb...> - 2006-06-07 12:38:46
|
Reproduce is not easy, the user must navigate a little and do some actions and the error happens... Very strange... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949586#3949586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949586 |
|
From: <cle...@jb...> - 2006-06-07 14:23:52
|
If you could create a WAR (with source code), I could try to reproduce it here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949619#3949619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949619 |
|
From: <cle...@jb...> - 2006-06-07 14:52:33
|
BTW: You are using 1.0.1.GA, right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949627#3949627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949627 |
|
From: rpa_rio <do-...@jb...> - 2006-06-08 00:51:43
|
yes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949748#3949748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949748 |
|
From: <cle...@jb...> - 2006-06-08 17:00:11
|
can you try CVS now? I guess this was JBSER-77 . You will also find a jar on http://jira.jboss.com/jira/browse/JBSER-78 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949922#3949922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949922 |
|
From: rpa_rio <do-...@jb...> - 2006-06-12 14:36:22
|
I downloaded the sources from cvs and build the jar, but no sucess... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950461#3950461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950461 |
|
From: rpa_rio <do-...@jb...> - 2006-06-12 16:32:43
|
This bug is very difficult to reproduce. I have the war here, but this error only occurs few times. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950482#3950482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950482 |
|
From: <cle...@jb...> - 2006-06-12 16:53:08
|
Is com.sun.facelets.impl.DefaultFacelet$DefaultToken serializable? If not... does com.sun.facelets.impl.DefaultFacelet$DefaultToken has a default constructor? In what circunstances you would have DefaultToken created? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950485#3950485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950485 |
|
From: rpa_rio <do-...@jb...> - 2006-06-12 17:00:41
|
Look this: https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/impl/DefaultFacelet.java?rev=1.9&view=markup Yes for both questions. I need investigate the third question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950487#3950487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950487 |
|
From: iktuz <do-...@jb...> - 2006-06-13 17:08:12
|
Hi folks. I am getting the same error:
| java.io.IOException
| =09at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMet=
hod(RegularObjectPersister.java:107)
| =09at org.jboss.serial.persister.RegularObjectPersister.defaultRead(Reg=
ularObjectPersister.java:269)
| =09at org.jboss.serial.persister.RegularObjectPersister.readData(Regula=
rObjectPersister.java:241)
| =09at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObje=
ctDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
| =09at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFr=
omDescription(ObjectDescriptorFactory.java:81)
| =09at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput=
.readObject(DataContainer.java:841)
| =09at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledO=
bjectForLocalCalls.java:60)
| =09at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalIntercep=
tor.java:61)
| =09at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat=
ion.java:101)
| =09at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRem=
oteProxy.java:102)
| =09at $Proxy93.getMMSList(Unknown Source)
|=20
Here you can analyse the method implementation:
|=20
| //...
| @Stateless(name =3D OperationService.NAME)
| @Remote(OperationRemote.class)
| @Local(OperationLocal.class)
| public class OperationServiceImpl implements OperationRemote, Operation=
Local {
|=20
| public List<MMSEvent> getMMSList(final String id, final SearchFilter fi=
lter,
| final RequestInfo reqInfo) throws InvalidKeyException,
| IllegalArgumentException, NoSuchAlgorithmException,
| NoSuchPaddingException, IllegalBlockSizeException,
| BadPaddingException, SQLException, ClassNotFoundException,
| InstantiationException, IllegalAccessException,
| InvocationTargetException, IOException {
|=20
| setResultClass(MMSEvent.class);
| final Object[] params =3D new Object[] { id };
| return performSelect(MMS_LIST, params);
| }
| //...
| }
|=20
Actually I think that the code above is not so much interesting in fact, bu=
t what is returned by it:
| package br.com.suntech.vigiadados.ext.service.oper;
|=20
| import java.io.Serializable;
| import java.sql.Blob;
| import java.sql.Date;
|=20
| import br.com.suntech.util.database.persistence.annot.ColumnAnnotation;
|=20
| /**
| * It encapsulates:
| * <li>String peerPhone;</li>
| * <li>String originator;</li>
| * <li>Blob payload;</li>
| * <li>Date reportTime;</li>
| */
| @SuppressWarnings("serial")
| public class MMSEvent implements Serializable {
|=20
| @ColumnAnnotation(columnName =3D "PEER_PHONE")
| private String peerPhone;
|=20
| @ColumnAnnotation(columnName =3D "ORIGINATOR")
| private String originator;
|=20
| @ColumnAnnotation(columnName =3D "PAYLOAD")
| private Blob payload;
|=20
| @ColumnAnnotation(columnName =3D "REPORT_TIME")
| private Date reportTime;
|=20
| public String getOriginator() {
| return originator;
| }
|=20
| public void setOriginator(String originator) {
| this.originator =3D originator;
| }
|=20
| public Blob getPayload() {
| return payload;
| }
|=20
| public void setPayload(Blob payload) {
| this.payload =3D payload;
| }
|=20
| public String getPeerPhone() {
| return peerPhone;
| }
|=20
| public void setPeerPhone(String peerPhone) {
| this.peerPhone =3D peerPhone;
| }
|=20
| public Date getReportTime() {
| return reportTime;
| }
|=20
| public void setReportTime(Date reportTime) {
| this.reportTime =3D reportTime;
| }
|=20
| }
|=20
The method getMMSList(...) performs without problems because I put sysout=
=C2=B4s between each line and all are printed :) I suspect that the blob fi=
eld is the villain. So I am guessing that during the serialization process =
the problem occurs. Has someone any idea what is going on? Thanks a lot dud=
es, bye.
View the original post : http://www.jboss.com/index.html?module=3Dbb&op=3Dv=
iewtopic&p=3D3950706#3950706
Reply to the post : http://www.jboss.com/index.html?module=3Dbb&op=3Dpostin=
g&mode=3Dreply&p=3D3950706
|
|
From: <cle...@jb...> - 2006-06-13 19:55:04
|
"iktuz" wrote : Hi folks. I am getting the same error: It looks like this is a different error. Can you provide the whole stack trace? (I'm interested in the causes of the IOException). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950736#3950736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950736 |
|
From: iktuz <do-...@jb...> - 2006-06-14 11:34:44
|
"cle...@jb..." wrote : "iktuz" wrote : Hi folks. I am getting the same error: | | It looks like this is a different error. Can you provide the whole stack trace? (I'm interested in the causes of the IOException). | Hi Clebert, here we go... | java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) | at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102) | at $Proxy93.getMMSList(Unknown Source) | at br.com.suntech.vigiadados.ext.client.service.oper.OperationClientService.getMMSList(OperationClientService.java:96) | at br.com.suntech.vigiadados.ext.client.action.oper.OperationAction.loadOperationData(OperationAction.java:134) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274) | at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194) | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | 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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) | at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) | at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) | at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | 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 org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at br.com.suntech.vigiadados.ext.client.action.login.LoginFilter.doFilter(LoginFilter.java:36) | 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.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.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(Thread.java:595) | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 63 more | Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.T4CConnection - oracle.jdbc.driver.T4CConnection | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:327) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFrom | 2006-06-14 08:28:58,755 INFO [STDOUT] Description(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:591) | ... 68 more | Caused by: java.lang.InstantiationException: oracle.jdbc.driver.T4CConnection | at java.lang.Class.newInstance0(Class.java:335) | at java.lang.Class.newInstance(Class.java:303) | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:319) | ... 87 more | As I suspected, when I comment the blob field in MMSEvent class, this problem does not happen. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950820#3950820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950820 |
|
From: rpa_rio <do-...@jb...> - 2006-06-14 11:40:10
|
Clement, The ApplyToken is only Externalizable, not Serializable and has a default constructor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950814#3950814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950814 |
|
From: <cle...@jb...> - 2006-06-14 18:03:29
|
Add the word transient on that field (as you would do on any Serializable class). This way JBossSerializaiton will ignore that field. The Blob is not serializable hence you can't have it as part of your Stateful Bean. I'm not sure if @Transient will infere transient or not. This is something I might work on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950924#3950924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950924 |
|
From: <cle...@jb...> - 2006-06-15 06:09:55
|
http://jira.jboss.com/jira/browse/JBSER-80 I guess I have reproduced the bug. It always happens when you have a private inner class implementing Externalizable. Maybe your property is set to null and only when your property is set the Persister is activated generating the error. I will be working on. A workaround would be: - Make the class public. - Make the class Serializable (hummm... maybe.. I have to check this one). I will be working on this. Thanks a lot for reporting this. Clebert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951023#3951023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951023 |
|
From: <cle...@jb...> - 2006-06-15 07:43:43
|
I already have a fix for this, but I can't commit now due to a network problem. (I'm working from a hotel, and I can't commit the code now).
But if you want to try the fix, you can change SunConstructorManager, method getConstructor according to this:
| if (Externalizable.class.isAssignableFrom(clazz))
| {
| Constructor constr = class.getConstructor(EMPTY_CLASS_ARRY);
| constr.setAccessible(true);
| return constr;
| }
|
JBossSerialization has a package called PersistentReference what will rebuild SoftReferences on reflection on case of SoftReferences clean up (happening when the Memory goes low).
When that happened the setAccessible(true) was not being called at SunConstructorManager (only at ClassMetaData Constructor), and that was the mistake.
I have a testcase and the fix sitting on my lap top, and this should be committed by tomorrow morning.
Thanks again,
Clebert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951044#3951044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951044
|
|
From: <cle...@jb...> - 2006-06-15 21:12:17
|
I already have the fix commited on CVS. I don't have the testcase added yet, but this should be considered fixed. I didn't commit the testcase because network problems again, but I could manage to commit the fix. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951145#3951145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951145 |
|
From: rpa_rio <do-...@jb...> - 2006-06-16 16:48:24
|
The previous error seens to be gone, now i'm getting this error: javax.faces.FacesException: java.io.IOException at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:179) at org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:140) at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:102) at org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:430) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:606) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:181) 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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:169) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor866.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 34 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.util.ArrayList.writeObject(Unknown Source) ... 38 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor866.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 49 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.util.ArrayList.writeObject(Unknown Source) ... 53 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor866.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 64 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.util.ArrayList.writeObject(Unknown Source) ... 68 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 88 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79) at org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68) at org.hibernate.impl.SessionImpl.writeObject(SessionImpl.java:199) ... 93 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 101 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:275) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.hibernate.engine.StatefulPersistenceContext.writeObject(StatefulPersistenceContext.java:244) ... 106 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor865.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 113 more Caused by: java.io.IOException: Metadata Serialization Error at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:192) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:197) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.util.HashMap.writeObject(Unknown Source) ... 117 more Caused by: java.lang.NullPointerException at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:190) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951348#3951348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951348 |
|
From: <cle...@jb...> - 2006-06-16 20:35:53
|
Can you reproduce it with a testcase? It looks like you always get this error. At least I would be able to fix any further problems if you could produce one testcase for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951389#3951389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951389 |
|
From: rpa_rio <do-...@jb...> - 2006-07-10 17:17:44
|
No, because there's some database communication, the only think that i know this is happens when i have some null values in my class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956652#3956652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956652 |
|
From: <cle...@jb...> - 2006-07-10 17:56:56
|
Can you download sourcecode from CVS and try again? I have made some changes on ClassLoading operations. Maybe that will solve your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956673#3956673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956673 |
|
From: rpa_rio <do-...@jb...> - 2006-07-10 18:37:24
|
Nothing. Same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956696#3956696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956696 |