Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exception=System.NullReferenceException: Object reference not set to an instance of an object

Hi,

I am getting the following error message when I am trying to distribute a QV app. with QV Publisher. (QV 9 SR2):

Exception=System.NullReferenceException: Object reference not set to an instance of an object

What is this and how can I fix it?

This is the log fil:

2010-08-19 08:05:07) Information: Executing ClusterID=1, QDSID=d20e033a-713c-fd19-5570-8937e92a229aQDSMain.DistributeTask

(2010-08-19 08:05:07) Information: Starting task "Dist. DB Finance for US Server" (Attempt 1 of 1)

(2010-08-19 08:05:07) Information: Max run time: 1.00:00:00

(2010-08-19 08:05:07) Information: Distributing document.

(2010-08-19 08:05:07) Information: Determinated 2 static recipients spread over 1 Distribution Resources.

(2010-08-19 08:05:07) Information: Opening document: "HCSalesDashboard-GROUP_FinanceManagement.qvw"

(2010-08-19 08:05:07) Information: Allocating QlikView Engine

(2010-08-19 08:05:07) Information: Allocating new QlikView Engine. Current usagecount=1 of 4

(2010-08-19 08:05:07) Information: An instance of the QlikView Engine is being created

(2010-08-19 08:05:07) Information: Starting QlikView Engine

(2010-08-19 08:05:07) Information: The QlikView Engine was started successfully. Version=9.00.7320.7, ProcessID=3836

(2010-08-19 08:05:07) Information: Allocated QlikView Engine successfully. Current usagecount=1 of 4, Ticket=5689

(2010-08-19 08:05:07) Information: Loading document "\\HCSE01FS1\databas\Mimer\Production\SourceDocuments_QVG2\Finance\HCSalesDashboard-GROUP_FinanceMana..." (22.91 Mb)

(2010-08-19 08:05:08) Information: Loading. LoadTime=00:00:00.9999936

(2010-08-19 08:05:10) Information: Loading. LoadTime=00:00:02.9999808

(2010-08-19 08:05:14) Information: Loading. LoadTime=00:00:06.9999552

(2010-08-19 08:05:14) Information: Physical FileSize=22.91 Mb. Memory Allocation Delta for this file=139.46 Mb. Available Physical Memory Before Open=2711.55 Mb. Available Physical Memory After Open=2589.68 Mb. Total Physical Memory=4094.60 Mb.

(2010-08-19 08:05:14) Information: The document was loaded successfully.

(2010-08-19 08:05:14) Information: Round: 1 (0), Opening document (15), Initializing Checkout (15), Loading document (406), Initializing load (406), Checking read (406), Creating QlikView Engine (437), Checking Size (453), Load (469), Load Completed (4578), Tables read (7390), Opened successfully (7437)

(2010-08-19 08:05:14) Information: Disabling One and always one

(2010-08-19 08:05:15) Information: Reduce skipped, nothing is selected.

(2010-08-19 08:05:15) Information: Applying Bookmark (0), UnlockAll (0), ClearSelections (0), ClearOneAndAlwaysOneSelected (0), ReduceData (15), Preparing for Reduce (15), Skipped (328)

(2010-08-19 08:05:15) Information: Document was opened successfully

(2010-08-19 08:05:15) Information: Opened successfully (0)

(2010-08-19 08:05:15) Information: Number of rule combinations was calculated successfully. Rounds=1

(2010-08-19 08:05:15) Information: Binding Loop Reduction Set (0), Determinate Round Count (0), Determinating round count. (0), Finished (0)

(2010-08-19 08:05:15) Information: ROUND: 1 of 1. WarningCount=0

(2010-08-19 08:05:15) Information: Destination Name: HemoCue Sales Dashboard Finance/Management.qvw

(2010-08-19 08:05:15) Information: Resetting of the Document Script for the Distributed Document was successful. ScriptType=BinaryLoad

(2010-08-19 08:05:15) Information: Storing document to be distributed on disk

(2010-08-19 08:05:15) Information: Enabling One and always one

(2010-08-19 08:05:15) Information: Commencing ClearSelections. FieldName=ERC_Key

(2010-08-19 08:05:15) Information: Adding selectons for field ERC_Key. Values="ActualUSD"

(2010-08-19 08:05:21) Information: Disabling One and always one

(2010-08-19 08:05:21) Information: Empty rules (0), Rules resulted in distribution. (0), Building filename (0), Setting script (0), Offer resources (16), Populating distribution (16), Generating documents from "\\HCSE01FS1\databas\Mimer\Production\SourceDocuments_QVG2\Finance\HCSalesDashboard-GROUP_FinanceMana..." (16), Type=QVW (78), Generating QVW Document (78), Success (6563), Success (6563)

(2010-08-19 08:05:21) Information: Closing the document.

(2010-08-19 08:05:21) Information: Closed the QlikView Engine successfully. ProcessID=3836

(2010-08-19 08:05:21) Information: Checkin (Closing document and QlikView Engine) (0), Initializing (0), Finished (312)

(2010-08-19 08:05:21) Information: Distributing...

(2010-08-19 08:05:21) Information: Distributing using resource "Dist. DB Finance for US Server_QVS_1".

(2010-08-19 08:06:25) Error: Distribution failed for resource "Dist. DB Finance for US Server_QVS_1" (QlikViewServerDistributionResource). Exception=System.NullReferenceException: Object reference not set to an instance of an object.

(2010-08-19 08:06:25) Error: at QlikTech.QVSHelper.Dispose()

(2010-08-19 08:06:25) Error: at QDSMain.FileSystemPluginHelper.Dispose(Boolean i_IsDisposing)

(2010-08-19 08:06:25) Error: at QDSMain.FileSystemPluginHelper.Dispose()

(2010-08-19 08:06:25) Error: at QDSMain.QlikViewServerDistributionResource.Distribute(ILogBucket i_LogBucket, DistributionRequest i_DistributionRequest)

(2010-08-19 08:06:25) Error: at QDSMain.DistributeTask.DistributeStreamToResources(ILogBucket i_LogBucket, Int32 i_Round, Distribution i_Distribution, IEnumerable`1 i_DistributionResources)

(2010-08-19 08:06:25) Information: Errors during distribute, aborting.

(2010-08-19 08:06:25) Error: Distribution to resources failed with errors. Warnings=0, Errors=1

(2010-08-19 08:06:25) Information: All done.

(2010-08-19 08:06:25) Information: Distributing (0), Failed (63735), Deleting temp files (63766), Next round! (63782)

(2010-08-19 08:06:26) Error: The task "Dist. DB Finance for US Server" failed. ErrorCount=2

(2010-08-19 08:06:26) Information: Sending Alert Mail to 1 recipients.

(2010-08-19 08:06:26) Error: MailTemplate not found. eMailTemplateType=Alert


2 Replies
Not applicable
Author

Use this thread

http://community.qlik.com/forums/t/26309.aspx

Probably your QVPR has been corrupted.

Not applicable
Author

After restart of QDS Service - everything is fine now!