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

Native Image Investigation #94

Closed
melloware opened this issue Oct 4, 2024 · 3 comments · Fixed by #99
Closed

Native Image Investigation #94

melloware opened this issue Oct 4, 2024 · 3 comments · Fixed by #99
Assignees
Labels
bug Something isn't working

Comments

@melloware
Copy link
Contributor

melloware commented Oct 4, 2024

@gastaldi maybe you can try these instructions.

  1. mvn clean install on the root project to build everything.
  2. cd integration-tests and run mvn -Pnative-docker that does a native build and deploys to docker.
  3. Run docker run -i --rm -p 8080:8080 jasperreports/integration-test:999-SNAPSHOT to run the image just built.
  4. Run curl http://localhost:8080/jasperreports/xml to hit one of the REST Services I get a 500.

The error is very strange its

LogManager error of type FORMAT_FAILURE: Formatting error
Unable to Load Report

Debugging is when the JRXML is compiled this error is thrown but I can't figure out from where. This is the error I get LogManager error of type FORMAT_FAILURE: Formatting error

Can you reproduce i want to make sure its not a weird Windows v Linux thing.

@melloware melloware added the bug Something isn't working label Oct 4, 2024
@melloware
Copy link
Contributor Author

Also do Integration Test run on the native image after its built? Or can they?

@melloware
Copy link
Contributor Author

melloware commented Oct 4, 2024

@melloware
Copy link
Contributor Author

Ok basically I am working on this. We need to add more reflective classes as the code does a lot of Class.forName type instantiation.

@melloware melloware self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant