Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
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

3 Replies
pascal_theurot
Partner - Creator II
Partner - Creator II

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

No fix date at this time.

Pascal
pascal_theurot
Partner - Creator II
Partner - Creator II

Fixed from V11 SR1

Pascal
llauses243
Creator III
Creator III

Hi,

Pls to look image adjust ...

Good luck, Luis