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

There is no default value for lastKey value #11

Open
kartikeytewari-ul opened this issue Jan 25, 2024 · 0 comments
Open

There is no default value for lastKey value #11

kartikeytewari-ul opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kartikeytewari-ul
Copy link
Contributor

kartikeytewari-ul commented Jan 25, 2024

Describe the bug

Without resolution of the bug proper cold-start of project with docker is blocked. This is observed here:

  • Class: customerProfileRepo
  • Method: getLastId

Reproduction steps

  1. Start service using docker-compose -f conf/docker-compose.yml up
  2. Direct invoke on DeliverySerivce.addNewCustomer
  3. Without mock and empty table in database the exception will be thrown.
    ...

Expected behavior

There should be some default value.

Additional context

Stack Trace

Exception: Null return value from advice does not match primitive return type for: public abstract long org.unlogged.demo.dao.CustomerProfileRepo.getLastId()
@kartikeytewari-ul kartikeytewari-ul added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant