Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2101

org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart() NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 7.0.3
    • None
    • TomEE Core Server
    • None
    • any

    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;
              }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Georg Nepp Georg Nepp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: