Skip to content

Error on Registration #5

Open
Open

Description

@hendisantika

Hi Gustavo,

I tried your repo. But I have an issue when trying to register my account.

Thu Jun 15 10:07:30 WIB 2017
There was an unexpected error (type=Internal Server Error, status=500).
could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement

-------

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'role_id' cannot be null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_121]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_121]

Do you have any solution?

Thanks

Activity

  1. hendisantika commented on Jun 15, 2017

    @hendisantika
    Author

    Sorry, I have found the issue.
    The SQL Script is not executed by Spring Boot.

    So, I tried to run script manually. Then It goes OK and runs well.

    Thanks you.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions