This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BDS fails to generate code using Nordic plugin

NRF5x v1.2.2 Plugin BDS V1.0.2095 Windows 7 Pro

Create a new project Import Profile: Cycling Power Generate Code For: Server Select Plugin: Nordic Semiconductor v1.2.2

04-01 10:02:57 INFO Thread:1 - Loading new plugin at Plugins\Nordic Semiconductor v1.2.2 because it's a new file. 04-01 10:10:19 WARN Thread:1 - Packaging Profile data for the plugin - Nordic Semiconductor nRF5x v.1.2.2 04-01 10:10:19 WARN Thread:1 - Loading the plugin Nordic Semiconductor nRF5x v.1.2.2 04-01 10:10:19 WARN Thread:1 - Validating the plugin Nordic Semiconductor nRF5x v.1.2.2 04-01 10:10:19 WARN Thread:6 - Starting code generation... 04-01 10:10:20 WARN Thread:6 - Generating files for service Cycling Power... 04-01 10:10:20 WARN Thread:6 - Generating header file ble_cps.h 04-01 10:10:20 WARN Thread:1 - An error occurred executing the plugin 04-01 10:10:20 ERROR Thread:1 - Object has no method 'getEnumerations' 04-01 10:10:20 ERROR Thread:1 - Bluetooth.D3T.Common.Services.JavaScriptRuntimeException: An error occurred while Invoking the script method - RunPlugin ---> Jint.Runtime.JavaScriptException: Object has no method 'getEnumerations' at Jint.Native.Function.ScriptFunctionInstance.Call(JsValue thisArg, JsValue[] arguments) at Jint.Engine.Invoke(String propertyName, Object thisObj, Object[] arguments) at Jint.Engine.Invoke(String propertyName, Object[] arguments) at Bluetooth.D3T.Common.Services.JSIsolatedProgram.Invoke(String method, Object[] paramData) --- End of inner exception stack trace --- at Bluetooth.D3T.Common.Services.JSIsolatedProgram.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Bluetooth.D3T.Common.Service.PluginEngine.d__4a.MoveNext()

Parents Reply Children
Related