You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/21 10:40:31 UTC

DO NOT REPLY [Bug 16289] New: - [PATCH] ProgramGeneratorImpl, missing null checks when releasing components

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16289

[PATCH] ProgramGeneratorImpl, missing null checks when releasing components

           Summary: [PATCH] ProgramGeneratorImpl, missing null checks when
                    releasing components
           Product: Cocoon 2
           Version: 2.0.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: m_rolappe@web.de


org.apache.cocoon.components.language.generator.ProgramGeneratorImpl is missing 
null checks at the end of method load().

..
  finally
  {
    source.recycle();

    this.markupSelector.release(markupLanguage);
    this.languageSelector.release(programmingLanguage);
  }
..

not a real problem, but generates log messages ('Attempting to release null 
component').

fix: add null check

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