Ansys starting problem

asp28_01

asp28_01

@asp28-01-aQ38fu Oct 27, 2024
I'm using computer with windows 7 64 bit, AMD processor. While starting ansys 12.1 workbench it gives errors. This problem start occurring when my computer was not shut down properly.

System.NullReferenceException: Object reference not set to an instance of an object.
at Ans.EngineeringData.Commands.LibraryManager.LoadLibraries(IQueryContext contextToQuery, Boolean userLibrary)
at Ans.EngineeringData.Commands.LibraryManager.Initialize(CommandContext cmdContext)
at Ans.EngineeringData.Commands.InitializeEngineeringDataLibrary.ExecuteInitialize(CommandContext context)
at Ans.EngineeringData.Commands.InitializeEngineeringDataLibrary.Execute(CommandContext context)
at Ans.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: Object reference not set to an instance of an object.
Command: EngData.InitializeEngineeringDataLibrary(Name="Engineering Data 1")
at Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ans.Core.Commands.Core.OutputArgBase.Wait()
at Ans.Core.Commands.Output`1.Get()
at Ans.ProjectSchematic.Data.ComponentTemplateEntity.Create(CommandContext context, String withName, DataReference inSystem, List`1 UpstreamContainers, Dictionary`2 systemProperties)
at Ans.ProjectSchematic.Commands.CreateComponentFromTemplateCommand.Execute(CommandContext context)
at Ans.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: Object reference not set to an instance of an object.
Command: CreateComponentFromTemplate(Template="/Schematic/ComponentTemplate:EngDataCellTemplate", Name="Engineering Data", System="/Schematic/System:SYS", UpstreamComponent=[], AllSystemProperties={"SystemType": ["Harmonic Response (ANSYS)"], "SystemTypeAbbreviation": ["SYS"], "Solver": ["", "ANSYS"], "PhysicsType": ["Structural"], "AnalysisType": ["Harmonic"], "SolverType": ["ANSYS"], "SystemTypeName": ["Harmonic Response (ANSYS)"], "UniqueSystemDir": ["SYS"]})
at Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ans.Core.Commands.Core.OutputArgBase.Wait()
at Ans.ProjectSchematic.DataHandling.ProjectWrapper.CreateCellFromTemplate(ICellTemplate template, String name, ISystem inSystem, Dictionary`2 sources, Dictionary`2 systemProperties)
at Ans.ProjectSchematic.DataHandling.SystemBuilder.doInsertNewCell(ICellTemplate newCellTemplate, String name, ICell beforeCell, Dictionary`2 cellSources)
at Ans.ProjectSchematic.DataHandling.SystemCreation.doCreateSystem(String name, ISystemTemplate sysTemplate, ISystem posBySys, PositionType posType, GetShareableCellCB getShareable, GetDuplicatableCellCB getDuplicatable, GetSourcesCB getSources, PostCreateCB postProcessing, Boolean skipPostCreateSteps, Dictionary`2 createdCellsByTypeAbbreviation)
at Ans.ProjectSchematic.DataHandling.SystemCreation.CreateSystem(String name, ISystemTemplate sysTemplate, IList`1 cellsToShare, IList`1 cellsToUse, ISystem systemToPositionBy, PositionType posType, Boolean createPreceding)
at Ans.ProjectSchematic.Commands.CreateSystemCommand.Execute(CommandContext context)
at Ans.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: Object reference not set to an instance of an object.
Command: CreateSystem(Template="/Schematic/Template:Harmonic Response (ANSYS)")
at Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ans.Core.Commands.CommandAsyncResult.Wait()
at Ans.ProjectSchematic.Commands.CreateSystemCommand.InvokeAndWait(ICommandContext context, DataReference template, String name, List`1 cellsToShare, List`1 dataTransferFrom, List`1 dataTransferTo, Nullable`1 position, DataReference relativeTo)
at Ans.ProjectSchematic.Presentation.Schematic.AddSystemFromTemplate(ICommandContext commandContext, SystemTemplate src, SystemBlock fromSystem, List`1 cellsToShare, SystemBlock positionSystem, Nullable`1 positionType)
at Ans.ProjectSchematic.TemplateToolboxModel.<>c__DisplayClass3.<OnEntryDoubleClicked>b__0()
at Ans.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages)

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Aashish Joshi

    Aashish Joshi

    @aashish-VrevFC Aug 12, 2010

    can you use multiphysics??
  • asp28_01

    asp28_01

    @asp28-01-aQ38fu Aug 12, 2010

    yes multiphysics is working
  • Aashish Joshi

    Aashish Joshi

    @aashish-VrevFC Aug 13, 2010

    Try and repair the ANSYS installation. Some applications provide a repair option when you run the uninstaller from Add/Remove Programs (I'm not sure if it is there is ANSYS 12.1 since I use 8.0). If you do repair it, you may need to reconfigure the Ansys license manager with your license.
  • pap007

    pap007

    @pap007-DTiEk0 May 18, 2011

    For me problem is resolved by deleting the contents of ansys folder in

    the directory path -C:\Users\pap\AppData\Roaming\Ansys

    Cheers!!