f5devcentral / f5-automation-config-converter

Convert BIG-IP configs to AS3 and DO declarations
https://clouddocs.f5.com/products/extensions/f5-automation-config-converter/latest/
Apache License 2.0
35 stars 13 forks source link

Received a fatal error looking for a property that doesn't seem to exist #42

Closed strathdaigeil closed 3 years ago

strathdaigeil commented 3 years ago

Environment

Summary

Attempting to convert a configuration file, I receive a "cannot read property '' of undefined. I removed an irule line that referenced the vs-name in question and reran the acc. this time, I received: 2021-07-07 17:52:44 ERROR Error parsing input file. Please email us at solutionsfeedback@f5.com and include the following error:

(node:1) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined at groupObjects (/app/src/parse.js:182:52) at module.exports (/app/src/parse.js:262:27) at mainRunner (/app/src/main.js:40:18) at main (/app/src/main.js:129:30) at Object. (/app/init.js:27:8) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) (Use node --trace-warnings ... to show where the warning was created) (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

As it occurs every time with this configuration, I am happy to provide the bigip.conf file or the full UCS. I cannot suggest otherwise how to reproduce.

Steps To Reproduce

mdditt2000 commented 3 years ago

@strathdaigeil please can you provide me with the bigip.conf file or the full UCS. Please contact me at m.dittmer@f5.com

Are you running ACC on a windows, mac or linux machine?

strathdaigeil commented 3 years ago

Will reply from my f5 email address.

@.***

On Thu, Jul 8, 2021 at 12:14 PM mark dittmer @.***> wrote:

@strathdaigeil https://github.com/strathdaigeil please can you provide me with the bigip.conf file or the full UCS. Please contact me at @.***

Are you running ACC on a windows, mac or linux machine?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/f5devcentral/f5-as3-config-converter/issues/42#issuecomment-876569006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKY7FCA3AC3MMZBDLNUV7HLTWXFGRANCNFSM5AAYAEOQ .

-- Nemo me impune lacessit.

mdditt2000 commented 3 years ago

@strathdaigeil i never received the bigip.conf. Please could you send me the configuration or open a SR. I need to the configuration to recreate this issue. Also please can you try ACC 1.13

mdditt2000 commented 3 years ago

Closing issue. No response. Please reopen if issue continues