[xwiki-dev] b5 crash on startup (b4 ok...)

Vincent Massol vincent at massol.net
Wed Mar 7 15:36:45 CET 2007


Hi Tom,

Have you used the XWiki standalone installation or upgraded some  
custom installation. We have upgraded to Velocity 1.5 Beta 2 in XWiki  
1.0 B5 so if you have kept your old jars and especially the Velocity  
1.4 and Velocity-tools 1.1 jars in your webapp (in WEB-INF/lib) it  
won't work. You need to use Velocity 1.5 B2 and Velocity-Tools 1.3  
now (they're delivered as part of the standalone distribution).

Let's solve this and then I'll improve the release notes to ensure  
this doesn't happen to others.

Thanks
-Vincent

On Mar 7, 2007, at 2:59 PM, Thomas Arthur Oehser wrote:

>
> Hi, With b5, I'm getting:
>
> 08:40:44,392 ERROR main  [/xwiki]:listenerStart:3767 - Exception  
> sending context initialized event to listener instance of class  
> com.xpn.xwiki.web.InitializationServletContextLi
> stener
>
> ...
>
> Caused by: java.lang.NullPointerException
>  at com.xpn.xwiki.util.XWikiVelocityUberspector.init 
> (XWikiVelocityUberspector.java:57)
>  at  
> org.apache.velocity.runtime.RuntimeInstance.initializeIntrospection 
> (RuntimeInstance.java:289)
>  at org.apache.velocity.runtime.RuntimeInstance.init 
> (RuntimeInstance.java:231)
>  at org.apache.velocity.runtime.RuntimeSingleton.init 
> (RuntimeSingleton.java:114)
>  at org.apache.velocity.app.Velocity.init(Velocity.java:80)
>  at  
> com.xpn.xwiki.web.InitializationServletContextListener.initializeVeloc 
> ity(InitializationServletContextListener.java:88)
>  at  
> com.xpn.xwiki.web.InitializationServletContextListener.contextInitiali 
> zed(InitializationServletContextListener.java:44)
>         ... 24 more
> Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Mar 7, 2007 8:40:44 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/xwiki] startup failed due to previous errors
>
> Anything special I should look at?
>
> B4 started up OK.
>
> My environment is:
>
> Linux 2.6.15-28-686
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
> Apache Tomcat/5.5.20
>
> -Thanks, -Tom
>
> -- 
> May 4, 1970: Alison Krause, Jeffrey Miller, Sandra Scheuer, William  
> Schroeder.
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws





More information about the devs mailing list