Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: java.io.NotSerializableException on transition on-exception

  1. #11
    Join Date
    May 2007
    Posts
    1

    Default SWF 1.0.2 Fix

    Is there anyway we can get this fixed in version 1.0.2 of SWF??

    Upgrading to Spring 2.0.4 is not really an option at this point in my current situation.

    Please let me know if there is anything you can do. Thanks!!!

  2. #12
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Just grab a 1.0.4 snapshot. There is no need to upgrade to Spring 2.0.4.

    Erwin

  3. #13
    Join Date
    Jun 2007
    Posts
    26

    Unhappy spring-webflow-1.0.4-SNAPSHOT seems not resolve the problem.

    I'm also get the similar exception(see stacktrace below),
    I'm using Spring2.0.5 & spring-webflow-1.0.4-SNAPSHOT-20070613-48.zip as suggested.
    java.io.NotSerializableException: org.springframework.binding.method.MethodSignature
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1081)
    at java.io.ObjectOutputStream.defaultWriteFields(Obje ctOutputStream.java:1375)
    at java.io.ObjectOutputStream.writeSerialData(ObjectO utputStream.java:1347)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.defaultWriteFields(Obje ctOutputStream.java:1375)
    at java.io.ObjectOutputStream.writeSerialData(ObjectO utputStream.java:1347)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:302)
    at java.util.HashMap.writeObject(HashMap.java:1039)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeWriteObject(Object StreamClass.java:917)
    at java.io.ObjectOutputStream.writeSerialData(ObjectO utputStream.java:1339)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.defaultWriteFields(Obje ctOutputStream.java:1375)
    at java.io.ObjectOutputStream.defaultWriteObject(Obje ctOutputStream.java:391)
    at org.springframework.webflow.core.collection.LocalA ttributeMap.writeObject(LocalAttributeMaap.java:30 7)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeWriteObject(Object StreamClass.java:917)
    at java.io.ObjectOutputStream.writeSerialData(ObjectO utputStream.java:1339)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:302)
    at org.springframework.webflow.engine.impl.FlowSessio nImpl.writeExternal(FlowSessionImpl.java:160)
    at java.io.ObjectOutputStream.writeExternalData(Objec tOutputStream.java:1310)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1288)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:302)
    at java.util.LinkedList.writeObject(LinkedList.java:7 55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeWriteObject(Object StreamClass.java:917)
    at java.io.ObjectOutputStream.writeSerialData(ObjectO utputStream.java:1339)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:302)
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.writeExternal(FlowExecutionImpl.java:482)
    at java.io.ObjectOutputStream.writeExternalData(Objec tOutputStream.java:1310)
    at java.io.ObjectOutputStream.writeOrdinaryObject(Obj ectOutputStream.java:1288)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:302)
    at org.springframework.webflow.execution.repository.c ontinuation.SerializedFlowExecutionContinuation.se rialize(SerializedFlowExecutionContinuation.java:1 78)
    at org.springframework.webflow.execution.repository.c ontinuation.SerializedFlowExecutionContinuation.<i nit>(SerializedFlowExecutionContinuation.java:70)
    at org.springframework.webflow.execution.repository.c ontinuation.SerializedFlowExecutionContinuationFac tory.createContinuation(SerializedFlowExecutionCon tinuationFactory.java:55)
    at org.springframework.webflow.execution.repository.c ontinuation.ContinuationFlowExecutionRepository.pu tFlowExecution(ContinuationFlowExecutionRepository .java:178)
    at org.springframework.webflow.executor.FlowExecutorI mpl.resume(FlowExecutorImpl.java:249)
    at org.springframework.webflow.executor.support.FlowR equestHandler.handleFlowRequest(FlowRequestHandler .java:115)
    at org.springframework.webflow.executor.mvc.FlowContr oller.handleRequestInternal(FlowController.java:17 2)
    at org.springframework.web.servlet.mvc.AbstractContro ller.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControll erHandlerAdapter.handle(SimpleControllerHandlerAda pter.java:48)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:857)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:792)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:461)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:426)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve .invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:153)
    at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:59)
    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.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread .run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)

  4. #14
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Are you sure you did your upgrade to 1.0.4 nightly properly? That the new jars are being picked up? Make sure particularly that you update the version of spring-binding as that's where this fix is.

    Keith
    Keith Donald
    Core Spring Development Team

  5. #15
    Join Date
    Jun 2007
    Posts
    26

    Default it indeed is 1.0.4.

    yes, 1.0.4 does resolve the problem, sorry for the confusion.
    Last edited by lipman; Jun 13th, 2007 at 08:32 PM. Reason: recall

  6. #16
    Join Date
    May 2006
    Posts
    25

    Default

    Is there a release date for this fix? Can it be put into 1.0.3 as an official fix? I have a project that is supposed to release in 1 to 2 weeks and I can't release it with a SNAPSHOT library build.
    Thanks,
    --jim

  7. #17
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    1.0.4 is being released today.

    Erwin

  8. #18
    Join Date
    Apr 2007
    Posts
    2

    Default

    I switched to version 1.0.4, but I get the error again. How can I get the fix?

    Regards
    Leo

    Quote Originally Posted by klr8 View Post
    1.0.4 is being released today.

    Erwin

  9. #19
    Join Date
    Jun 2007
    Posts
    26

    Default

    make sure you clean up all the thing related to the previous release.
    1.0.4 does resolve the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •