java.lang.NullPointerException: Cannot get property 'clazz' on null object

GitHub | zyro23 | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    npe if controller is not backed by a domain class

    GitHub | 3 years ago | zyro23
    java.lang.NullPointerException: Cannot get property 'clazz' on null object

    Root Cause Analysis

    1. java.lang.NullPointerException

      Cannot get property 'clazz' on null object

      at com.github.rahulsom.swaggydoc.ApiController.show()
    2. com.github.rahulsom
      ApiController.show
      1. com.github.rahulsom.swaggydoc.ApiController.show(ApiController.groovy:141)
      1 frame