{"action":"closed","issue":{"url":"https://api.github.com/repos/vaadin/spring/issues/61","repository_url":"https://api.github.com/repos/vaadin/spring","labels_url":"https://api.github.com/repos/vaadin/spring/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/spring/issues/61/comments","events_url":"https://api.github.com/repos/vaadin/spring/issues/61/events","html_url":"https://github.com/vaadin/spring/issues/61","id":178041026,"number":61,"title":"vaadin spring throws NotSerializableException","user":{"login":"vaadin-bot","id":20280877,"avatar_url":"https://avatars.githubusercontent.com/u/20280877?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin-bot","html_url":"https://github.com/vaadin-bot","followers_url":"https://api.github.com/users/vaadin-bot/followers","following_url":"https://api.github.com/users/vaadin-bot/following{/other_user}","gists_url":"https://api.github.com/users/vaadin-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin-bot/subscriptions","organizations_url":"https://api.github.com/users/vaadin-bot/orgs","repos_url":"https://api.github.com/users/vaadin-bot/repos","events_url":"https://api.github.com/users/vaadin-bot/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vaadin/spring/labels/Defect","name":"Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/vaadin/spring/milestones/3","html_url":"https://github.com/vaadin/spring/milestones/Vaadin%20Spring%201.0.0.rc1","labels_url":"https://api.github.com/repos/vaadin/spring/milestones/3/labels","id":2016281,"number":3,"title":"Vaadin Spring 1.0.0.rc1","description":"","creator":{"login":"vaadin-bot","id":20280877,"avatar_url":"https://avatars.githubusercontent.com/u/20280877?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin-bot","html_url":"https://github.com/vaadin-bot","followers_url":"https://api.github.com/users/vaadin-bot/followers","following_url":"https://api.github.com/users/vaadin-bot/following{/other_user}","gists_url":"https://api.github.com/users/vaadin-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin-bot/subscriptions","organizations_url":"https://api.github.com/users/vaadin-bot/orgs","repos_url":"https://api.github.com/users/vaadin-bot/repos","events_url":"https://api.github.com/users/vaadin-bot/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin-bot/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"closed","created_at":"2016-09-20T12:02:02Z","updated_at":"2016-09-20T12:04:19Z","due_on":null,"closed_at":"2016-09-20T12:02:02Z"},"comments":4,"created_at":"2016-09-20T12:04:11Z","updated_at":"2016-09-20T12:04:19Z","closed_at":"2016-09-20T12:04:19Z","body":"**Originally by _andreas.von.benten@ituv-software.de_ on 2015-06-04 17:34:55 +0300**\n\n___\nI m using vaadin-spring-1.0.0-beta3 with vaadin-7.4.7 on a tomcat-app-server.\nIn context of a tomcat-server-cluster, a running vaadin-sessions could be tried to switch to another server-instance.\nIn this situation i get the NotSerializableException.\nIn detail:\njava.io.NotSerializableException: org.springframework.web.context.support.XmlWebApplicationContext\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)\n\tat java.util.LinkedList.writeObject(LinkedList.java:1131)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)\n\tat org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1710)\n\tat org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1116)\n\tat org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:401)\n\tat org.apache.catalina.session.StandardManager.unload(StandardManager.java:320)\n\tat org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:487)\n\tat org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)\n\tat org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5367)\n\tat org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)\n\tat org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)\n\tat org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1414)\n\nFor reproduction: i have added a small bug-demo.zip based on your tutorial from:\n\"Getting started with Vaadin Spring without Spring Boot\" (https://vaadin.com/wiki?p_p_id=36&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=row-1&p_p_col_pos=1&p_p_col_count=3&_36_struts_action=%2Fwiki%2Fview&p_r_p_185834411_nodeName=vaadin.com+wiki&p_r_p_185834411_title=I+b+-+Getting+started+with+Vaadin+Spring+without+Spring+Boot)\n\nJust unzip, build, deploy and start the bug-demo.war onto a tomcat ... open the browser and hit the button ... redeploy the war onto the tomcat ... and hit the button in the browser again ... now you can see the exception on the console-output of the tomcat.\n\nWhat can i do to avoid this?\n\n\n___\n Imported from https://dev.vaadin.com/ issue #18164"}}
{"actor":{"display_login":"vaadin-bot"}}