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

Reporting | NullPointerException: Cannot invoke method sort() on null object #14

Closed
jmiranda opened this issue Dec 16, 2013 · 0 comments

Comments

@jmiranda
Copy link
Member

2013-12-16 01:22:30,274 ERROR  GrailsExceptionResolver - Exception occurred when processing request: [GET] /openboxes/inventory/listOutOfStock
Stacktrace follows:
java.lang.NullPointerException: Cannot invoke method sort() on null object
    at org.pih.warehouse.inventory.InventoryService.getQuantityByProductAndInventoryItemMap(InventoryService.groovy:1087)
    at org.pih.warehouse.inventory.InventoryService$getQuantityByProductAndInventoryItemMap.callCurrent(Unknown Source)
    at org.pih.warehouse.inventory.InventoryService$getQuantityByProductAndInventoryItemMap.callCurrent(Unknown Source)
    at org.pih.warehouse.inventory.InventoryService.getQuantityByProductMap(InventoryService.groovy:1161)
    at org.pih.warehouse.inventory.InventoryService$$FastClassByCGLIB$$a7f866ff.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    at org.pih.warehouse.inventory.InventoryService$$EnhancerByCGLIB$$b44803aa.getQuantityByProductMap(<generated>)
    at org.pih.warehouse.inventory.InventoryService$getQuantityByProductMap.call(Unknown Source)
    at org.pih.warehouse.inventory.InventoryController$_closure22.doCall(InventoryController.groovy:454)
    at org.pih.warehouse.inventory.InventoryController$_closure22.doCall(InventoryController.groovy)
    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2013-12-16 01:22:30,274 [http-apr-8080-exec-1] ERROR errors.GrailsExceptionResolver  - Exception occurred when processing request: [GET] /openboxes/inventory/listOutOfStock
@jmiranda jmiranda closed this as completed Mar 4, 2021
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

1 participant