-
Notifications
You must be signed in to change notification settings - Fork 131
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
groovy Runtime error while genrating the report #839
Comments
@mahfouz72 please add the following details to your issue description:
|
@nrmancuso He added them. I tried running my own local to confirm there was no issues, but I got the following error:
This shows I can't do this in a nested directory ( @mahfouz72 Do you get the same error when you run the following command in PS in the |
@mahfouz72 Be aware of the other issue I created. Also I recommend you use |
@rnveach weird but no cloning checkstyle is successful now
I have no idea what is going on the old error is gone but I encountered a new error in the middle of running the script ( I haven't done anything just tried one more time)
I searched for it and I found that the solution would be increasing the heap size used by IDE but I increased it and still got this error. I use IntelliJ |
@rnveach I have Ubuntu 22 ( I am on a dual-boot machine). do you recommend using it? or this error is unrelated to the OS |
@mahfouz72 few things here:
I would recommend using your Ubuntu install. Note that this will also simplify attempts to recreate executions from CI since nearly all our CI tasks run on Ubuntu images.
It would be helpful to know how you increased it, by how much, and how much memory you have available. |
from the IDE settings help -> increase memory size it was 995 I increased it to 1300
okay I will try to set my environment in Ubuntu ASAP to see if these errors are gone |
To be clear, your errors may not be "gone", what I am suggesting above will likely make it easier to debug though. |
Also, fwiw, I do not ever generate reports locally anymore, since it ties up my laptop for some time. You are welcome to fork my report generation repo at https://github.com/nrmancuso/checkstyle-diff-report-generator and add some arguments for base branch to the scripts/workflows, it should be pretty simple. |
@nrmancuso thank you !. I will try it because I am still strugling for generating report locally even after using ubuntu .this error appears again while cloning elasticsearch project. but can I use your report generation if I want to use a local branch as base branch not the master?
|
@mahfouz72 you won't be able to use anything local, since the reports are generated in CI. I would suggest forking the repo and generating some basic reports to get familiar with the flow. |
Are you behind a proxy, vpn, or anything special like those? |
no @nrmancuso @rnveach after following almost all the solutions in stackoverflow. and rerun the script +10 times. I generated a report using 26 project only. the last one |
How did you initially clone checkstyle or repos in general? Just curious if you did something different than using the command line git. |
@rnveach in general I just use git clone with command line and never had this problem. |
I was trying to manually generate a report
this is my command
but I got this error when testing started and we want to clone into checkstyle repo
this is my checks.xml file and this is properties_to_test on
my machine specification :
operating system: Windows 11, version 22H2 for x64
The text was updated successfully, but these errors were encountered: