Errors with ECAN on MPLABX 5.10 with MCC v3.66 - Page 1
Forum section: electronics / general

author: tech_builder
author_rank: Contributor
timestamp: November 18, 2018, 06:00:43 am
content: Hi,I am playing around with MCC V3.66 to set up ECAN on the dsPIC33EV 5V CAN-LIN board. I recently updated my MCC and MPLABX versions from MPLABX V5.05 and not sure what version of MCC. Now whenever I open MCC and start the ECAN1 peripheral I get an error message in my notifications. None of the fields fill out in the MCC portion of the ECAN either. This worked when I had the older versions installed. I have tried this on two different computers with the same results. The error message I get is below. Has anybody else experienced issues with either of these updates?Code:com.microchip.mcc.core.tokenStore.NoValueException: No value set for key: ECAN1%s%CCFG2%PRSEGat com.microchip.mcc.core.tokenStore.HashTokenStore.getValue(HashTokenStore.java:464)at com.microchip.mcc.core.tokenStore.HashTokenStore.getValue(HashTokenStore.java:24)at com.microchip.mcc.mcu16.modules.can.CANController.updateValidSamplePointList(CANController.java:910)at com.microchip.mcc.mcu16.modules.can.CANController.onSetTQ(CANController.java:812)Caused: java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498) at com.microchip.mcc.core.tokenStore.CallbackObservable$Callbacks.callMethod(CallbackObservable.java:225)at com.microchip.mcc.core.tokenStore.CallbackObservable$Callbacks.onNotify(CallbackObservable.java:208)at com.microchip.mcc.core.tokenStore.CallbackObservable.onSetValues(CallbackObservable.java:146)at com.microchip.mcc.core.tokenStore.TokenObservable.notifySetValues(TokenObservable.java:38)at com.microchip.mcc.core.tokenStore.HashTokenStore.setValues(HashTokenStore.java:186)at com.microchip.mcc.core.tokenStore.HashTokenStore.setValues(HashTokenStore.java:142)at com.microchip.mcc.mcu16.modules.can.CANController.load(CANController.java:519)at com.microchip.mcc.core.moduleController.AModuleController$ModuleObserver.moduleLoadRequest(AModuleController.java:511)at com.microchip.mcc.core.module.ModuleObservable.requestLoadModule(ModuleObservable.java:104)at com.microchip.mcc.core.service.AModuleService.loadModule(AModuleService.java:167)at com.microchip.mcc.runner.primary.Controller.loadModule(Controller.java:392)at com.microchip.mcc.runner.view.modules.FreeModulesController.loadModule(FreeModulesController.java:400)at com.microchip.mcc.runner.view.modules.FreeModulesController.onMouseClicked(FreeModulesController.java:378)at com.microchip.mcc.runner.view.modules.ModulesController.onFreePanelMouseClicked(ModulesController.java:337)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)at javafx.event.Event.fireEvent(Event.java:198)at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3470)at javafx.scene.Scene$ClickGenerator.access$8100(Scene.java:3398)at javafx.scene.Scene$MouseHandler.process(Scene.java:3766)at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$null$293(EmbeddedScene.java:256)at java.security.AccessController.doPrivileged(Native Method)at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$mouseEvent$294(EmbeddedScene.java:244)at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)at java.security.AccessController.doPrivileged(Native Method)at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)at java.lang.Thread.run(Thread.java:748)