{"id":12626,"date":"2024-03-12T13:26:29","date_gmt":"2024-03-12T13:26:29","guid":{"rendered":"https:\/\/support.buildsoft.eu\/?post_type=ht_kb&#038;p=12626"},"modified":"2024-11-19T10:28:56","modified_gmt":"2024-11-19T10:28:56","slug":"error-object-reference-not-set-to-an-instance-of-an-object-at-buildsoft-tsection-get_sectiontype-in-powerconnect","status":"publish","type":"ht_kb","link":"https:\/\/support.buildsoft.eu\/es\/knowledge-base\/error-object-reference-not-set-to-an-instance-of-an-object-at-buildsoft-tsection-get_sectiontype-in-powerconnect\/","title":{"rendered":"Error: Object reference not set to an instance of an object at Buildsoft.TSection.get_SectionType() in PowerConnect"},"content":{"rendered":"<p>Starting from Diamonds, you want to calculate a connection using PowerConnect. At the moment the connection enters PowerConnect, you get the error:<\/p>\n<p><a href=\"http:\/\/buildsoftsupport.com\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-5317 size-full aligncenter\" src=\"http:\/\/buildsoftsupport.com\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType.png\" alt=\"\" width=\"500\" height=\"274\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType.png 500w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType-300x164.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType-50x27.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType-60x33.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2020\/05\/ErrorTSection.get_sectionType-35x19.png 35w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Cause: this error is caused by a bug in Diamonds 2024.<\/p>\n<h2>Solution 1 [recommended]<\/h2>\n<p>Use Diamonds 2024r01 or newer.<\/p>\n<h2>Solution 2 [temporary solution]<\/h2>\n<p>If you don&#8217;t need the feature often, you could try this.<\/p>\n<ul>\n<li>Have your model calculated in Diamonds. Don&#8217;t sent the connection to PowerConnect yet.<\/li>\n<li>Go to <strong>My Documents &gt; PowerConnect<\/strong>. Depending on your operating system, the name &#8216;<strong>My Documents<\/strong>&#8216; can be &#8216;<strong>Documents<\/strong>&#8216;.<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-10846\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3.png\" alt=\"\" width=\"959\" height=\"287\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3.png 959w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3-300x90.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3-768x230.png 768w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3-50x15.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3-60x18.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2018\/02\/PowerconnectPreferences3-35x10.png 35w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/li>\n<li>Change the name of the folder &#8216;PowerConnect&#8217; to something else, &#8216;PowerConnect2&#8217; for example.<\/li>\n<li>Open Task Manager (\u00a0<kbd>CTRL<\/kbd>\u00a0+\u00a0\u00a0<kbd>ALT<\/kbd>\u00a0+ \u00a0<kbd>DEL<\/kbd>\u00a0or right mouse click on the Windows bar). Click on &#8216;More details&#8217;.<img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-3898 aligncenter\" src=\"http:\/\/buildsoftsupport.com\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1.png\" alt=\"\" width=\"379\" height=\"372\" srcset=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1.png 379w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1-300x294.png 300w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1-50x50.png 50w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1-60x60.png 60w, https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2017\/07\/ConnectGatewaytoGatewayServer1-35x35.png 35w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/li>\n<li>Go to the tabpage &#8216;Services&#8217;.<\/li>\n<li>Find the service &#8216;Gateway&#8217;\u00a0&gt; right mouse button &gt; \u2018Stop\u2019.<br \/>\nFind the service &#8216;Gateway Server&#8217;\u00a0&gt; right mouse button &gt; \u2018Stop\u2019.<\/li>\n<li>Select the connection and send it to PowerConnect as you normally would do. Once PowerConnect wants to launch, you&#8217;ll see the following:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-12627\" src=\"https:\/\/support.buildsoft.eu\/wp-content\/uploads\/2024\/03\/ErrorPowerConnect2024.png\" alt=\"\" width=\"509\" height=\"367\" \/><\/li>\n<li>Open Task Manager again ( <kbd>CTRL<\/kbd>\u00a0+\u00a0\u00a0<kbd>ALT<\/kbd>\u00a0+ \u00a0<kbd>DEL<\/kbd> or right mouse click on the Windows bar). Click on &#8216;More details&#8217;.<\/li>\n<li>Go to the tabpage &#8216;Services&#8217;.<\/li>\n<li>Find the service &#8216;Gateway&#8217; &gt; right mouse button &gt; \u2018Start\u2019.<br \/>\nFind the service &#8216;Gateway Server&#8217; &gt; right mouse button &gt; \u2018Start\u2019.<\/li>\n<li>Close Task Manager.<\/li>\n<li>Design the connection like you would normally do.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Starting from Diamonds, you want to calculate a connection using PowerConnect. At the moment the connection enters PowerConnect, you get the error: Cause: this error is caused by a bug in Diamonds 2024. Solution 1 [recommended] Use Diamonds 2024r01 or newer. Solution 2 [temporary solution] If you don&#8217;t need the&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[94],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/12626"}],"collection":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/comments?post=12626"}],"version-history":[{"count":2,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/12626\/revisions"}],"predecessor-version":[{"id":13953,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb\/12626\/revisions\/13953"}],"wp:attachment":[{"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/media?parent=12626"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-category?post=12626"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.buildsoft.eu\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=12626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}