sockeqwe/Vaadin-MVP-Lite-MailExample — pull request #1 by joma74 (2013-09-09 21:53:43+00:00)
Title: Corrections for Vaadin 7

Hi,
Digging the last days into vaadin 7 and MVP i found your project(big THX especially for those wiki pages of yours), checked out and stumbuled into the widgetset problem you mentioned. Having luck with a few changes i got your application up and running on a JBoss EAP 6.1, which i want to share back.

Changes are:
- css reference corrected
- Theme activated via annotation
- widgetset via web.xml activated

P.S. Just for info - i am a maven guy and did not dig into ivy, i made a maven project locally and moved some dirs etc. - so there are changes which are not on that fork. I hope i have collected correctly all the changes that make your application run again - if sth. is missing, write me a note.

P.P.S. There is some issue on "logout", perhaps you can do sth. about it:
-->
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
at com.mvplite.event.EventDispatcher.dispatchEvent(EventBus.java:99) [mvp-lite-2.0.jar:]
at com.mvplite.event.EventBus.fireEvent(EventBus.java:293) [mvp-lite-2.0.jar:]
at com.mvpvaadin.mailexample.main.MainViewImpl$1.buttonClick(MainViewImpl.java:117) [:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) [vaadin-server-7.0.4.jar:7.0.4]
... 30 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at com.mvplite.event.EventDispatcher.dispatchEvent(EventBus.java:90) [mvp-lite-2.0.jar:]
... 37 more
Caused by: java.lang.NullPointerException
at com.mvplite.event.RefresherGlobalEventBusDispatcher.stop(RefresherGlobalEventBusDispatcher.java:66) [mvp-lite-2.0.jar:]
at com.mvpvaadin.mailexample.MailApplication.onLogout(MailApplication.java:71) [:]
... 42 more
<--