New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0 - error 500 when adding TV Show #184

Closed
gkiko opened this Issue Jun 6, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@gkiko
Collaborator

gkiko commented Jun 6, 2016

What I did: searched for a new TV Show and clicked Save button

What I expected: navigate to a new page where I can fetch all episodes for season

Actual result: no changes in GUI.

Grails console displayed this error

ERROR org.grails.web.errors.GrailsExceptionResolver - NullPointerException occurred when processing request: [POST] /tvShow/save.json
Cannot set property 'properties' on null object. Stacktrace follows:
java.lang.reflect.InvocationTargetException: null
    at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)
    at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
    at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException: Cannot set property 'properties' on null object
    at streama.TvShowController.$tt__save(TvShowController.groovy:33)
    at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
    at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
    ... 6 common frames omitted

@gkiko gkiko changed the title from v1.0.0 - error 500 when adding tvShow to v1.0.0 - error 500 when adding TV Show Jun 6, 2016

@dularion

This comment has been minimized.

Show comment
Hide comment
@dularion

dularion Jun 7, 2016

Member

Thanks for your PR!

Member

dularion commented Jun 7, 2016

Thanks for your PR!

@dularion dularion closed this Jun 7, 2016

dularion pushed a commit that referenced this issue Jun 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment