Encountering a Java Exception (HTTP Status 500 – Internal Server Error) when attempting to log into the Web Viewer account. The logs show java.lang.NullPointerException and DB2 SQL Error SQLCODE=-551, SQLSTATE=42501.
This error signifies that the user ID you are using does not have the required authorization to perform operations (such as CREATE, SELECT, INSERT, or UPDATE) on the database objects.
Ensure that Web Viewer has the proper permissions to interact with the database. Follow these steps to resolve the issue: