cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: cvs commit: xml-cocoon/src/org/apache/cocoon/sitemapAbstractSitemap.java
Date Mon, 23 Apr 2001 20:47:42 GMT
Berin,

Am unable to recreate the NullPointerException. Can you please post the stack trace with the
latest code from cvs?

Thanks,
dims

--- Berin Loritsch <bloritsch@apache.org> wrote:
> giacomo wrote:
> > 
> > On 23 Apr 2001 bloritsch@apache.org wrote:
> > 
> > > bloritsch    01/04/23 10:53:45
> > >
> > >   Modified:    src/org/apache/cocoon/sitemap Tag: xml-cocoon2
> > >                         AbstractSitemap.java
> > >   Log:
> > >   Fixed Showstopper.  The Sitemap must be made SingleThreaded
> > >
> > 
> > <snip/>
> > 
> > >   -public abstract class AbstractSitemap extends AbstractLoggable implements
Sitemap,
> Disposable, ThreadSafe {
> > >   +public abstract class AbstractSitemap extends AbstractLoggable implements
Sitemap,
> Disposable, SingleThreaded {
> > 
> > Can you explain this in more detail? The generated Sitemap should be
> > ThreadSafe. SingleThreaded IIRC means that there can only be one thread
> > using that component and each new Thread gets a new instance of that
> > class which is wrong. Well, it might be that I've introduced some code
> > which prevents it from being ThreadSafe.
> 
> I recanted, and made it ThreadSafe again.
> 
> I was hoping to fix a strange error that happens with the TraxTransformer
> when an exception is thrown from an Action. ???  It's a NullPointerException
> dealing with the templates.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message