Inventor DA model fails to update with parameters - autodesk-inventor
Here's the report:
[11/22/2020 19:32:37] Job information:
"CommandLine":[
"$(engine.path)\\InventorCoreConsole.exe /al \"$(appbundles[UpdateParameters].path)\" /ilod \"$(args[InventorDoc].path)\" /paramFile \"$(args[InventorParams].path)\" /p",
"$(engine.path)\\InventorCoreConsole.exe /al \"$(appbundles[CreateSVF].path)\" /ilod \"$(args[InventorDoc].path)\"",
"$(engine.path)\\InventorCoreConsole.exe /al \"$(appbundles[CreateBOM].path)\" /i \"$(args[InventorDoc].path)\""
]
"Settings":{
"dasreportfaileduploadoptional": {
"value": "true",
"isEnvironmentVariable": true
}
}
"Id":"8a15fb482c6145e7a7d18b6abc028a57"
"ActivityId":"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.UpdateProject+green"
"Engine.Id":"Autodesk.Inventor!16"
"Apps": [
"App.Id":"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.UpdateParameters!244",
"App.Id":"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.CreateSVF!258",
"App.Id":"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.CreateBOM!244"
]
"BoundArguments":{
"InventorDoc": {
"localName": "unzippedIam",
"pathInZip": "KGYP19015A2.iam",
"url": "https://developer.api.autodesk.com/Masked:ngtwUHWkB+53dSafxxeKklHjaAY="
},
"InventorParams": {
"url": "https://developer.api.autodesk.com/Masked:nSkfbv16UKUVkda1fLPHnLrIQ2c="
},
"OutputModelIAMFile": {
"zip": true,
"optional": true,
"localName": "unzippedIam",
"url": "https://developer.api.autodesk.com/Masked:IJMn49m5OR7Rp0d/qIbRoeMVgfA=",
"verb": "put"
},
"OutputModelIPTFile": {
"optional": true,
"localName": "part.ipt",
"url": "https://developer.api.autodesk.com/Masked:9Hgb+t/yh/mlcaYvtNNdlKoLzOc=",
"verb": "put"
},
"UpdateParametersOutput": {
"localName": "documentParams.json",
"url": "https://developer.api.autodesk.com/Masked:oX2a3yEb6BuYNOH2aw+Oz8muQM0=",
"verb": "put"
},
"CreateSVFOutput": {
"zip": true,
"localName": "SvfOutput",
"url": "https://developer.api.autodesk.com/Masked:zfJkvzf3Rh9d6x4gSQ01cBfH+0I=",
"verb": "put"
},
"CreateBOMOutput": {
"localName": "bom.json",
"url": "https://developer.api.autodesk.com/Masked:RfRpLNgQ7PEIV6mlNf1Ny8jvxUQ=",
"verb": "put"
},
"onProgress": {
"ondemand": true,
"url": "https://wlnr5sjl3a.execute-api.us-east-1.amazonaws.com/Masked:UK/Z3b5X3xUWxXiH6C9r9i9UlRU=",
"headers": {
"Content-Type": "application/json",
"x-das-authorize": "awssigv4(us-east-1)",
"x-ads-token-data": "{\"access_token\":{\"client_id\":\"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5\"},\"scope\":\"code:all\",\"expires_in\":3406,\"client_id\":\"rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5\"}"
},
"verb": "put"
}
}
"Quotas":{
"limitProcessingTimeSec": 900,
"limitTotalUncompressedAppsSizeInMB": 500
}
[11/22/2020 19:32:37] Folder "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam" has been created.
[11/22/2020 19:32:37] Folder "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\SvfOutput" has been created.
[11/22/2020 19:32:37] Starting work item 8a15fb482c6145e7a7d18b6abc028a57
[11/22/2020 19:32:37] Start download phase.
[11/22/2020 19:32:37] Start downloading input: verb - 'GET', url - 'https://developer.api.autodesk.com/oss/v2/signedresources/437b5b9f-5a36-47d3-88d4-d90e267d9dd5?region=US'
[11/22/2020 19:32:37] Start downloading input: verb - 'GET', url - 'https://developer.api.autodesk.com/oss/v2/signedresources/f0738489-7894-4487-9773-9686aecc6390?region=US'
[11/22/2020 19:32:38] '675' bytes have been written to T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\0c74b265385e4634ac3dcc233e952dca.input-params.json.
[11/22/2020 19:32:38] End downloading file 'https://developer.api.autodesk.com/oss/v2/signedresources/f0738489-7894-4487-9773-9686aecc6390?region=US'.
[11/22/2020 19:32:41] '87952255' bytes have been written to T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\zip_467.zip.
[11/22/2020 19:32:41] End downloading file 'https://developer.api.autodesk.com/oss/v2/signedresources/437b5b9f-5a36-47d3-88d4-d90e267d9dd5?region=US'.
[11/22/2020 19:32:41] Error: Failed to parse the ETransmit Archive: System.ArgumentException: An item with the same key has already been added. Key:
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
at CoreEngineRunner.DownloadItem.<>c__DisplayClass33_0.<TryParseProductWorkFlowArchive>g__TestArchive|0(Encoding& encoding, String& resolvedName, String& codePage)
at CoreEngineRunner.DownloadItem.TryParseProductWorkFlowArchive(Stream stream, String hintMatchName, String& resolvedName, String& codePage)
[11/22/2020 19:32:44] T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\zip_467.zip has been unpacked to folder T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam.
[11/22/2020 19:32:44] End download phase successfully.
[11/22/2020 19:32:44] Start preparing script and command line parameters.
[11/22/2020 19:32:44] Command line: [ /al "T:\Aces\Applications\f4d2283bfec7651de654f6e5a63411d2.rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.UpdateParameters[244].package" /ilod "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam" /paramFile "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\0c74b265385e4634ac3dcc233e952dca.input-params.json" /p]
[11/22/2020 19:32:44] Command line: [ /al "T:\Aces\Applications\f249bab2b1092803f8b375e5bec77255.rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.CreateSVF[258].package" /ilod "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam"]
[11/22/2020 19:32:44] Command line: [ /al "T:\Aces\Applications\0d9312d28a9bc584cc602b0d6f071f2f.rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.CreateBOM[244].package" /i "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam"]
[11/22/2020 19:32:44] End preparing script and command line parameters.
[11/22/2020 19:32:44] Start script phase.
[11/22/2020 19:32:44] ### Command line arguments: /isolate HKEY_CURRENT_USER\SOFTWARE\AppDataLow\Software\Autodesk\CoreUser\WorkItem_8a15fb482c6145e7a7d18b6abc028a57 "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\userdata" /exe "T:\Aces\AcesRoot\25.00\coreEngine\Exe\InventorCoreConsole.exe" /al "T:\Aces\Applications\f4d2283bfec7651de654f6e5a63411d2.rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5.UpdateParameters[244].package" /ilod "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam" /paramFile "T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\0c74b265385e4634ac3dcc233e952dca.input-params.json" /p.
[11/22/2020 19:32:44] Start Inventor Core Engine standard output dump.
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : InventorCoreConsole.exe: 25.0.18300.0
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : Starting Inventor Server.
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : Started Inventor Server 2021.1 (Build 251245000, 245) (25, 10, 24500, 0000)
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : Loading plug-in: iLogic Plugin
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : Activating plug-in: iLogic Plugin
[11/22/2020 19:32:44] iLogic Plugin: initializing...
[11/22/2020 19:32:44] InventorCoreConsole.exe Information: 0 : Creating default project file with name: FDADefault at T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Activating default project T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\FDADefault.ipj
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Getting Inventor plug-in.
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Plug-in: UpdateParametersPlugin
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Activating plug-in: UpdateParametersPlugin
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : : UpdateParametersPlugin (1.0.0.10): initializing...
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Executing 'RunWithArguments' method on Automation object.
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : Opening /ilod document name: T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : LastActiveDesignViewRepresentation: Default
[11/22/2020 19:32:45] InventorCoreConsole.exe Information: 0 : LastActiveLevelOfDetailRepresentation: Master
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Full document name: T:\Aces\Jobs\8a15fb482c6145e7a7d18b6abc028a57\unzippedIam\KGYP19015A2.iam
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : ExecWithArguments called with KGYP19015A2.iam with 6 arguments
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : HeartBeating every 50000ms.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Read parameters
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : {"WallConstruction":{"value":"\u0022Fire Rated Construction\u0022","unit":"Text","values":["\u0022Standard Construction\u0022","\u0022Insulated 50mm\u0022","\u0022Insulated 75mm\u0022","\u0022Insulated 100mm\u0022","\u0022Acoustic 2mm\u0022","\u0022Fire Rated Construction\u0022","\u0022SR2 Construction\u0022","\u0022SR3 Construction\u0022","\u0022SR4 Construction\u0022"],"readonly":false,"label":"WallConstruction"},"Width":{"value":"3500","unit":"Text","values":[],"readonly":false,"label":"Width"},"Length":{"value":"3000","unit":"Text","values":[],"readonly":false,"label":"Length"},"Height":{"value":"3000","unit":"Text","values":[],"readonly":false,"label":"Height"}}
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Applying '"Fire Rated Construction"' to 'WallConstruction'
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on update for "Fire Rated Construction" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Applying '3500' to 'Width'
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on update for "3500" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Applying '3000' to 'Length'
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on update for "3000" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Applying '3000' to 'Height'
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on update for "3000" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for 1.0 mm and unit type mm / 11269
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for 1.0 mm and unit type mm / 11269
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for 1.0 mm and unit type mm / 11269
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectPanel: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for HardwareOperation: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectHardware2: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectRef: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for Distance: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectType: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectHardware: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectHardware3: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for SelectHardware4: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "Fire Rated Construction" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for WallConstruction: Could not convert argument 1 for call to GetPreciseStringFromValue.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "3500" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for Width: Error HRESULT E_FAIL has been returned from a call to a COM component.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "3000" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for Height: Error HRESULT E_FAIL has been returned from a call to a COM component.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Checking expression validity on extraction for "3000" and unit type Text / 11346
[11/22/2020 19:32:46] InventorCoreConsole.exe Error: 0 : Can't get nominalValue for Length: Error HRESULT E_FAIL has been returned from a call to a COM component.
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Updating
[11/22/2020 19:32:46] InventorCoreConsole.exe Information: 0 : Saving
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Found 1 iLogic forms
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : - Form 1
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Using 'Form 1' form as a parameter filter
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Closing
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Performing iLogic diagnostics...
[11/22/2020 19:32:47] InventorCoreConsole.exe Error: 0 : iLogic error
[11/22/2020 19:32:47] Context: RuleRunning
[11/22/2020 19:32:47] Details: System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.CLSIDFromProgID(String progId, Guid& clsid)
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.GetActiveObject(String progID)
[11/22/2020 19:32:47] at CodeoDA.KGYP19015A2Rule..ctor()
[11/22/2020 19:32:47] at SalesConfigurator.Class1..ctor()
[11/22/2020 19:32:47] at ThisRule.Booster()
[11/22/2020 19:32:47] at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
[11/22/2020 19:32:47] at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
[11/22/2020 19:32:47] InventorCoreConsole.exe Error: 0 : iLogic error
[11/22/2020 19:32:47] Context: RuleRunning
[11/22/2020 19:32:47] Details: System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.CLSIDFromProgID(String progId, Guid& clsid)
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.GetActiveObject(String progID)
[11/22/2020 19:32:47] at CodeoDA.KGYP19015A2Rule..ctor()
[11/22/2020 19:32:47] at SalesConfigurator.Class1..ctor()
[11/22/2020 19:32:47] at ThisRule.Booster()
[11/22/2020 19:32:47] at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
[11/22/2020 19:32:47] at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : End of iLogic diagnostics...
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : Deactivating plug-in: UpdateParametersPlugin
[11/22/2020 19:32:47] InventorCoreConsole.exe Information: 0 : : UpdateParametersPlugin: deactivating...
[11/22/2020 19:32:47] Processing failed
[11/22/2020 19:32:48] End Inventor Core Engine standard output dump.
[11/22/2020 19:32:48] Error: Application InventorCoreConsole.exe exits with code -1 which indicates an error.
[11/22/2020 19:32:48] End script phase.
[11/22/2020 19:32:48] Error: An unexpected error happened during phase CoreEngineExecution of job.
[11/22/2020 19:32:48] Job finished with result FailedExecution
[11/22/2020 19:32:48] Job Status:
{
"status": "failedInstructions",
"reportUrl": "https://dasprod-store.s3.amazonaws.com/workItem/rEjXU4U1NdTFXijVrv0Gk4gHjZ4GIAu5/8a15fb482c6145e7a7d18b6abc028a57/report.txt?AWSAccessKeyId=ASIATGVJZKM3J6Q7ZEO4&Expires=1606078058&x-amz-security-token=IQoJb3JpZ2luX2VjEDMaCXVzLWVhc3QtMSJHMEUCIQD7G6ktrZVLWT%2BfknqGUDij7QOIGjW2f3glPnQQd6hcmwIgCZ%2BCOl5XRZe%2FqbGdPcc0jwfdaYrOMU4dwlyYAs43bPQq3gEIrP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARACGgwyMjA0NzMxNTIzMTAiDLi1gMNIs1rnR%2FoAVCqyAeISr3d35nEWlPTEcpvRU%2B8X6TqqvKkPYZI3e1XbuIAElo5dvzA%2Bmag4tKvhi7ltLEFoZ2ppO86ohxb3vKOUoaBypd1dzDAxelvLhrQfHDn%2B6NyYwdhlwuHXsOq8LN693ANnDkqFrPStHws3bSpGvIosoOlGszDZgJrFDt65NOREmrE%2FYuy%2F1js9fghaUfwTdOSVa%2BsHk3LEpPscKiUyud3%2B5GkUD5PdiuBOAyhiJQYBxjow1%2Bbq%2FQU64AERb6Sn1QEJiA2%2B3LQk3a83yCYOvgg6rnRMA4IW%2FB6LqBz858vpbSgXlBIq6kmwayfJhOdqMqNBE4FYMwo0ufvEU6WCoRkQnzeUjtbjLAROaAHKWhcxnh5dk1cHv6bAucPo8YfF8JbUAZ3BTDQFRYjacULbIcVewbGJM1ZtCYUZtAFcNrRKdEjK13%2FFP5OmSSH7YZ4YY3UxCTz1c7pt4WTjZ8yCVMzN%2FmMp0ydx%2FvObH4RltaUf%2BT0CHWcFTAZsNMEqzEgugDFtl4%2BPUBDJ1pb66Xb2CLuozNdWGBXJyYdKbw%3D%3D&Signature=YNJqk0GGj0Us3YuH0WwCG0GdrNQ%3D",
"stats": {
"timeQueued": "2020-11-22T19:32:37.7876783Z",
"timeDownloadStarted": "2020-11-22T19:32:37.9975809Z",
"timeInstructionsStarted": "2020-11-22T19:32:44.1357867Z",
"timeInstructionsEnded": "2020-11-22T19:32:48.3255927Z",
"bytesDownloaded": 87952930
},
"id": "8a15fb482c6145e7a7d18b6abc028a57"
}
We are trying to understand what the problem might be here. It seems like we have problems on the InventorCore about parameter types. Can you help us on this? We are trying to understand the different methods we can use with our automation models.
ignore here I am adding this area because stack overflow is not allowing me to post
ignore here I am adding this area because stack overflow is not allowing me to post
ignore here I am adding this area because stack overflow is not allowing me to post
Try to check usage of method GetPreciseStringFromValue. Because the first argument must be double, not empty string.
Try to check usage of Form1. Because Inventor.Core doesn't have UI.
How do you access to Inventor.Application object? Use ThisApplication only. This part of log looks strange.
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.CLSIDFromProgID(String progId, Guid& clsid)
[11/22/2020 19:32:47] at System.Runtime.InteropServices.Marshal.GetActiveObject(String progID)
Related
HDP 315 | Hive DDL Query issue
Installed HDP 3.1.5, and enabled KERBEROS security. In Hive normal create table is working fine. But when I'm trying to create any role getting below error. Please suggest the solution. 0: jdbc:hive2://host> create role userRole; INFO : Compiling command(queryId=hive_20200320085236_d9a4f82e-dab8-4952-aa53-da11a1cda4b6): create role userRole INFO : Semantic Analysis Completed (retrial = false) INFO : Returning Hive schema: Schema(fieldSchemas:null, properties:null) INFO : Completed compiling command(queryId=hive_20200320085236_d9a4f82e-dab8-4952-aa53-da11a1cda4b6); Time taken: 0.021 seconds INFO : Executing command(queryId=hive_20200320085236_d9a4f82e-dab8-4952-aa53-da11a1cda4b6): create role bdauserRole INFO : Starting task [Stage-0:DDL] in serial mode ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. createRole not implemented in FallbackHiveAuthorizer INFO : Completed executing command(queryId=hive_20200320085236_d9a4f82e-dab8-4952-aa53-da11a1cda4b6); Time taken: 0.02 seconds Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. createRole not implemented in FallbackHiveAuthorizer (state=08S01,code=1)
apache nifi Stateless - not able to set parm of controller service (DBCPConnectionPool 1.10.0)
I am following the NiFi 1.10 stateless guildeline to create a simple process group of executing a sql in mysql db. I have put necessary parm of db controller service to parameter context. it works well in nifi canvas. Then i add it to registry and prepare a json parm file: stateless-simpledb.json { "registryUrl": "http://localhost:18080", "bucketId": "cac8f127-e328-45c1-a4cb-0e03dc837ceb", "flowId": "cc2753f2-78f3-4449-a2fd-343dfeaafe15", "flowVersion": "3", "parameters": { "lastIngestId" : "20000", "mysql-jdbc-driver-name" : "com.mysql.jdbc.Driver", "db-user" : "root", "db-password" : "password", "db-con-url" : "jdbc:mysql://localhost:3306/mms", "jdbc-jar-path" : "/program/jdbc/mysql-connector-java.jar" } } and run the one-off command: /program/nifi/bin/nifi.sh stateless RunFromRegistry Once --file /app/poc/nifi-stateless/conf/stateless-simpledb.json It raise error: === FlowFileRepository Type === org.apache.nifi.controller.repository.RocksDBFlowFileRepository org.apache.nifi:nifi-framework-nar:1.10.0 || /program/nifi-1.10.0/work/stateless-nars/nifi-framework-nar-1.10.0.nar-unpacked org.apache.nifi.controller.repository.WriteAheadFlowFileRepository org.apache.nifi:nifi-framework-nar:1.10.0 || /program/nifi-1.10.0/work/stateless-nars/nifi-framework-nar-1.10.0.nar-unpacked org.apache.nifi.controller.repository.VolatileFlowFileRepository org.apache.nifi:nifi-framework-nar:1.10.0 || /program/nifi-1.10.0/work/stateless-nars/nifi-framework-nar-1.10.0.nar-unpacked === End FlowFileRepository types === 23:32:32.626 [main] INFO org.apache.nifi.stateless.bootstrap.ExtensionDiscovery - Successfully discovered extensions in 4411 milliseconds 23:32:32.633 [main] DEBUG org.apache.nifi.stateless.core.ComponentFactory - Setting context class loader to org.apache.nifi.nar.InstanceClassLoader#50fa5938 (parent = org.apache.nifi.nar.NarClassLoader[/program/nifi-1.10.0/work/stateless-nars/nifi-dbcp-service-nar-1.10.0.nar-unpacked]) to create org.apache.nifi.dbcp.DBCPConnectionPool 23:32:32.647 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input #{jdbc-jar-path} found 1 Parameter references: [org.apache.nifi.parameter.StandardParameterReference#2d3eecda] 23:32:32.650 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input /program/jdbc/mysql-connector-java.jar found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input 500 millis found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input 8 found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input 0 found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input 8 found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input -1 found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input -1 found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input 30 mins found 0 Parameter references: [] 23:32:32.651 [main] DEBUG org.apache.nifi.parameter.ExpressionLanguageAwareParameterParser - For input -1 found 0 Parameter references: [] Exception in thread "main" java.lang.reflect.InvocationTargetException 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 org.apache.nifi.bootstrap.RunStatelessNiFi.main(RunStatelessNiFi.java:69) Caused by: java.lang.reflect.InvocationTargetException 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 org.apache.nifi.StatelessNiFi.main(StatelessNiFi.java:103) ... 5 more Caused by: java.lang.RuntimeException: Failed to enable Controller Service {id=691ecc97-ff46-3a5e-8aad-37dc568bc247, name=MYSQL-MMS-stateless-test, type=class org.apache.nifi.dbcp.DBCPConnectionPool} because validation failed: ['Database Connection URL' is invalid because Database Connection URL is required, 'Database Driver Class Name' is invalid because Database Driver Class Name is required] at org.apache.nifi.stateless.core.StatelessControllerServiceLookup.enableControllerServices(StatelessControllerServiceLookup.java:133) at org.apache.nifi.stateless.core.StatelessFlow.<init>(StatelessFlow.java:153) at org.apache.nifi.stateless.core.StatelessFlow.createAndEnqueueFromJSON(StatelessFlow.java:469) at org.apache.nifi.stateless.runtimes.Program.runLocal(Program.java:133) at org.apache.nifi.stateless.runtimes.Program.launch(Program.java:67) ... 10 more Seems the apache nifi stateless function failed to set controller service even it's in "process group" scope. Would anyone has any advice?
As mentioned in the comments, this appears to be a known problem with the validation of controller services. This can be avoided by using Nifi 1.12 and above as it got fixed in the following jira: https://issues.apache.org/jira/plugins/servlet/mobile#issue/NIFI-7380 Though I am not entirely sure of this, it may also be possible that this simply indicates that your controller service is not configured correctly. This would be worth double checking.
MobileFirst 6.3.0 Getting UnavailableShardsException
After redeploy the application because a DB2 password update, the application was unable to be launched. I found the following log: [11/23/17 12:23:29:988 CST] 000000f1 DataReceiver E Error sending bulk request: java.lang.RuntimeException: failure in bulk execution: [0]: index [worklight], type [app_activities], id [yRA1jtBzT9ScN0Hj-Fft0g], message [UnavailableShardsException[[worklight][0] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#e38c893c]] [3]: index [worklight], type [devices], id [c2062eef-e266-4209-83d2-13d043ae2a9d], message [UnavailableShardsException[[worklight][2] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#34a9dfa3]] [6]: index [worklight], type [devices], id [1ed55e4b-26e0-38ba-9f83-2b65d951722e], message [UnavailableShardsException[[worklight][0] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#e38c893c]] [8]: index [worklight], type [devices], id [1ed55e4b-26e0-38ba-9f83-2b65d951722e], message [UnavailableShardsException[[worklight][0] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#e38c893c]] [10]: index [worklight], type [app_activities], id [e4SxG701QwOwg7L5VztsTQ], message [UnavailableShardsException[[worklight][0] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#e38c893c]] [12]: index [worklight], type [devices], id [c2062eef-e266-4209-83d2-13d043ae2a9d], message [UnavailableShardsException[[worklight][2] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#34a9dfa3]] [13]: index [worklight], type [app_activities], id [wB2fqKAkT9-JAgfAqSPHZw], message [UnavailableShardsException[[worklight][0] [2] shardIt, [0] active : Timeout waiting for [1m], request: org.elasticsearch.action.bulk.BulkShardRequest#e38c893c]] at com.ibm.elasticsearch.servlet.DataReceiver.processData(DataReceiver.java:132) at com.ibm.elasticsearch.servlet.DataReceiver.processDataLegacy(DataReceiver.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:613) at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63) at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33) at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67) at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54) I have not seen this error before
Unknown Provider error while unit testing in jasmine
I have a module as below in a js file app.js angular.module( 'app', [ 'ui.bootstrap', 'routes', 'module2', 'ngAnimate', 'ngSanitize' ] ); If i am to write a unit test case then how should i load the modules in my unit test case?? Is it this way module('app'); Other way module('ui.bootstrap'); module('routes'); module('module2'); module('ngAnimate'); module('ngSanitize'); Which is right order or the right way to load the module...As am always getting the below error Error: [$injector:unpr] Unknown provider: deepakProvider <- deepak http://errors.angularjs.org/1.4.9/$injector/unpr?p0=deepakProvider%20%3C-%20deepak at C:/jasmine/InformedEnrollment2/src/webapp/informedenrollment2/webclnt/components/angular/angular.js:68:12 at C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4346:19 at Object.getService [as get] (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4494:39) at C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4351:45 at Object.getService [as get] (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4494:39) at Object.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:20:47) at Object.invoke (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4535:17) at Object.workFn (C:/jasmine/project/node_modules/angular-mocks/angular-mocks.js:3071:20) Error: Declaration Location at window.inject.angular.mock.inject (C:/jasmine/project/node_modules/angular-mocks/angular-mocks.js:3033:25) at Suite.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:19:15) at C:/jasmine/project/tests/DemoToTheTeam.js:2:1 TypeError: Cannot read property 'multiply' of undefined at Object.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:26:13) 50.0.2661 (Windows 7 0.0.0): Executed 7 of 7 (1 FAILED) (0.182 secs / 0.064 secs)
SonargraphMeasureComputer error in SonarQube background task log
We are using SonarQube 5.4 and we found the following log lines: .... INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computed measure 'SMELL_COUNT_BAD_FRAMEWORK_USAGE': 0) INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computed measure 'SMELL_COUNT_USELESS_TEST': 0) INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computed measure 'SMELL_COUNT_WRONG_LANGUAGE': 0) INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computed measure 'SMELL_COUNT_WRONG_LOGIC': 0) ERROR [c.h.s.m.SonargraphMeasureComputer] Not processing for module: xxx ERROR [c.h.s.m.SonargraphMeasureComputer] Not processing for module: xxx INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computing measures for component 'xxx' and level PROJECT) INFO [c.q.p.s.s.p.e.AbstractSmellMeasureComputer] Computed measure 'SMELL_COUNT': 0) ERROR [c.h.s.m.SonargraphMeasureComputer] Not processing for module: xxx ERROR [c.h.s.m.SonargraphMeasureComputer] Not processing for module: xxx INFO [o.s.s.c.s.ExecuteVisitorsStep] Execution time for each component visitor: INFO [o.s.s.c.s.ExecuteVisitorsStep] - LoadComponentUuidsHavingOpenIssuesVisitor | time=79ms INFO [o.s.s.c.s.ExecuteVisitorsStep] - IntegrateIssuesVisitor | time=29920ms ... We could not find an explanation for the error lines. Does anyone have any ideas?