Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException parsing Jython scripts with hanging brackets #11

Open
artgolden opened this issue Feb 25, 2022 · 1 comment
Open

Comments

@artgolden
Copy link

image

When the script has ) on an empty line. There has to be some specific surrounding, but I am not sure which. Attaching an example file with this behavior.

If you remove bracket on an empty line in this expression:

        logging.info("New file \n%s\n Full path:\n%s\n Original name: \n%s\n Original path: \n%s\n" % (new_file_name,
                                                                                                     os.path.join(
                                                                                                         direction_dirs[embryo_direction - 1], new_file_name),
                                                                                                    file_name,
                                                                                                    file_path)
                    )

the error disappears.
nullexception_bracket.txt

@acardona
Copy link
Collaborator

Thanks for the explanations. This is an error upstream with RSyntaxArea, should be filed at https://github.com/bobbylight/RSyntaxTextArea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants