Hey Keith
could you please send me the contents of the batch file and how are you running 
it?
Might be able to help.
 


Shafqat Ayaz




>________________________________
> From: "Sinclair, Keith" <[email protected]>
>To: [email protected] 
>Sent: Tuesday, May 20, 2014 4:23 PM
>Subject: Java Error when running a batch file import
> 
>
>
>**  
>Hey Listers,
> 
>I created a batch file to automate the import of a CSV file so I wouldn't have 
>to do it every day. The batch file seems to run at first and then bombs out 
>with:
> 
>[Tue May 20 10:01:30.927] ERROR - Cannot import, exception occured while 
>importing TEST.csv : java.lang.NullPointerException
>java.lang.NullPointerException
>                at 
>com.bmc.arsys.apiext.data.Util.generateMappingsForTextFiles(Unknown Source)
>                at 
>com.bmc.arsys.apiext.data.csv.CSVImporter.handleTitlesEvent(Unknown Source)
>                at 
>com.bmc.arsys.apiext.data.BaseImporter$1.handleEvent(Unknown Source)
>                at com.bmc.arsys.apiext.data.Parser.fireEvent(Unknown Source)
>                at com.bmc.arsys.apiext.data.csv.CSVParser.parseFile(Unknown 
>Source)
>                at com.bmc.arsys.apiext.data.csv.CSVImporter.a(Unknown Source)
>                at 
>com.bmc.arsys.apiext.data.csv.CSVImporter.startImport(Unknown Source)
>                at com.bmc.arsys.apiext.data.BaseImporter.call(Unknown Source)
>                at com.bmc.arsys.apiext.data.BaseImporter.call(Unknown Source)
>                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)
> 
>I can run the import through the import tool, so I know the tool, the file and 
>the mappings are all good. This is happening in version 8.1.0. I have looked 
>through a ton of stuff on the internet but nothing seems to help resolve the 
>issue.
> 
>Keith Sinclair
>Remedy Development
>ShopperTrak  Chicago USA
>O:  312.676.8289 |  M:  630.946.4744
>[email protected]| @shoppertrak
>www.shoppertrak.com 
> 
_ARSlist: "Where the Answers Are" and have been for 20 years_
>
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to