Skip to content
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

Remote procedure call error #1122 #1235

Open
akmal1999 opened this issue Mar 24, 2021 · 8 comments
Open

Remote procedure call error #1122 #1235

akmal1999 opened this issue Mar 24, 2021 · 8 comments

Comments

@akmal1999
Copy link

remote procedure call error.txt

Also, I can not see the devices in the list.

@akmal1999
Copy link
Author

I have attached error file.

@akmal1999
Copy link
Author

1 ---- Caused by: java.sql.SQLException: Field 'attributes' doesn't have a default value

2 --- INFO | jvm 1 | 2021/03/24 19:01:55 | SEVERE: Error during scheduled task execution
INFO | jvm 1 | 2021/03/24 19:01:55 | javax.persistence.EntityNotFoundException: Unable to find org.traccar.web.shared.model.Position with id 13227048
INFO | jvm 1 | 2021/03/24 19:01:55 | at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:183)

@akmal1999
Copy link
Author

Please note that I have cleand the positions table.

@vitalidze
Copy link
Owner

If you have cleaned the positions table then you have to update other tables, which have links to the positions table. For example, devices have a link to the latest position.

@akmal1999
Copy link
Author

What you mean is if delete positions, I need to delete the devices as well that has link to the positions?

Also, I how would clean positions safely without deleting the devices or how would decouple this process?

@akmal1999
Copy link
Author

What I am going through right now is all devices do not show up and I get a remote procedure call error. I recreated the database by dropping it from mysql and tried: I get Remote Procedure call error when I:

  1. create users
  2. creating devices

I attached the errors at the top of the page.

@akmal1999
Copy link
Author

If you have cleaned the positions table then you have to update other tables, which have links to the positions table. For example, devices have a link to the latest position.

where do I need to clean the links to the positions from the devices so devices do not look in the link that calls for the positions?

@vitalidze
Copy link
Owner

You can get an idea from this #820 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants