P1124
(P h)
December 13, 2012, 9:18am
1
Hello
i´ve tried to use the ICEPush Plugin and used this instruction:
https://vaadin.com/forum/-/message_boards/view_message/233732#_19_message_247468
but i get this error:
13.12.2012 09:15:31 com.example.synchronisationmanagement.SynchronisationmanagementApplication init SCHWERWIEGEND: null
java.lang.RuntimeException: PushContext not initialized. Did you forget to use ICEPushServlet?
can somebody help me?
i´ve attached my web.xml as an image. i´ve got some problems posting xml-code
Andreas11
(Andreas Lüdtke)
December 13, 2012, 10:41am
2
Could you show us the source code of the init method where the exception occurred?
In order to use the ICEpush functionality, you have to create an instance of ICEpush and add it to the main window i.e.
P1124
(P h)
December 13, 2012, 11:19am
3
of course:
private ICEPush pusher = new ICEPush();
mainWindow.addComponent(pusher);
...
pusher.push(); <---- exception
Andreas11
(Andreas Lüdtke)
December 14, 2012, 7:17am
4
What happens, if you move the “pusher.push();” to the main window? I.e. as a reaction of pressing a button.
Why do you want to push inside the application?
P1124
(P h)
December 14, 2012, 8:01am
5
the push method is called after an observer event. i think this should be the same as a button click event.
Leon5
(Leon Mshiu)
November 17, 2014, 7:27am
7
I know this post is a bit old, but i just faced the same error.
Has anyone being able to solve this?
Any help would be greatly appreciated.
Tam7
(Tam Doan)
December 25, 2015, 8:49am
8
I have same error,
Any body help me to solve this error,
Thanks,