PSoC Creator 4.4. will not start (PSoC Creator has encountered a problem and must close...)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
gabi_barcan
Level 1
Level 1
5 sign-ins First reply posted First question asked

 

Anybody has an ideas how we could get PSoC Creator happy again ?

Following is the callstack displayed on the dialogbox ...

 

System.NullReferenceException: Object reference not set to an instance of an object.
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtComponentMgr.AreCustomizersAllowed()
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtProjectPSoCExe.AreCustomizersAllowed()
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProviderImpl(CyCompName compName, CyInstBindContext ctx, String schName)
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProvider(CyCompName compName, CyInstBindContext ctx, CyInstCustomizerProvider& custProvider)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetIsDesignWideComponent(CyPrjMgmtProjectPSoCExe proj, CyComponentMaster master, CyCompName compName, CyElabInstBindContext context, Boolean checkLatesetIfDoesNotExist)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponentsBySource()
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponents()
at CyDesigner.Device.FitterPSoC.M0S8.DesignWideResources.Clocks.CyM0S8ClockInfoWdtIsr.DRC_GenerateIsr(CyHobtoClockModel model, CyElabInfo info)
at CyDesigner.Device.FitterPSoC.M0S8.DesignWideResources.Clocks.CyM0S8ClockInfoWdtIsr.CheckDRCs(CyHobtoClockModel model, CyElabInfo info)
at CyDesigner.Device.FitterPSoC.Common.DesignWideResources.Clocks.CyHobtoClockInfo.CheckDRCs(ICyClockModel model, CyElabInfo info)
at CyDesigner.Device.FitLib.DesignWideResources.Clocks.CyClockModel`1.SolveClocks()
at CyDesigner.Device.FitterPSoC.Common.DesignWideResources.Clocks.CyHobtoClockModel.ReloadDWRInfo(CyDWRChangeType changeType)
at CyDesigner.Device.FitterPSoC.Common.DesignWideResources.Clocks.CyHobtoClockModel.InitializeDeviceInfo(ICyDcDevice device)
at CyDesigner.Device.FitterPSoC.M0S8.DesignWideResources.Clocks.CyM0S8ClockModel.InitializeDeviceInfo(ICyDcDevice device)
at CyDesigner.Device.FitLib.DesignWideResources.CyResourceModel.Initialize()
at CyDesigner.Device.FitLib.DesignWideResources.CyResourceFactory.CreateModels(ICyResourceModelMgr dwrMgr)
at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.CreateResourceModels(ICyDcDevice device)
at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.UpdateSelectedDevice(ICyDcDevice device)
at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.ProjectFullyLoaded(CyPrjMgmtProjectPSoCExe proj)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtProjectPSoCExe.PerformGlobalUpdates()
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtPrjFactory.LoadProject(CyPrjMgmtProjectSerialize serializedData)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtPrjFactory.OpenThruDocMgr(CyPrjMgmtProjectSerialize serializedData)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtPrjFactory.GetProjectInstance(CyPrjMgmtProjectSerialize serializedData, Boolean openInUi)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtProject.LoadProjects(ICyProjectContainer container, IList`1 unloadedProjects, Boolean useFactory, Boolean openInUi)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtWrkspc.LoadProjects(Boolean useFactory)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtWrkspc.DeserializationCleanup(CyPrjMgmtWorkspaceSerialize serializedData)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtWrkspc.Restore(ICyBaseContainer parent, CyPrjMgmtWorkspaceSerialize serializedData)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtXmlSerializationTools.RestoreObject[T](ICyBaseContainer parent, IXmlSerializable serialized)
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtWrkspc.Load(String canonicalName, Boolean useFactory)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.CheckandOpenWorkspace(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenItem(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.LoadItemDeferred()
at CyDesigner.Common.ProjMgmt.CyPrjMgr.m_framework_Idled(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at CyDesigner.Common.Base.CyBasic.RaiseEvent(EventHandler eventToRaise, Object sender, EventArgs eventArgs)
at CyDesigner.Framework.CyDesignerFramework.ApplicationIdled(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at CyDesigner.Framework.Run.Main(String[] args)

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @gabi_barcan 

This issue might occur when temporary PSoC Creator configuration files are corrupted.

Can you try following the workaround provided for this error message in the kba: https://community.cypress.com/t5/Knowledge-Base-Articles/Troubleshooting-PSoC-Creator-Issues-KBA2175... and let us know if you still see the issue.

Thanks and Regards

Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @gabi_barcan 

This issue might occur when temporary PSoC Creator configuration files are corrupted.

Can you try following the workaround provided for this error message in the kba: https://community.cypress.com/t5/Knowledge-Base-Articles/Troubleshooting-PSoC-Creator-Issues-KBA2175... and let us know if you still see the issue.

Thanks and Regards

Ekta

0 Likes