I am trying to do the PFPush Counter Showcase (http://www.primefaces.org/showcase/push/counter.xhtml), but I always get a Null-Pointer-Exception in the following Code:
Code: Select all
EventBus eventBus = EventBusFactory.getDefault().eventBus();
eventBus.publish("/counter", String.valueOf(count));
Any ideas?
The Showcase is implemented with PrimeFaces-5.3.4. Is there any difference to PrimeFaces 5.3?
Thanks in advance,
Mario