opengeospatial / teamengine

TEAM Engine (Test, Evaluation, And Measurement Engine) is an engine for testing web services and other resources written in JAVA. It executes test scripts written in Compliance Test Language (CTL), TestNG and other languages. It is lightweight and easy to run as a command line or to setup as a service. It can be used to test any type of service or encoding. It is also the official tool used by the Open Geospatial Consortium (OGC) for compliance testing.
Apache License 2.0
45 stars 41 forks source link

viewOldSessionLog page returns 500 NullPointerException when not logged in #500

Closed dstenger closed 2 years ago

dstenger commented 2 years ago

Describe the bug https://cite.opengeospatial.org/te2/viewOldSessionLog.jsp?session=s0006 returns a 500 when not logged in instead of a 401 or 404 as it should:

HTTP Status 500 - java.lang.NullPointerException

To Reproduce Steps to reproduce the behavior:

  1. Go to https://cite.opengeospatial.org/te2/viewOldSessionLog.jsp?session=s0006 without being logged in.
  2. Error described above is occurring.

Expected behavior

Additional context Issue was originally reported in https://github.com/opengeospatial/teamengine/issues/486#issuecomment-1018414834.