Okay, some progress has been made. I am now no longer receiving a java error 
but now I am seeing an authentication error:

[Wed May 21 08:57:33.696] INFO  - AR System Import Tool 8.1 build001 Wed May 21 
08:57:33.683
[Wed May 21 08:57:33.840] INFO  - APITIMEOUT from system property : -null
[Wed May 21 08:57:33.841] INFO  - APITIMEOUT from Environment : -null
[Wed May 21 08:57:34.519] INFO  - Starting import of 
C:\PROGRA~2\BMCSOF~1\ARSystemVER8\dataimporttool\TEST.csv
[Wed May 21 08:57:34.545] ERROR - Cannot import, exception occured while 
importing C:\PROGRA~2\BMCSOF~1\ARSystemVER8\dataimporttool\TEST.csv : ERROR 
(623): Authentication failed;
ERROR (623): Authentication failed;
                at 
com.bmc.arsys.apitransport.ApiProxyJRpcBase.verifyStatus(Unknown Source)
                at com.bmc.arsys.apitransport.ApiProxyJRpcBase.a(Unknown Source)
                at com.bmc.arsys.apitransport.ApiProxyJRpcBase.arCall(Unknown 
Source)
                at com.bmc.arsys.api.ProxyJRpc.ARGetListField(Unknown Source)
                at com.bmc.arsys.api.ProxyJRpc.ARGetListFieldObjects(Unknown 
Source)
                at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown 
Source)
                at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown 
Source)
                at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown 
Source)
                at com.bmc.arsys.apiext.data.Util.getServerForm(Unknown Source)
                at 
com.bmc.arsys.apiext.data.csv.CSVImporter.getTargetForm(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)

login in info in the batch file is correct. Any ideas?


From: Sinclair, Keith
Sent: Tuesday, May 20, 2014 10:24 AM
To: 'arslist@arslist.org'
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
ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com> | @shoppertrak
www.shoppertrak.com<http://www.shoppertrak.com/>


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

Reply via email to