Tnx Dan,
up and running now.
Thanks for your wonderful work in making the REST API simpler (though less
academic)
What a cool new wicket viewer by the way! I had seen a sneek preview of it at
Jeroen's and glad to have it here now too. Congrats!
(function(){(window.hostMIF =
parent.document.getElementById("ext-gen587").ownerCt)._windowContext={eval:function(s){return
new Function("return ("+s+")")();}};})()
Hi Johan,
As of 1.8.0-SNAPSHOT, services should register in @PostConstruct rather
than at the injectXxx method... ie much more standized/expected, less
hacky. [1]
Let me know if the problem persists, though.
Cheers
Dan
[1] http://isis.apache.org/reference/services/event-bus-service.html
On 17 December 2014 at 18:57, wrote:
>
> Hi,
>
>
>
> After upgrading to 1.8.0-SNAPSHOT in order to simplify REST API I get:
>
>
> 19:54:18,755 [IsisLogOnExceptionFilter 52341922@qtp-90179727-0
> ERROR] Request caused java.lang.IllegalStateException:
> http://localhost:8080/restful/services/Persons
>
> java.lang.IllegalStateException: Event bus has already been
> created; too late to register any further (singleton) subscribers
>
> at
> org.apache.isis.core.runtime.services.eventbus.EventBusServiceDefault.register(EventBusServiceDefault.java:68)
>
> at
> info.matchingservice.dom.MatchingService.injectEventBusService(MatchingService.java:50)
>
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>
>
> Grtz Johan
>
>
>
>
>
>
>
>