5 Replies Latest reply on Nov 2, 2016 2:40 AM by jobi

    PSOC Creator crashes trying to open a project every time

    simcole_1771416

      Hello,

         

       

         

      I'm working my way through some tutorials and I found a project I want to open and build.  I was sucessful in opening it once; however, ever since I closed it, it will no longer open.  Every time I try it crashes the program.  I deleted the entire directory and re-downloaded the files, but it still crashes.

         

      Here is the git hub page of the project in question. https://github.com/LagunaMatada/GlowTime 

         

      When I did have it open it wouldn't build, but that's another story I guess.  Maybe I can figure that out too? 

         

       

         

      When PSOC Creator crashes it gives me the option to copy to clipboard.  Here is the result (using latest and fully updated creator sp2):

         

      System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
         at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
         at System.Reflection.RuntimeModule.GetTypes()
         at System.Reflection.Assembly.GetTypes()
         at CyDesigner.Common.ProjMgmt.Customizer.CyCustomizerLoader.GetDllBasedCustomizerTypes(CyCompName compName, Assembly assembly, Type attributeType)
         at CyDesigner.Common.ProjMgmt.Customizer.CyCustomizerLoader.GetDllBasedCustomizer(CyComponentMaster mst, Type attributeType)
         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.Common.Db.CyS3Db.CyInstCustomizerProvider.GetDesignWideComponent_v1(CyCompName compName, CyInstBindContext context)
         at CyDesigner.PSoC.P3Fit.Common.DesignWideResources.CyComponentsModel.GetIsDesignWideComponent(CyComponentMaster master, CyCompName compName, CyPrjMgmtProjectPSoCExe proj, CyElabInstBindContext context)
         at CyDesigner.PSoC.P3Fit.Common.DesignWideResources.CyComponentsModel.GetSelectedSupportedComponentsBySource()
         at CyDesigner.PSoC.P3Fit.Common.DesignWideResources.CyComponentsModel.GetSelectedSupportedComponents()
         at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.<get_DwInsts>d__a.MoveNext()
         at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
         at CyDesigner.Gde.ComponentUpdateTool.CyCutDocument..ctor(CyPrjMgmtProjectPSoCExe owningPrj)
         at CyDesigner.Gde.ComponentUpdateTool.CyCutInputData..ctor(CyDesignerFramework fwk, IEnumerable`1 mgrs)
         at CyDesigner.Gde.Common.CyGdePlugin.UpdateCutStatusBarIcon(Boolean writeOutputMsg)
         at CyDesigner.Gde.Common.CyGdePlugin.mgr_CurrentWorkspaceChanged(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.Common.ProjMgmt.CyPrjMgr.OnCurrentWorkspaceChanged(EventArgs e)
         at CyDesigner.Common.ProjMgmt.CyPrjMgr.set_CurrentWrkspc(CyPrjMgmtWrkspc value)
         at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenWorkspace(CyPrjMgmtWrkspc workspace)
         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)