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

Georg Nepp updated TOMEE-2101:
------------------------------
    Remaining Estimate:     (was: 10m)
     Original Estimate:     (was: 10m)
         Fix Version/s:     (was: 7.0.4)
           Description: 
NullPointerException possible at:
contextInfo.module = null;

solution:
{code}
        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;
        }
{code} 

  was:
NullPointerException possible at:
contextInfo.module = null;

solution:
{code}
        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;
        }
{code} 


> 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
>
> NullPointerException possible at:
> contextInfo.module = null;
> solution:
> {code}
>         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;
>         }
> {code} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to