Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

How to Find Error on Line xxx

Avatar

Former Community Member
So I've got a PDF that generates an error "Invalid Enumerated Value The Fault Occured on Line 5839"



Problem is, how do I find line 5839. Even if I copy and paste the code into N++ or something it includes all the headers. Is there a way to view all code by line in livecycle?



Thanks
3 Replies

Avatar

Former Community Member
In the script editor you can right mouse click and turn on line numbers ...you can also go to a specific line number by right clicking as well.

Avatar

Former Community Member
Hey Paul, thanks, but I don't have a singular script that's running. So when I view lines of code, it only shows 1-3 per event, ie PreSubmit has 3 lines of code, PostSubmit has 3.



So never does that 5839 show up

Avatar

Former Community Member
So its not a javascript error that is occuring ... is that reproducable everytime? Can you send the form to livecycle8@gmail.com and indicate how to reproduce the problem and I will have a look.