Vault General Discussion

Vault General Discussion

Reply
Valued Mentor
jweiss
Posts: 402
Registered: ‎12-11-2003
Message 1 of 15 (2,345 Views)

Object reference not set to an instance of an object - Job Server Queue Error

2345 Views, 14 Replies
07-26-2011 11:14 AM

We are new Autodesk Vault Professional 2011 users. (Only two weeks).  I have an Inventor 2011 assembly file that throws an error in the Job Server Queue.  The assembly in in the Work In Progress state and its components are a mixed of Released, WIP and For Review.  I can check the file out and open it in Inventor and select the Export command and create a dwf file.  I also get an error when trying to create the dwf file locally using the Vault client.

 

Does anyone have an idea what this error means and how do I fix this issue.

 

Thanks

John C Weiss Jr.
CAD Administrator
Follett Corporation
Product Support
Andy.Spivey
Posts: 363
Registered: ‎08-12-2010
Message 2 of 15 (2,333 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

07-26-2011 01:01 PM in reply to: jweiss

John,

 

Have you noticed this with just a single file?

If so, how large is the file?

If the file is larger than 30 MB, what OS is hosting the Vault server?

Valued Mentor
jweiss
Posts: 402
Registered: ‎12-11-2003
Message 3 of 15 (2,304 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

08-01-2011 10:18 AM in reply to: Andy.Spivey

Hi Andy,

 

Sorry it took me so long to reply, but I've been having issues connecting to the Autodesk discussion groups the past week. The issue seems to be a single file that is 600KB in size.  The Vault server is running on Microsoft Server 2008 SP2 x32.

 

 

John C Weiss Jr.
CAD Administrator
Follett Corporation
Product Support
Andy.Spivey
Posts: 363
Registered: ‎08-12-2010
Message 4 of 15 (2,300 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

08-01-2011 10:35 AM in reply to: jweiss

John,

 

If it is a single file, can I have you upload it for review?  I can create a 1:1 ticket as you are on subscription so you do not need to post the file on the discussion group (unless you wish to do that). 

 

 

Product Support
Andy.Spivey
Posts: 363
Registered: ‎08-12-2010
Message 5 of 15 (2,287 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

08-02-2011 12:34 PM in reply to: Andy.Spivey

To close the loop on this thread - the file generating the error had been renamed and there was an outstanding DWF file still in the vault.  Once the old DWF was deleted, the file showing the error in the job processor was able to be processed without error.

 

Nice catch John!

*Expert Elite*
scottmoyse
Posts: 1,676
Registered: ‎06-10-2009
Message 6 of 15 (2,270 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

08-06-2011 07:10 PM in reply to: Andy.Spivey

andy cheers for making the effort to come back and post the results, a lot of people dont

Cheers
Scott Moyse

Please use Mark Solutions!.Accept as Solution &Give Kudos!Kudos to further enhance the value of these forums. Cheers!


   

Distinguished Contributor
mbodnar
Posts: 159
Registered: ‎08-02-2006
Message 7 of 15 (2,120 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

01-16-2012 04:42 PM in reply to: jweiss

Hi Andy

 

I have a replicated environment (Vault Collaboration 2012 SP1, Windows 2003, SQL 2008) where on one site  2 Vault clients show this error when submitting jobs to Job processor. Previosuly the error did not exist and Job processor was working OK

 

At the other sites, this error doesnt occur.

 

Also when attempting to update DWF manually thru Vault Explorer, the system show error "An error was returned while attempting to create the visualization file. The visualization file was not created"

 

Account logged is is Admin and has full access to modify files

 

Do you have any suggestions on how to resolve the error. I re-installed the vault client but error still comes up.

This happens on all of the files from the two clients from one site ONLY.

 

I have raised a support ticket with Autodesk but have had no solution as yet

 

thanks in advance

Max Bodnar

 

 

Distinguished Contributor
mbodnar
Posts: 159
Registered: ‎08-02-2006
Message 8 of 15 (2,120 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

01-16-2012 04:55 PM in reply to: Andy.Spivey

Sorry forgot to mention using Inventor 2011 SP2 on Windows XP64

I just tried a third client at the same site where the other 2 are having the error, and the third client works OK

 

The only thing that is different between the 2 clients that dont work and the client that does work, is the 2 clients have some additional Vault custom tools installed from the "Cracking the vault website" (lifecycle status and copy hyperlinks)

 

regards

Max Bodnar

Product Support
Andy.Spivey
Posts: 363
Registered: ‎08-12-2010
Message 9 of 15 (2,110 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

01-17-2012 08:08 AM in reply to: mbodnar

Max,

 

On the site with the issue, can you locally create a DWF file (not through the job processor, but through the Vault Client - Local update command?)

 

Does it complete successfully?

Distinguished Contributor
mbodnar
Posts: 159
Registered: ‎08-02-2006
Message 10 of 15 (2,098 Views)

Re: Object reference not set to an instance of an object - Job Server Queue Erro

01-17-2012 02:35 PM in reply to: jweiss

Hi Andy

 

Thanks for the reply. Yes I can create DWF's manually and thru job processor on the other sites.

Even on the site where it doesnt work under one windows user profile (user A on machine A), logging into widows with user B on machine A appears to work. I logged into the machine that has the same problem (machine B) but neither account A or B works.

 

I also deleted and recreated profile for user A on machine A, but I still get the error

 

 

This is the error that shows up in the event viewer

 

 

Error 17-Jan-12 1:02:36 PM
Job 220000000356 Autodesk.Vault.DWF.Create.ipt : Object reference not set to an instance of an object.
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at DWFGenerator.InventorSelector.IsInventorLT()
   at DWFGenerator.InventorDWFEngine.IsSupportedFile(String fileFullName)
   at DWFGenerator.DWFCreateCenter.CreateDWF(String srcPath, String destDWFPath, ArrayList layoutList)
   at DWFGenerator.DWFCreateCenter.CreateDWFFile(String srcPath, Int64 inventorVersion, SourceDocumentTypeEnum docType)
   at Connectivity.Request.ExtensionHandler.Inventor.Internal.UpdateViewExtensionHandler.Connectivity.Request.Document.Currency.ExtensionHandler.IUpdateViewExtensionHandler.CreateDwfFile(RequestContext rContext, FileOperationRecord file, String workingFolder)
   at Connectivity.Request.Document.Request.ExtensionHandler.UpdateView.CreateDwfFile.Execute(RequestContext rContext)
   at Connectivity.Request.Common.CommonRequest`1.ExecuteRequest(RequestContext rContext)
   at Connectivity.Request.Runtime.RequestExecutor.Execute(IRequest req, RequestInstance reqInstance)
   at Connectivity.Request.Runtime.RequestExecutor.Execute(IRequest req)
   at Connectivity.Explorer.Document.ViewModel.UpdateViewContextExtensions.CreateDwfFile(UpdateViewContext context, FileOperationRecord file, String workingFolder, String publishOptionsXml)
   at Connectivity.Explorer.Document.ViewModel.UpdateView.CreateDwfImpl()
   at Connectivity.Explorer.Document.ViewModel.UpdateView.CreateDwf(Boolean& isCancelled)
   at Connectivity.Explorer.JobHandlerDwfPublish.InventorDwfJobHandler.Execute(IJobProcessorServices context, IJob job)

 

 

Regards

Max Bodnar

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.

Announcements
New button for Platinum & Gold Subscription customers
Gold & Platinum Subscription customers can alert Autodesk if they require assistance with their forum post

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.