[ 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: {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: {{ 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: > {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)