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

Error :Cannot invoke method plusWeeks() on null object on stock module #8761

Open
dalmed opened this issue Aug 12, 2022 · 1 comment
Open

Comments

@dalmed
Copy link

dalmed commented Aug 12, 2022

Error on [Stock management] -> [Stock moves] -> [Supplier arrivals] and [Supplier return] :
Cannot invoke method plusWeeks() on null object

trace :
java.lang.NullPointerException: Cannot invoke method plusWeeks() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
at org.codehaus.groovy.vmplugin.v7.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:165) ...

@ale-axelor
Copy link
Contributor

Hello,

This error can happen when context.date is missing: see fac81a6
Does the issue still happen after updating your application.properties to add missing properties ?

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