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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ole-bjorn
Contributor II
Contributor II

Fatal exception during bootstrap: Object reference not set to an instance of an object.

Hi

Im restoring a copy of our production database to test, but I get at error when i run the bootstap command "Repository.exe -bootstrap -standalone -restorehostname"

The error from the C:\ProgramData\Qlik\Sense\Log\Repository\Trace\SERVERNAME_System_Repository.txt

128 20250128T140922.929+0100 INFO SERVERNAME System.Repository.Repository.QRSMain 3 241160c5-64d2-4aa7-aaf2-804f4c1550d4 SERVICESUSER Entering main startup phase.. 241160c5-64d2-4aa7-aaf2-804f4c1550d4
129 20250128T140932.675+0100 INFO SERVERNAME System.Repository.Repository.Core.Core 3 a4a15e3d-5a40-4afe-bacb-34f33bce4f0d SERVICESUSER Entering inner core.. a4a15e3d-5a40-4afe-bacb-34f33bce4f0d
130 20250128T140932.675+0100 INFO SERVERNAME System.Repository.Repository.Core.Core 3 0130cd96-d571-4700-87b4-81d1a7805c71 SERVICESUSER Setting up core.. 0130cd96-d571-4700-87b4-81d1a7805c71
131 20250128T140933.197+0100 INFO SERVERNAME System.Repository.Repository.Core.Database.DeletedEntityLogFilter 3 b0a9efeb-fbbc-4112-b9bd-aa7bd3fa0ad5 SERVICESUSER The following entities will be excluded from the DeletedEntityLog: TempContent, ExecutionResult, ExecutionResultDetail, ExecutionSession b0a9efeb-fbbc-4112-b9bd-aa7bd3fa0ad5
132 20250128T140933.207+0100 INFO SERVERNAME System.Repository.Repository.Core.Core 3 a15f0adb-8cac-487d-8f8a-6361f7d73b66 SERVICESUSER Deleted entity log initialized a15f0adb-8cac-487d-8f8a-6361f7d73b66
133 20250128T140933.906+0100 INFO SERVERNAME System.Repository.Repository.Core.Cluster.ServiceClusterSetup 3 bc5c66d8-b384-427a-a2fe-b92188f38d3e SERVICESUSER ServiceCluster with name Qlik Default Service Cluster initialized bc5c66d8-b384-427a-a2fe-b92188f38d3e
134 20250128T140934.048+0100 INFO SERVERNAME System.Repository.Repository.QRSMain 3 123a1cff-cf6f-4299-ba4f-8a1184bd5cf1 SERVICESUSER Shutdown completed. Signing off.. 123a1cff-cf6f-4299-ba4f-8a1184bd5cf1
135 20250128T140934.306+0100 ERROR SERVERNAME System.Repository.Repository.QRSMain 3 979f0fae-b0c9-46f3-a638-9df76c71686a SERVICESUSER Fatal exception during bootstrap Object reference not set to an instance of an object. at Repository.Core.Database.InnerDatabaseRestore.Restore()↵↓ at Qlik.Sense.Common.Ioc.WorkScope.Work[T](Action`1 action)↵↓ at Repository.Core.Core.RestoreHostname()↵↓ at Repository.Core.Core.Setup_Node()↵↓ at Repository.Core.Core.Setup()↵↓ at Repository.Core.Core.Inner(ManualResetEvent shutdownRequestedEvent)↵↓ at Repository.QRSMain.<Main>b__40_2(ICore core)↵↓ at Qlik.Sense.Common.Ioc.WorkScope.Work[T](Action`1 action)↵↓ at Repository.QRSMain.Main()↵↓ at Repository.QRSMain.Run(String[] args, Action`1 terminate) 979f0fae-b0c9-46f3-a638-9df76c71686a

I've uninstalled and installed a fresh copy of the same Qlik version as production. The certificates are imported from production as well.

 

 

 

Labels (1)
2 Replies
Dana_Baldwin
Support
Support

Hi @ole-bjorn 

Please note the forum you have posted to is for the Data Integration product Enterprise Manager, used for managing multiple Replicate/Compose/Catalog servers. To reach your target audience, please consider posting your question here: https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense

Thanks,

Dana

Eduardo_Monteiro
Partner - Creator II
Partner - Creator II

Hello @ole-bjorn 

I'm experiencing the same issue: 

Fatal exception during bootstrap: Object reference not set to an instance of an object. at Qlik.Sense.Common.Security.Certificates.CertCreator.MakeCertificate

Here's a snipped of the install repo log:

 

CAQuietExec: Unbinding SSL certificate from port: 4899
CAQuietExec: Removing URL ACL: http delete urlacl url=https://+:4899/
CAQuietExec: Fatal exception during bootstrap: Object reference not set to an instance of an object. at Qlik.Sense.Common.Security.Certificates.CertCreator.MakeCertificate(String externalRootCertThumbprint, ISecretsKey newKeyMayBeNull, Boolean shouldCarrySecretsKey, String certificateDn, Boolean selfSignedRootBasicConstraintsCA)
CAQuietExec: at Qlik.Sense.Common.Security.Certificates.CertCreator.CreateCertificate(ISecretsKey newSecretsKeyMayBeNull, String hostName)
CAQuietExec: at Qlik.Sense.Common.Security.SecuritySetup.InstallServiceClusterCertificate()
CAQuietExec: at Repository.QRSMain.ValidateCertificates()
CAQuietExec: at Repository.QRSMain.Bootstrap()
CAQuietExec: at Repository.QRSMain.Main()
CAQuietExec: at Repository.QRSMain.Run(String args, Action`1 terminate)
CAQuietExec: Bootstrap mode has terminated. Press ENTER to exit..
CAQuietExec: Error 0x80070001: Command line returned an error.
CAQuietExec: Error 0x80070001: QuietExec Failed
CAQuietExec: Error 0x80070001: Failed in ExecCommon method
MSI (s) (78:4C) [14:57:05:999]: Executing op: ActionStart(Name=RemoveFiles,Description=Removing files File: [1], Directory: [9],)
CustomAction CA_UninstallProcBootstrap returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (78:4C) [14:57:06:000]: Executing op: ProgressTotal(Total=226,Type=1,ByteEquivalent=175000)
MSI (s) (78:4C) [14:57:06:000]: Executing op: SetTargetFolder(Folder=C:\Program Files\Qlik\Sense\Repository\)
MSI (s) (78:4C) [14:57:06:000]: Executing op: FileRemove(,FileName=Autofac.dll,,ComponentId={2C4C12AC-4C8D-560B-A23C-DC99C2F639FC})
MSI (s) (78:4C) [14:57:06:002]: Verifying accessibility of file: Autofac.dll
MSI (s) (78:4C) [14:57:06:002]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:002]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:002]: Executing op: FileRemove(,FileName=AWSSDK.Core.dll,,ComponentId={DE64AED3-CD8A-5C0B-99C1-FC62F9B92852})
MSI (s) (78:4C) [14:57:06:004]: Verifying accessibility of file: AWSSDK.Core.dll
MSI (s) (78:4C) [14:57:06:005]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:005]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:005]: Executing op: FileRemove(,FileName=AWSSDK.Core.xml,,ComponentId={8DBDA204-FCF3-5850-AB60-40B50EE41228})
MSI (s) (78:4C) [14:57:06:006]: Verifying accessibility of file: AWSSDK.Core.xml
MSI (s) (78:4C) [14:57:06:007]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:007]: Note: 1: 2318 2:
MSI (s) (78:4C) [14:57:06:007]: Executing op: FileRemove(,FileName=AWSSDK.SQS.dll,,ComponentId={7852B6FF-003A-589C-8E12-4D5155CF75BD})
MSI (s) (78:4C) [14:57:06:008]: Verifying accessibility of file: AWSSDK.SQS.dll
MSI (s) (78:4C) [14:57:06:008]: Note: 1: 2318 2:

Eduardo_Monteiro_0-1769729087258.png

 

 

 

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com