From jbilkes at hotmail.com Tue Jan 13 10:03:26 2015 From: jbilkes at hotmail.com (J. Bilkes) Date: Tue, 13 Jan 2015 16:03:26 +0100 Subject: [Aerogear-users] NullPointerException when clicking on "Applications" or "Send Push" in webinterface Message-ID: Hi all, In IRC I was referred to the mailing list to present the following error and ask for help. Situation: I want to run the aerogear server locally and followed every step in the guide for using aerogear with JBoss AS7. DataSource is fine, deployment on AS7 went fine, only after logging into the web interface i ran into trouble by getting an internal server error 500 when clicking on "Applications" or "Send Push". It seems the searchManager is null. I'm not able nor willing to tweak aerogear internals.. So does anyone know what i could tweak in my server or somewhere else to solve this issue?? If anyone could help, it would be awesome! Error log: 15:35:54,951 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,953 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,955 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,956 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,958 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,960 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,962 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:54,964 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,141 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,143 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,145 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,146 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,148 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,150 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,152 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:55,154 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,335 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,340 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,346 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,348 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,350 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,352 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,355 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,357 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,462 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,465 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,468 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,471 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,473 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,475 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,477 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,479 WARN [org.jboss.resteasy.core.ResourceLocator] (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec 15:35:56,535 INFO [org.keycloak.adapters.as7.CatalinaRequestAuthenticator] (http-localhost-127.0.0.1-8080-1) Bearer role: admin 15:35:56,542 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ag-push ].[org.jboss.aerogear.unifiedpush.rest.RestApplication]] (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet org.jboss.aerogear.unifiedpush.rest.RestApplication threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(Syn chronousDispatcher.java:340) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDis patcher.java:214) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(Synchro nousDispatcher.java:190) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatc her.java:540) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.j ava:502) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.j ava:119) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service (ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(Http ServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(Http ServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:329) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:248) [jbossweb-7.0.13.Final.jar:] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPr opagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:248) [jbossweb-7.0.13.Final.jar:] at org.jboss.aerogear.unifiedpush.rest.util.VersionFilter.doFilter(VersionFilte r.java:62) [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:248) [jbossweb-7.0.13.Final.jar:] at org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter.doFilter(Htt pContextFilter.java:55) [unifiedpush-service-1.1.0-alpha.1.jar:1.1.0-alpha.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:248) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:275) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:161) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserVa lve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final] at org.keycloak.adapters.as7.AuthenticatedActionsValve.invoke(AuthenticatedActi onsValve.java:53) [keycloak-as7-adapter-1.0.4.Final.jar:] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:489) [jbossweb-7.0.13.Final.jar:] at org.keycloak.adapters.as7.KeycloakAuthenticatorValve.invoke(KeycloakAuthenti catorValve.java:136) [keycloak-as7-adapter-1.0.4.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityCon textAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155 ) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102 ) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http 11Protocol.java:671) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71] Caused by: java.lang.NullPointerException at org.jboss.aerogear.unifiedpush.rest.AbstractBaseEndpoint.getSearch(AbstractB aseEndpoint.java:91) [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] at org.jboss.aerogear.unifiedpush.rest.registry.applications.PushApplicationEnd point.listAllPushApplications(PushApplicationEndpoint.java:89) [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] at org.jboss.aerogear.unifiedpush.rest.registry.applications.PushApplicationEnd point$Proxy$_$$_WeldClientProxy.listAllPushApplications(PushApplicationEndpo int$Proxy$_$$_WeldClientProxy.java) [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57 ) [rt.jar:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:43) [rt.jar:1.7.0_71] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_71] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:15 5) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:25 7) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatc her.java:525) [resteasy-jaxrs-2.3.2.Final.jar:] ... 32 more Bye, J.Bilkes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150113/45c8247c/attachment-0001.html From matzew at apache.org Tue Jan 13 10:24:56 2015 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 13 Jan 2015 16:24:56 +0100 Subject: [Aerogear-users] NullPointerException when clicking on "Applications" or "Send Push" in webinterface In-Reply-To: References: Message-ID: Any chance trying this with WildFly or EAP ? We are not really supporting JBoss 7.1 On Tue, Jan 13, 2015 at 4:03 PM, J. Bilkes wrote: > Hi all, > > In IRC I was referred to the mailing list to present the following error > and ask for help. > > *Situation:* > > I want to run the aerogear server locally and followed every step in the > guide for using aerogear with JBoss AS7. > > DataSource is fine, deployment on AS7 went fine, only after logging into > the web interface i ran into trouble by getting an internal server error 500 > when clicking on "Applications" or "Send Push". > > It seems the searchManager is null. I?m not able nor willing to tweak > aerogear internals.. > > So does anyone know what i could tweak in my server or somewhere else to > solve this issue?? > > If anyone could help, it would be awesome! > > *Error log:* > > 15:35:54,951 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field providers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,953 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,955 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,956 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field headers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,958 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field request of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,960 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field response of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,962 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field session of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:54,964 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,141 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field providers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,143 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,145 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,146 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field headers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,148 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field request of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,150 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field response of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,152 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field session of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:55,154 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,335 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field providers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,340 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,346 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,348 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field headers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,350 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field request of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,352 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field response of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,355 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field session of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,357 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,462 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field providers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,465 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field securityContext of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,468 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field uriInfo of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,471 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field headers of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,473 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field request of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,475 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field response of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,477 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field session of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,479 WARN [org.jboss.resteasy.core.ResourceLocator] > (http-localhost-127.0.0.1-8080-1) Field clientConnection of subresource > org.keycloak.services.resources.TokenService will not be injected according > to spec > > 15:35:56,535 INFO > [org.keycloak.adapters.as7.CatalinaRequestAuthenticator] > (http-localhost-127.0.0.1-8080-1) Bearer role: admin > > 15:35:56,542 ERROR > [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ag-push].[org.jboss.aerogear.unifiedpush.rest.RestApplication]] > (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet > org.jboss.aerogear.unifiedpush.rest.RestApplication threw exception:* > org.jboss.resteasy.spi.UnhandledException*:* > java.lang.NullPointerException* > > at > org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException( > *SynchronousDispatcher.java:340*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.SynchronousDispatcher.handleException( > *SynchronousDispatcher.java:214*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at > org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException( > *SynchronousDispatcher.java:190*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.SynchronousDispatcher.getResponse( > *SynchronousDispatcher.java:540*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.SynchronousDispatcher.invoke( > *SynchronousDispatcher.java:502*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.SynchronousDispatcher.invoke( > *SynchronousDispatcher.java:119*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at > org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service( > *ServletContainerDispatcher.java:208*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service( > *HttpServletDispatcher.java:55*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service( > *HttpServletDispatcher.java:50*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at javax.servlet.http.HttpServlet.service(*HttpServlet.java:847*) > [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > *ApplicationFilterChain.java:329*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > *ApplicationFilterChain.java:248*) [jbossweb-7.0.13.Final.jar:] > > at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter( > *ConversationPropagationFilter.java:62*) > [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > *ApplicationFilterChain.java:280*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > *ApplicationFilterChain.java:248*) [jbossweb-7.0.13.Final.jar:] > > at > org.jboss.aerogear.unifiedpush.rest.util.VersionFilter.doFilter( > *VersionFilter.java:62*) > [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > *ApplicationFilterChain.java:280*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > *ApplicationFilterChain.java:248*) [jbossweb-7.0.13.Final.jar:] > > at > org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter.doFilter( > *HttpContextFilter.java:55*) > [unifiedpush-service-1.1.0-alpha.1.jar:1.1.0-alpha.1] > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > *ApplicationFilterChain.java:280*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > *ApplicationFilterChain.java:248*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.StandardWrapperValve.invoke( > *StandardWrapperValve.java:275*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.StandardContextValve.invoke( > *StandardContextValve.java:161*) [jbossweb-7.0.13.Final.jar:] > > at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke( > *WebNonTxEmCloserValve.java:50*) > [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final] > > at org.keycloak.adapters.as7.AuthenticatedActionsValve.invoke( > *AuthenticatedActionsValve.java:53*) > [keycloak-as7-adapter-1.0.4.Final.jar:] > > at org.apache.catalina.authenticator.AuthenticatorBase.invoke( > *AuthenticatorBase.java:489*) [jbossweb-7.0.13.Final.jar:] > > at org.keycloak.adapters.as7.KeycloakAuthenticatorValve.invoke( > *KeycloakAuthenticatorValve.java:136*) > [keycloak-as7-adapter-1.0.4.Final.jar:] > > at > org.jboss.as.web.security.SecurityContextAssociationValve.invoke( > *SecurityContextAssociationValve.java:153*) > [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] > > at org.apache.catalina.core.StandardHostValve.invoke( > *StandardHostValve.java:155*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.valves.ErrorReportValve.invoke( > *ErrorReportValve.java:102*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.core.StandardEngineValve.invoke( > *StandardEngineValve.java:109*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.catalina.connector.CoyoteAdapter.service( > *CoyoteAdapter.java:368*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.coyote.http11.Http11Processor.process( > *Http11Processor.java:877*) [jbossweb-7.0.13.Final.jar:] > > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( > *Http11Protocol.java:671*) [jbossweb-7.0.13.Final.jar:] > > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( > *JIoEndpoint.java:930*) [jbossweb-7.0.13.Final.jar:] > > at java.lang.Thread.run(*Thread.java:745*) [rt.jar:1.7.0_71] > > Caused by:* java.lang.NullPointerException* > > at > org.jboss.aerogear.unifiedpush.rest.AbstractBaseEndpoint.getSearch( > *AbstractBaseEndpoint.java:91*) > [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] > > at > org.jboss.aerogear.unifiedpush.rest.registry.applications.PushApplicationEndpoint.listAllPushApplications( > *PushApplicationEndpoint.java:89*) > [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] > > at > org.jboss.aerogear.unifiedpush.rest.registry.applications.PushApplicationEndpoint$Proxy$_$$_WeldClientProxy.listAllPushApplications(PushApplicationEndpoint$Proxy$_$$_WeldClientProxy.java) > [unifiedpush-jaxrs-1.1.0-alpha.1.jar:1.1.0-alpha.1] > > at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*) > [rt.jar:1.7.0_71] > > at sun.reflect.NativeMethodAccessorImpl.invoke( > *NativeMethodAccessorImpl.java:57*) [rt.jar:1.7.0_71] > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > *DelegatingMethodAccessorImpl.java:43*) [rt.jar:1.7.0_71] > > at java.lang.reflect.Method.invoke(*Method.java:606*) > [rt.jar:1.7.0_71] > > at org.jboss.resteasy.core.MethodInjectorImpl.invoke( > *MethodInjectorImpl.java:155*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget( > *ResourceMethod.java:257*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.ResourceMethod.invoke( > *ResourceMethod.java:222*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.ResourceMethod.invoke( > *ResourceMethod.java:211*) [resteasy-jaxrs-2.3.2.Final.jar:] > > at org.jboss.resteasy.core.SynchronousDispatcher.getResponse( > *SynchronousDispatcher.java:525*) [resteasy-jaxrs-2.3.2.Final.jar:] > > ... 32 more > > Bye, > > J.Bilkes > > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150113/74fbdb5c/attachment-0001.html From matzew at apache.org Fri Jan 16 08:17:06 2015 From: matzew at apache.org (Matthias Wessendorf) Date: Fri, 16 Jan 2015 14:17:06 +0100 Subject: [Aerogear-users] Push Server user? Message-ID: hello, if you are using the UnifedPush Server, feel free to add your company/project to this new wiki page: https://github.com/aerogear/aerogear-unifiedpush-server/wiki/Users-of-the- UnifiedPush-Server Thanks :-) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150116/46fe1a9c/attachment.html From klinux at gmail.com Tue Jan 27 14:51:36 2015 From: klinux at gmail.com (Kleber Rocha) Date: Tue, 27 Jan 2015 17:51:36 -0200 Subject: [Aerogear-users] aerogear-push and sticky-session Message-ID: Hello, There any way to use aerogear-push with mod_cluster and sticky-session? I configured a wildfly and mod_cluster, with two nodes, but session is lost when changed the node. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150127/707d5323/attachment.html From scm.blanc at gmail.com Tue Jan 27 15:08:00 2015 From: scm.blanc at gmail.com (Sebastien Blanc) Date: Tue, 27 Jan 2015 21:08:00 +0100 Subject: [Aerogear-users] aerogear-push and sticky-session In-Reply-To: References: Message-ID: Hi, I'm not sure and maybe Bruno could confirm but you might need to tweak KeyCloak to support clustering. This might interest you : http://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html although it do not mention mod_cluster. Sebi On Tue, Jan 27, 2015 at 8:51 PM, Kleber Rocha wrote: > Hello, > > There any way to use aerogear-push with mod_cluster and sticky-session? > > I configured a wildfly and mod_cluster, with two nodes, but session is lost > when changed the node. > > Thanks > > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150127/fffaa555/attachment.html