Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0045139 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Modules] Operator Load Balancing | minor | always | 2020-09-25 08:41 | 2020-09-25 08:41 | |||||||
Reporter | vmromanos | View Status | public | |||||||||
Assigned To | Triage Omni WMS | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0045139: NullPointerException when bin has not a popularity code define | |||||||||||
Description | When you have a task linked to a bin without popularity code, the Task Assignment process throws a NullPointerException when there is a "Task To Rule" configuration that tries to assign that task. | |||||||||||
Steps To Reproduce | In AWO Client. Go to Warehouse Definition, select US West Coast. Go to Task Assignment tab and enter a new record. Fill only the mandatory fields, and select "Task to Rules" in Logic Applied field. Go to Operators tab and enter a new record for AWO_US_W user In database, make sure there are available tasks in this warehouse not assigned to any user: update obawo_task set ad_user_id=null where status = 'AV' and m_warehouse_id = 'F66CF439D1EC4ACDBD15A78A6195BCC1'; Remove the popularity code of all the bins: update m_locator set em_obawo_popularity_code=null where m_warehouse_id = 'F66CF439D1EC4ACDBD15A78A6195BCC1'; Back in the ERP, go to Process Request window, create a new record for * org, Process "Task Assignment" and run it inmediately. Check the exception is thrown. Error executing process org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssignmentProcess org.quartz.JobExecutionException: null at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssignmentProcess.doExecute(TaskAssignmentProcess.java:36) ~[classes/:?] at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:85) ~[classes/:?] at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:65) [classes/:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] Caused by: java.lang.NullPointerException at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskMatcherWithRule.matchesOrNullPopCodeMax(TaskMatcherWithRule.java:122) ~[classes/:?] at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskMatcherWithRule.match(TaskMatcherWithRule.java:60) ~[classes/:?] at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssigment.assignTaskToRules(TaskAssigment.java:216) ~[classes/:?] at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssigment.processTaskToRules(TaskAssigment.java:205) ~[classes/:?] at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssigment.exec(TaskAssigment.java:58) ~[classes/:?] at org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing.ad_process.TaskAssignmentProcess.doExecute(TaskAssignmentProcess.java:32) ~[classes/:?] ... 4 more | |||||||||||
Proposed Solution | Review ANY place in the class that might have a similar problem | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2020-09-25 08:41 | vmromanos | New Issue | |
2020-09-25 08:41 | vmromanos | Assigned To | => Triage Finance |
Copyright © 2000 - 2009 MantisBT Group |