Technote

(troubleshooting)
Scheduled job ScheduledContentManagedFileEARUpdateCmd throws nullpointer exception.
Problem(Abstract)
You see this exception in your SystemOut.log:

[6/6/07 9:00:01:141 BST] 000000ec CommerceSrvr E com.ibm.commerce.filepublish.commands.ScheduledContentManagedFileEARUpdateCmdImpl performExecute _ERR_CMFILE_EAR_UPDATE_FAILEDjava.lang.NullPointerException
at com.ibm.commerce.wc.appmanagement.PartialEARBuilder.addFile(PartialEARBuilder.java:452)
at com.ibm.commerce.wc.appmanagement.WASEARUpdater.addFile(WASEARUpdater.java:559)
at com.ibm.commerce.filepublish.util.UpdateContentManagedFileInEARUtil.update(UpdateContentManagedFileInEARUtil.java:130)
at com.ibm.commerce.filepublish.util.ContentManagedFileEARUpdateImpl.update(ContentManagedFileEARUpdateImpl.java:319)
at com.ibm.commerce.filepublish.util.ContentManagedFileEARUpdateImpl.update(ContentManagedFileEARUpdateImpl.java:281)
at com.ibm.commerce.filepublish.commands.ScheduledContentManagedFileEARUpdateCmdImpl.performExecute(ScheduledContentManagedFileEARUpdateCmdImpl.java:119)
Cause
This nullpointer exception will occur when the ScheduledContentManagedFileEARUpdateCmd scheduled job runs and there is a record in the cmfile table with columns promote_fs=0 and storage_type=-1.
Resolving the problem
APAR JR25950 corrects the behavior of the ScheduledContentManagedFileEARUpdateCmd scheduled job to overlook any entries in the cmfile table with storage_type=-1. APAR JR25950 is included in WebSphere Commerce Fix Pack 6.0.0.3.

Alternatively, you can contact WebSphere Commerce support for APAR JR25950 built for WebSphere Commerce Fix Packs 6.0.0.1 or 6.0.0.2.

Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce Enterprise Not Applicable AIX, Linux, Solaris, Windows 6.0, 6.0.0.1, 6.0.0.2
Commerce WebSphere Commerce - Express Not Applicable AIX, Linux, Solaris, Windows 6.0, 6.0.0.1, 6.0.0.2
Commerce WebSphere Commerce Developer Enterprise Not Applicable Windows 6.0, 6.0.0.1, 6.0.0.2
Commerce WebSphere Commerce Developer Professional Edition Not Applicable Windows 6.0, 6.0.0.1, 6.0.0.2
Commerce WebSphere Commerce Developer Express Not Applicable Windows 6.0, 6.0.0.1, 6.0.0.2
 

Product Alias/Synonym
wcs
wc
wcde
wcs60
wcs6.0
wc60
wc6.0
   

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21282607