On Wed, Aug 12, 2009 at 21:52, Vincent Massol<[email protected]> wrote:
Hi Andreas,
Apparently Thomas made a mistake in his last commit. I'm sure he'll fix it quickly.
If you want you can take a revision before his commits, ie before rev 22547 done at 2009-08-12 12:30:53 +0200 (Wed, 12 Aug 2009)
For ex: http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-ins...
Or wait till he fixes the problem (likely tomorrow morning).
I fixed the fact that Remote Observation Manager was enabled by default where it should not but for the NullPointer itself can only append if the Execution context is not properly initialized when contextInitialized() event notification is executed which does not make sense...
Thanks -Vincent
On Aug 12, 2009, at 9:41 PM, Andreas Schaefer wrote:
Hi
I just checked out platform (core SVN revision: 22631) and enterprise, built it and installed the Generic installer XWiki. While starting it up I saw this exception:
2009-08-12 12:37:34.565::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@4d88a387{/xwiki,/Users/ schaefa/Development/xwiki/installations/xwiki.20090812/jetty/../ webapps/xwiki} java.lang.NullPointerException at org .xwiki .observation .remote .internal .DefaultRemoteObservationManagerContext .isRemoteState(DefaultRemoteObservationManagerContext.java:36) at org .xwiki .observation .remote .internal .jgroups .JGroupsRemoteObservationManager .notify(JGroupsRemoteObservationManager.java:150) at org .xwiki .observation .remote.internal.LocalEventListener.onEvent(LocalEventListener.java: 115) at org .xwiki .observation .internal .DefaultObservationManager.notify(DefaultObservationManager.java:248) at org .xwiki .observation .internal .DefaultObservationManager.notify(DefaultObservationManager.java:229) at org .xwiki .observation .internal .DefaultObservationManager.notify(DefaultObservationManager.java:264) at org .xwiki .container .servlet .XWikiServletContextListener .contextInitialized(XWikiServletContextListener.java:77) at org .mortbay .jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org .mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org .mortbay .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org .mortbay .jetty .handler .ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org .mortbay .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:523) at org.mortbay.start.Main.main(Main.java:119)
Can't figure out what is wrong but it seems to be an issue with the Execution not be set on the DefaultRemoteObservationManagerContext or the Execution.getContext() returns null.
Cheers
Andreas Schaefer
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne