Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Not applicable

error in a .bat file to reload a .qvw...

Hi all,

I have a .bat file which was working well. it reload 3 qvw files.

IF NOT EXIST \\path\filewatcher\stat_qv.ok goto ERR

"C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe"  -r="D:\QV_Projects\path\qv1qvw"  -out="D:\Batch\Logs\qv1.qvw.log"

"C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe"  -r="D:\QV_Projects\path\qv2.qvw"  -out="D:\Batch\Logs\qv2.qvw.log"

"C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe"  -r="D:\QV_Projects\path\qv3.qvw"  -out="D:\Batch\Logs\qv3.qvw.log"

DEL \\path\filewatcher\stat_qv.ok

GOTO FIN

:ERR

ECHO *** Fichier STAT_QV.OK non trouvé le %date% à %time% >>\\path\filewatcher\date_delete_sentinelle_Qlikview.txt

:FIN

Now i have this error in the log :

09/12/2011 09:56:05    Error    Exception=System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.

   à QDSMain.WorkorderStore.StartWorkorderStore()

   à QDSMain.ObjectPool.InitObjects(ILogBucket i_LogBucket, eRunLevel i_RunLevel, Func`1 clusterIDListGetFunc)

   à QDSMain.MainClass.BatchRun(eBatchReloadMode i_BatchReloadMode, String i_BatchReloadDocumentPath, String i_VariableName, String i_VariableValue)

09/12/2011 09:56:05    Information    Setting exit code to the number of errors. ErrorCount=1

we have now QV 11 do you think the trouble is this new version of QV ??? any idea ??

Thanks

Tags (4)
3 Replies
Partner
Partner

Re: error in a .bat file to reload a .qvw...

The support confirms that's a bug referenced ID 44391.

No fix date at this time.

Pascal
Highlighted
Partner
Partner

error in a .bat file to reload a .qvw...

Fixed from V11 SR1

Pascal
llauses243
Contributor III

Re: error in a .bat file to reload a .qvw...

Hi,

Pls to look image adjust ...

Good luck, Luis