No page found 'digest.jelly' for class hudson.model.Build

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

No page found 'digest.jelly' for class hudson.model.Build

Steele, Richard
I'm finally getting to the point where I'm parsing a change log with my ClearCase plugin.  However, when I go to a particular build--one that actually has changes--I'm getting an error:

javax.servlet.ServletException: jar:file:/C:/WINDOWS/Temp/winstone/hudson.war/WEB-INF/lib/hudson-core-1.101.jar!/hudson/model/AbstractBuild/index.jelly:57:61: <st:include> No page found 'digest.jelly' for class hudson.model.Build

This is true: I don't see a digest.jelly at the specified path.  I have my own digest.jelly in my ClearCaseChangeLogSet resources directory.

What am I doing wrong?

Thanks,
Rich
ePlus Consulting
Reply | Threaded
Open this post in threaded view
|

Re: No page found 'digest.jelly' for class hudson.model.Build

Kohsuke Kawaguchi
Administrator
rsteele wrote:

> I'm finally getting to the point where I'm parsing a change log with my
> ClearCase plugin.  However, when I go to a particular build--one that
> actually has changes--I'm getting an error:
>
> javax.servlet.ServletException:
> jar:file:/C:/WINDOWS/Temp/winstone/hudson.war/WEB-INF/lib/hudson-core-1.101.jar!/hudson/model/AbstractBuild/index.jelly:57:61:
> <st:include> No page found 'digest.jelly' for class hudson.model.Build
>
> This is true: I don't see a digest.jelly at the specified path.  I have my
> own digest.jelly in my ClearCaseChangeLogSet resources directory.
>
> What am I doing wrong?
I suspect a bug in the classloader related handling of "digest.jelly"
loading. If you can attach a debugger to Hudson, what's suppopsed to
happen here is that the org.kohsuke.stapler.jelly.IncludeTag class
should load digest.jelly from your plugin. I suspect instead it's just
searching the main classloader.

But when I read the code, It does seem to be doing the right thing, but
there must be a bug somewhere.

So, could you trace through IncludeTag, and see what's happening?

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: No page found 'digest.jelly' for class hudson.model.Build

Steele, Richard
kohsuke wrote
But when I read the code, It does seem to be doing the right thing, but
there must be a bug somewhere.

So, could you trace through IncludeTag, and see what's happening?
There was a bug, all right, but it was in my code.  When I restarted Hudson with the JVM debug options, I noticed a NPE coming out of my change log parser.  After fixing it (a typo in an XML attribute name, arg!) I'm no longer getting this problem.

Thanks,
Rich
ePlus Consulting

Reply | Threaded
Open this post in threaded view
|

Re: No page found 'digest.jelly' for class hudson.model.Build

Kohsuke Kawaguchi
Administrator
If you felt there's anything Hudson could have done better in
diagnosing those errors (instead of NPE), let me know...

2007/4/17, rsteele <[hidden email]>:

>
>
> kohsuke wrote:
> >
> >
> > But when I read the code, It does seem to be doing the right thing, but
> > there must be a bug somewhere.
> >
> > So, could you trace through IncludeTag, and see what's happening?
> >
> >
>
> There was a bug, all right, but it was in my code.  When I restarted Hudson
> with the JVM debug options, I noticed a NPE coming out of my change log
> parser.  After fixing it (a typo in an XML attribute name, arg!) I'm no
> longer getting this problem.
>
> Thanks,
> Rich
> ePlus Consulting
>
>
> --
> View this message in context: http://www.nabble.com/No-page-found-%27digest.jelly%27-for-class-hudson.model.Build-tf3585651.html#a10035147
> Sent from the Hudson users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

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