You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Georg Nepp (JIRA)" <ji...@apache.org> on 2017/07/19 19:36:00 UTC
[jira] [Updated] (TOMEE-2101)
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart()
NullPointerException
[ https://issues.apache.org/jira/browse/TOMEE-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Georg Nepp updated TOMEE-2101:
------------------------------
Description:
NullPointerException possible at:
contextInfo.module = null;
solution:
{{ final ContextInfo contextInfo = getContextInfo(standardContext);
if (contextInfo == null) { // openejb webapp loaded from the LoaderServlet
return;
}
contextInfo.module = null; // shouldnt be there after startup (actually we shouldnt need it from info tree but our scanning does)
if (contextInfo.appInfo == null) {
return;
}}}
was:
NullPointerException possible at:
contextInfo.module = null;
solution:
final ContextInfo contextInfo = getContextInfo(standardContext);
if (contextInfo == null) { // openejb webapp loaded from the LoaderServlet
return;
}
contextInfo.module = null; // shouldnt be there after startup (actually we shouldnt need it from info tree but our scanning does)
if (contextInfo.appInfo == null) {
return;
}
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart() NullPointerException
> -------------------------------------------------------------------------------
>
> Key: TOMEE-2101
> URL: https://issues.apache.org/jira/browse/TOMEE-2101
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.0.3
> Environment: any
> Reporter: Georg Nepp
> Fix For: 7.0.4
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> NullPointerException possible at:
> contextInfo.module = null;
> solution:
> {{ final ContextInfo contextInfo = getContextInfo(standardContext);
> if (contextInfo == null) { // openejb webapp loaded from the LoaderServlet
> return;
> }
> contextInfo.module = null; // shouldnt be there after startup (actually we shouldnt need it from info tree but our scanning does)
> if (contextInfo.appInfo == null) {
> return;
> }}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)