1 Reply Latest reply on Jun 16, 2006 6:58 AM by Ann Connell

    UndeclaredThrowableException Caused by: java.io.NotSerializa

    Ann Connell Newbie

      Hi,

      I'm currently migrating an application from JBOSS 4.0.0DR3 to JBOSS 4.0.4.GA. I've made no changes to code, just deployed the ear that was working on 4.0.0 to the 4.0.4 deployment. I get lots of UndeclaredThrowableExceptions Caused byjava.io.NotSerializableException as in the example below. I'm presuming this is a configuration problem since as i say it worked on 4.0.0. Any ideas would be much appreciated.



      13:17:21,864 ERROR [STDERR] java.lang.reflect.UndeclaredThrowableException
      13:17:21,864 ERROR [STDERR] at $Proxy109.getSearchedDocuments(Unknown Source
      )
      13:17:21,864 ERROR [STDERR] at Admin.DocSearchAction.execute(DocSearchAction
      .java:58)
      13:17:21,864 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.pro
      cessActionPerform(RequestProcessor.java:431)
      13:17:21,864 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.pro
      cess(RequestProcessor.java:236)
      13:17:21,864 ERROR [STDERR] at org.apache.struts.action.ActionServlet.proces
      s(ActionServlet.java:1196)
      13:17:21,864 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost
      (ActionServlet.java:432)
      13:17:21,864 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:717)
      13:17:21,864 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:810)
      13:17:21,864 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:252)
      13:17:21,864 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      13:17:21,874 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
      r.doFilter(ReplyHeaderFilter.java:96)
      13:17:21,914 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:202)
      13:17:21,914 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      13:17:21,914 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
      .invoke(StandardWrapperValve.java:213)
      13:17:21,914 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
      .invoke(StandardContextValve.java:178)
      13:17:21,914 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
      tionValve.invoke(SecurityAssociationValve.java:175)
      13:17:21,934 ERROR [STDERR] at org.apache.catalina.authenticator.Authenticat
      orBase.invoke(AuthenticatorBase.java:432)
      13:17:21,934 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
      e.invoke(JaccContextValve.java:74)
      13:17:21,934 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
      voke(StandardHostValve.java:126)
      13:17:21,934 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
      nvoke(ErrorReportValve.java:105)
      13:17:21,934 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
      invoke(StandardEngineValve.java:107)
      13:17:21,934 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
      ervice(CoyoteAdapter.java:148)
      13:17:21,954 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
      ess(Http11Processor.java:869)
      13:17:21,954 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
      ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      13:17:22,024 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
      ocessSocket(PoolTcpEndpoint.java:527)
      13:17:22,034 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
      hread.run(MasterSlaveWorkerThread.java:112)
      13:17:22,034 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
      13:17:22,034 ERROR [STDERR] Caused by: java.io.NotSerializableException: Admin.D
      ocSearchDTO
      13:17:22,034 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec
      tOutputStream.java:1054)
      13:17:22,034 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectO
      utputStream.java:1224)
      13:17:22,034 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec
      tOutputStream.java:1050)
      13:17:22,034 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
      OutputStream.java:278)
      13:17:22,034 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.(M
      arshalledValue.java:70)
      13:17:22,034 ERROR [STDERR] at org.jboss.invocation.MarshalledValueEX.
      (MarshalledValueEX.java:48)
      13:17:22,064 ERROR [STDERR] at org.jboss.invocation.unified.interfaces.JavaS
      erializationManager.createdMarshalledValue(JavaSerializationManager.java:106)
      13:17:22,064 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.creat
      eMarshalledValueForCallByValue(InvokerInterceptor.java:276)
      13:17:22,064 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invok
      eLocalMarshalled(InvokerInterceptor.java:283)
      13:17:22,225 ERROR [STDERR] at org.jboss.invocation.MarshallingInvokerInterc
      eptor.invoke(MarshallingInvokerInterceptor.java:61)
      13:17:22,225 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke
      (TransactionInterceptor.java:61)
      13:17:22,225 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Se
      curityInterceptor.java:70)
      13:17:22,225 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionIntercept
      or.invoke(StatelessSessionInterceptor.java:112)
      13:17:22,225 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(Client
      Container.java:100)
      13:17:22,225 ERROR [STDERR] ... 27 more