Exception at Ansys.ACT.Core.ApplicationContext.LoadExtension

Options
mszlez
mszlez Member Posts: 7
Name Dropper First Comment
edited January 29 in General Language Questions

Hi all,

I have created several ANSYS wizards to guide the user through the analysis, including geometry creation in SpaceClaim and analysis setup in Mechanical. To date, they have all worked well. However, now myself and some other people in the company are not able to fully run the wizard. In fact, the Wizard triggers the launch of SpaceClaim, but after SpaceClaim is launched, the Wizard does not run. We all see the same, following messages in the Extension log. Could this be caused by a Windows update? As the developer of the extension, is there anything I can do to fix this?

Thanks in advance for any tips!

Best regards.

Launch Wizard: AF constant diameter
Submit step: Step_1
RemoteManager connected on port 55804 (processId:25080, context:SpaceClaim)
Can not load extension AF_Plugin_Rev_D for context SpaceClaim. 
Exception of type 'System.Exception' was thrown. 
Exception 
at Ansys.ACT.Core.ApplicationContext.LoadExtension(IExtensionDefinition definition, Boolean invokeInitCallback)
SpaceClaim CustomApplication started.
WorkBench integration.
WebPage: file:///C:\Program Files\ANSYS Inc\v231\Addins\ACT\html\gridpanel.html?ACTPort=52628&ACTSocketName=Wizard
Object reference not set to an instance of an object. 
NullReferenceException

Server stack trace: 
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) 
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) 

Exception rethrown at [0]: 
at Ansys.ACT.Core.Wizards.Gui.NativeWizardLauncher.PrepareApplicationForStep(Step nextStep, Boolean needReset) 
at Ansys.ACT.Core.Wizards.Gui.WizardLauncher.OnActivateNextStep(Step step) 
at Ansys.ACT.Core.Wizards.Gui.WizardLauncher.b__21_1(Object sender, EventArgs args) 
at Ansys.ACT.Core.UI.UIPanels.StepPanel.OnActivateNextStep(Step step) 
at Ansys.ACT.Core.UI.HTMLRenderer.ButtonsComponentRenderer.ButtonOnCalled(CallbackWebObject sender, CallbackEventArgs callbackEventArgs) 
at Ansys.ACT.Core.UI.HTMLRenderer.CallbackWebObject.OnCallbackCalled(String id, CallWebObject obj) 
------------------------------------------
Traceback (most recent call last): 
SystemError: Object reference not set to an instance of an object.
------------------------------------------

Comments

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 813
    First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
    Options

    Hi @mszlez , sorry we missed that post. This would require some further debugging; could you please send a small app and model that reproduces the issue to your local support provider? Thank you.