Hi Mohanraj,
Are there situations in which currentUri could be null? Kind regards, Geert *Van:* [email protected] [mailto: [email protected]] *Namens *Mohanraj Chozhan *Verzonden:* maandag 24 juni 2013 14:27 *Aan:* [email protected] *Onderwerp:* [MarkLogic Dev General] Query to be posted in ML Forum.. Hi, While invoking the Mark Logic record loader we are getting the following exception. This occurs only for some zip files in client environment and the same zip files when run in development environment is getting loaded into ML server without any issues. The zip which are being loaded has many xml files, so zip file is not empty as well. Null pointer exception occurs in the following highlighted line in AbstractLoader.java *protected* *void* *updateMonitor**(**long* len*)* *{* *// handle monitor accounting* *// note that we count skipped records, too* event*.*increment*(*len*);* monitor*.*add*(*currentUri*,* event*);* *}* Please let me know if you have faced any similar issues and your help is much appreciated to resolve this. *Stack trace of the error: * INFO: queuing contents of C:\sample\Attachments\: 1 22 juin 2013 17:14:02 com.marklogic.recordloader.Configuration getContentFactoryConstructor INFO: ContentFactory is com.marklogic.recordloader.xcc.XccContentFactory 22 juin 2013 17:14:02 com.marklogic.recordloader.Configuration getContentFactoryConstructor INFO: client = 6.0-2, server = 6.0-3.1 22 juin 2013 17:14:02 com.marklogic.recordloader.DefaultInputHandler run INFO: queued 1 loader(s) 22 juin 2013 17:14:02 com.marklogic.recordloader.Monitor halt ATTENTION: fatal - halting monitor 22 juin 2013 17:14:03 com.marklogic.ps.SimpleLogger logException GRAVE: EXCEPTION java.lang.NullPointerException at com.marklogic.recordloader.Monitor.add(Monitor.java:186) at com.marklogic.recordloader.AbstractLoader.updateMonitor(AbstractLoader.java:318) at com.marklogic.recordloader.FileLoader.process(FileLoader.java:69) at com.marklogic.recordloader.AbstractLoader.call(AbstractLoader.java:96) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 22 juin 2013 17:14:03 com.marklogic.recordloader.Monitor halt INFO: halting 22 juin 2013 17:14:03 com.marklogic.recordloader.Monitor run INFO: loaded 0 records ok (0 B in 0.621097653 s, 0 tps, 0 kB/s), with 0 error(s) Regards, Mohanraj **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
