Trying To Forecast Work Orders None Generated (Doc ID 1927758.1)

Last updated on SEPTEMBER 01, 2016

Applies to:

Oracle Enterprise Asset Management - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to generate preventive maintenance (PM) work orders for some assets, forecast does not get generated and the following error is seen in the log file.
There are other assets that generate PM work orders as expected. The issue happens when using either the Maintenance Workbench or the Generate Preventive Maintenance Work Orders program.


ERROR

Exit with java Exception:
java.lang.NullPointerException
at oracle.apps.eam.pm.util.DateUtils.diffTimestamp(DateUtils.java)
at oracle.apps.eam.pm.scheduling.PMSchedule.evaluateRules(PMSchedule.java:638)
at oracle.apps.eam.pm.scheduling.AssetPM.generateCyclicPMSuggestions(AssetPM.java:378)
at oracle.apps.eam.pm.scheduling.AssetPM.run(AssetPM.java:68)
at oracle.apps.eam.pm.scheduling.PMEngine.doForecast(PMEngine.java:437)
at oracle.apps.eam.pm.scheduling.PMEngine.forecastWorkOrders2(PMEngine.java:380)


STEPS

The issue can be reproduced at will with the following steps:
1. Responsibility: Enterprise Asset Management
2. Navigation: Work Order Planning -> Maintenance Workbench
3. Enter Asset and Horizon
4. Click on Run
5. No work orders were generated
6. The same issue occurs when using the Generate Preventive Maintenance Work Orders program.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms