Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #35835 Back to Issue ]
Summary 0035835: The scheduler fails to load some scheduled processes when an incorrect configuration should be done
Revision 2017-05-10 14:03 by inigosanchez
Steps To Reproduce - As F&B Admin
1) Open [Process Request] window
2) Edit 'Costing Background Process' (which is already scheduled) setting its frequency as "Monthly" let the 'Day in Month' field empty and save the record. (Incorrect configuration is allowed)
3) Unschedule Process and then Reschedule Process. An error is displayed: RESCHED_ERROR For input string: "". In the console you can see:

ERROR org.openbravo.base.OBSchedulerInitializerListener - Quartz Scheduler failed to initialize: java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:592)
...
Revision 2017-05-10 14:03 by inigosanchez
Description The process request window allows to save incorrect configurations. When a process with incorrect scheduled configuration is launched an error is thrown.
Revision 2017-05-10 13:11 by inigosanchez
Steps To Reproduce - As F&B Admin
1) Open [Process Request] window
2) Edit 'Costing Background Process' (which is already scheduled) setting its frequency as "Monthly" let the 'Day in Month' field empty and save the record.
3) Create a new process 'Payment Monitor' and then schedule this process:
 * Timing: schedule
 * Frequency: 02 - Every n minutes
 * Interval in minutes: 1
 * Num repetitions: 100
 -> Notice that this process runs successfully every 1 minute

4) Restart tomcat, you will get an error in the log because of the first process:

ERROR org.openbravo.base.OBSchedulerInitializerListener - Quartz Scheduler failed to initialize: java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:592)
...

5) Login again in Openbravo and reopen the [Process Request] window. Both processes keep scheduled but not running.
Revision 2017-05-10 13:11 by inigosanchez
Description When having a scheduled process which fails to initialize when restarting tomcat, the following scheduled processes also fails to initialize but they keep staying in scheduled status.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker