Article - CS301111

Error " panic: runtime error: invalid memory address or nil pointer dereference[signal 0xc0000005 code=0x0 addr=0x10 pc=0x5ef8e8]" is reported in install.log when attempoting to install the extension on a https environment.

Modified: 16-Apr-2019   


Applies To

  • ThingWorx Analytics 8.4 F000 to SP2

Description

  • Installation of ThingWorx Analytics Server on Windows with a ThingWorx Platform on https / SSL on Linux
  • Following error is seen in <ThingWorxAnalyticsServer>/install.log file
Analytics extension version 8.4.0 being installed
Setting variable installedAnalyticsExtensionVersion from twxfoundation_extension_version.exe 192.168.56.108 443 01eda9c1-bcda-4405-8133-2065b7d00d7e 1 true "ThingWorx_Analytics_Builder_Extension"
Script exit code: 2

Script output:
 

Script stderr:
 panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x5ef8e8]

goroutine 1 [running]:
ptc/common_components_shared.ThingworxGet(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0x0, 0x0, 0x0, 0x0)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:63 +0x658
ptc/common_components_shared.ThingworxGetAsJson(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0xc04200a200, 0x38, 0xc042058780)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:162 +0x6a
main.main()
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/twxfoundation_extension_version/twxfoundation_extension_version.go:19 +0xeb

Error running twxfoundation_extension_version.exe 192.168.56.108 443 01eda9c1-bcda-4405-8133-2065b7d00d7e 1 true "ThingWorx_Analytics_Builder_Extension" : panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x5ef8e8]

goroutine 1 [running]:
ptc/common_components_shared.ThingworxGet(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0x0, 0x0, 0x0, 0x0)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:63 +0x658
ptc/common_components_shared.ThingworxGetAsJson(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0xc04200a200, 0x38, 0xc042058780)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:162 +0x6a
main.main()
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/twxfoundation_extension_version/twxfoundation_extension_version.go:19 +0xeb
Problem running post-install step. Installation may not complete correctly
 Error running twxfoundation_extension_version.exe 192.168.56.108 443 01eda9c1-bcda-4405-8133-2065b7d00d7e 1 true "ThingWorx_Analytics_Builder_Extension" : panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x5ef8e8]

goroutine 1 [running]:
ptc/common_components_shared.ThingworxGet(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0x0, 0x0, 0x0, 0x0)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:63 +0x658
ptc/common_components_shared.ThingworxGetAsJson(0xc04207e010, 0x5, 0x7, 0xc04200a200, 0x38, 0xc04200a200, 0x38, 0xc042058780)
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/common_components_shared/common_components_shared.go:162 +0x6a
main.main()
    /home/ubuntu/workspace/installbuilder-common-components/golang/src/ptc/twxfoundation_extension_version/twxfoundation_extension_version.go:19 +0xeb
This is a printer-friendly version of Article 301111 and may be out of date. For the latest version click CS301111