[Issue 316] JavaDoc link causes http-500 error when no javadoc was built

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 316] JavaDoc link causes http-500 error when no javadoc was built

pmendelson-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=316



User pmendelson changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
              Resolution|FIXED                     |
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sun Feb 25 14:25:23 +0000 2007 -------
Just installed 1.83 and problem seems same with slightly different line numbers.
javax.servlet.ServletException: /.../myproj/index.html (No such file or directory)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:269)
        org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
        org.kohsuke.stapler.Stapler.service(Stapler.java:72)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.io.FileNotFoundException: /.../myproj/javadoc/index.html (No such file or
directory)
        java.io.FileInputStream.open(Native Method)
        java.io.FileInputStream.<init>(FileInputStream.java:106)
        hudson.FilePath.read(FilePath.java:445)
        hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:112)
        hudson.tasks.JavadocArchiver$JavadocAction.doDynamic(JavadocArchiver.java:109)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
        org.kohsuke.stapler.MetaClass$14.dispatch(MetaClass.java:344)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
        org.kohsuke.stapler.Stapler.service(Stapler.java:72)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]