0 Replies Latest reply on Jul 18, 2005 10:45 AM by iwadasn

    Strange CME stack trace....

    iwadasn Newbie


      I get this stack trace sometime after deploying my app, but before anything is called. This is probably a bug in my code, but it would be nice if JBoss could catch this exception and print some sort of error message that at least shows me where to look. As is, I hardly know where to begin. If you could print which object is being serialized, that would be very helpful. The easiest way to do this might be to make your proxies have writeObject and readObject methods that catch all Exceptions, and rethrow the exception including the classname of the object they are wrapping, or at least log some info.


      2578.634: [Full GC 2578.634: [CMS: 51214K->52310K(983040K), 2.3514810 secs] 88466K->52310K(1023936K), [CMS Perm : 36332K->35990K(48316K)] icms_dc=10 , 2.3524120 secs]
      2641.009: [Full GC 2641.010: [CMS: 52310K->51934K(983040K), 2.0197360 secs] 59246K->51934K(1023936K), [CMS Perm : 36024K->36022K(59988K)] icms_dc=10 , 2.0203020 secs]
      2643.050: [GC [1 CMS-initial-mark: 51934K(983040K)] 52049K(1023936K), 0.0074880 secs]
      2643.058: [CMS-concurrent-mark-start]
      10:37:58,816 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jboss.ha.jndi.DetachedHANamingService$BootstrapRequestHandler@735a55
      java.util.ConcurrentModificationException
      at java.util.ArrayList.writeObject(ArrayList.java:573)
      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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
      at org.jboss.ha.framework.interfaces.HARMIClient.writeObject(HARMIClient.java:250)
      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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
      at java.rmi.MarshalledObject.(MarshalledObject.java:92)
      at org.jboss.ha.jndi.DetachedHANamingService$BootstrapRequestHandler.run(DetachedHANamingService.java:676)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:595)
      2676.017: [GC 2676.017: [ParNew: 40832K->0K(40896K), 0.0671120 secs] 92766K->53960K(1023936K) icms_dc=10 , 0.0676110 secs]