Error 500: Internal Server Error

URI
/error/index
Class
java.lang.Exception
Message
null
Caused by
Sample Exception

Around line 6 of grails-app\controllers\profilerefresh\ErrorController.groovy

3:class ErrorController {4:5:    def index() {6:        throw new Exception('Sample Exception')7:    }8:9:}

Trace

    Line | Method
->> 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    617 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    745 | run . . . in java.lang.Thread

Caused by Exception: Sample Exception
->>    6 | index     in ErrorController.groovy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^    745 | run       in java.lang.Thread