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

configuration.xml gets truncated in 1.12.26 #4507

Closed
alclonky opened this issue Dec 6, 2023 · 1 comment
Closed

configuration.xml gets truncated in 1.12.26 #4507

alclonky opened this issue Dec 6, 2023 · 1 comment
Assignees
Labels
bug tools Python tools

Comments

@alclonky
Copy link

alclonky commented Dec 6, 2023

Describe the bug
After upgrading the docker based opengrok installation from 1.12.23 to 1.12.26 the service starts with ArrayIndexOutOfBoundsExeption.
The cause is an bad configuration.xml
The configuration.xml generated at startup starts with ... <truncated> and is incomplete and not an valid xml

Maybe introduced by #4475

To Reproduce
having to much projects/to big projects in 1.12.26?

Expected behavior
works as in 1.12.23

@vladak vladak added bug tools Python tools labels Dec 6, 2023
@vladak
Copy link
Member

vladak commented Dec 6, 2023

I think this boils down to using the ConfigMerge utility inside a Command wrapper:

out_file.write(cmd.getoutputstr())

The ConfigMerge utility should support a path based option to write the output to and the tools should be adapted to use that if output to a file is desired.

@vladak vladak self-assigned this Dec 6, 2023
vladak added a commit to vladak/OpenGrok that referenced this issue Dec 6, 2023
@vladak vladak closed this as completed in 65d41e6 Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tools Python tools
Projects
None yet
Development

No branches or pull requests

2 participants