Compilation Error: Input string was not in a correct format
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:

Roman
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
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.