AL icon indicating copy to clipboard operation
AL copied to clipboard

Compilation Error: Input string was not in a correct format

Open rslovak opened this issue 9 years ago • 2 comments

error AL0999: Internal error: 'One or more errors occurred.', Stack trace=unknown Error: The package could not be created. [Error - 2:26:49 PM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible. Processing of message 'textDocument/codeLens' failed with error: 'Input string was not in a correct format.'

The problem is with this block of code: image

Roman

rslovak avatar Oct 11 '17 14:10 rslovak

Hi @rslovak, I tried making the minimum codeunit and table, for the objects you reference, that makes that code compile but I'm not able to reproduce your problem with codelens. If you could make a small extension that shows the problem then I will take another look at it.

Thanks, Thomas

thpeder avatar Nov 20 '17 13:11 thpeder

Dear Thomas,

with the latest November update of NAV development preview it works. I am not able to reproduce it.

Roman From: Thomas Pedersen [mailto:[email protected]] Sent: Monday, November 20, 2017 2:18 PM To: Microsoft/AL [email protected] Cc: Roman Slovák (AXIOM PROVIS Int.) [email protected]; Mention [email protected] Subject: Re: [Microsoft/AL] Compilation Error: Input string was not in a correct format (#755)

Hi @rslovakhttps://github.com/rslovak, I tried making the minimum codeunit and table, for the objects you reference, that makes that code compile but I'm not able to reproduce your problem with codelens. If you could make a small extension that shows the problem then I will take another look at it.

Thanks, Thomas

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/755#issuecomment-345692665, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfIZ0ecQzXJjikWn9L3qm9Ub4_rrLdzxks5s4Xv_gaJpZM4P1kzH.

rslovak avatar Nov 21 '17 12:11 rslovak