cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16289] New: - [PATCH] ProgramGeneratorImpl, missing null checks when releasing components
Date Tue, 21 Jan 2003 09:40:31 GMT
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


Mime
View raw message