cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hartmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-2262) container.refresh() is called before embeddedServlet.init()
Date Mon, 20 Jul 2009 16:47:15 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Hartmann updated COCOON-2262:
-------------------------------------

    Other Info: [Patch available]

> container.refresh() is called before embeddedServlet.init()
> -----------------------------------------------------------
>
>                 Key: COCOON-2262
>                 URL: https://issues.apache.org/jira/browse/COCOON-2262
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Servlet service framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Andreas Hartmann
>            Priority: Minor
>         Attachments: COCOON-2262.txt
>
>
> I get an NPE in an embedded servlet (CXFServlet from Apache CXF) because it references
the servletConfig when onApplicationEvent() is processed. Apparently this happens because
the ServletFactoryBean calls
>   container.refresh()
> before
>   this.embeddedServlet.init(blockServletConfig).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message