ProductionRunDeclaration.bsh not checking for null
--------------------------------------------------
Key: OFBIZ-165
URL: http://issues.apache.org/jira/browse/OFBIZ-165
Project: OFBiz (The Open for Business Project)
Issue Type: Bug
Components: manufacturing
Affects Versions: SVN trunk
Reporter: Scott Gray
Priority: Minor
Attachments: ofbiz.log
The attached log has the details, but basically if estimatedSetupMillis or
estimatedMilliSeconds are null then calling toString on the Double fails (lines
132 & 133). I would attach a patch but I'm not sure what the best approach is,
we could switch from getDouble(value).toString() to getString(value) or just
check for null first or possibly ensure that a null becomes a 0 when the
routingTask is created?
Regards
Scott
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira