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

GitHub | zyro23 | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    npe if controller is not backed by a domain class

    GitHub | 2 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