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

Better Exception when accesing injected HttpServletRequest if no request is active

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 9.1.4, 10.0.0-M3
    • None
    • None

    Description

      Throws a NullPointerException right now that can be confusing, we should throw a custom exception in TomEE that actually tells the user what they're doing wrong clearly

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jungm Markus Jung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m