Viewing 'Working Copy" for a project results in a null pointer exception ------------------------------------------------------------------------
Key: CONTINUUM-453 URL: http://jira.codehaus.org/browse/CONTINUUM-453 Project: Continuum Type: Bug Versions: 1.0.1 Environment: Windows XP, Linux/Fedora Core4 Reporter: Shreedhar Mechri Fix For: 1.0.1 Continuum seems to be unable to checkout from the SCM (subversion). As a result, the working copy directory is apparently empty. Clicking on the "/continuum/servlet/continuum/target/WorkingCopy.vm/view/WorkingCopy/id/1" link results in a blank page being displayed, and the following stack trace being loggedin logs\wrapper.log : INFO | jvm 1 | 2005/11/16 16:50:22 | 2005-11-16 16:50:22,718 [SocketListener0-0] ERROR VelocityComponent - Method getFiles threw exception for reference $continuum in template screens/WorkingCopy.vm at [25,19] INFO | jvm 1 | 2005/11/16 16:50:22 | 2005-11-16 16:50:22,718 [SocketListener0-0] ERROR Renderer:velocity - Error rendering template: INFO | jvm 1 | 2005/11/16 16:50:22 | java.lang.NullPointerException INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.maven.continuum.DefaultContinuum.getFiles(DefaultContinuum.java:1263) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.maven.continuum.DefaultContinuum.getFiles(DefaultContinuum.java:1243) INFO | jvm 1 | 2005/11/16 16:50:22 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2005/11/16 16:50:22 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2005/11/16 16:50:22 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2005/11/16 16:50:22 | at java.lang.reflect.Method.invoke(Method.java:585) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.apache.velocity.Template.merge(Template.java:256) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.renderer.VelocityRenderer.render(VelocityRenderer.java:70) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.renderer.AbstractRenderer.render(AbstractRenderer.java:42) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.display.ClassicBufferedDisplay.render(ClassicBufferedDisplay.java:88) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.pipeline.valve.DisplayValve.invoke(DisplayValve.java:48) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) INFO | jvm 1 | 2005/11/16 16:50:22 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) INFO | jvm 1 | 2005/11/16 16:50:22 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpServer.service(HttpServer.java:879) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) INFO | jvm 1 | 2005/11/16 16:50:22 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira