-
Notifications
You must be signed in to change notification settings - Fork 156
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
IllegalStateException: Already undeployed #296
Comments
I thought this was resolved... I'll look again. |
This isn't the hang issue. It's just that we call close twice. This isn't a problem other than the log at SEVERE which makes one think there is. Fix should probably just be a try-catch in the close method of VertxChannel |
I think the problem maybe caused by this part , It caused repeat undeploy if several Parser consumes END_OF_DATA_SENTINEL. Are these codes duplicate with dataSourceBus.close() ? |
@kcpeppe When I commented this block of code I found the Exception was solved. Could you check that ? |
We need to close to happen at least once. Unfortunately the current API makes a second call. I'll try to recover the fix that was in play |
Running the sample gives an
IllegalStateException: Already undeployed
. This is not an problem, so maybe the exception shouldn't be logged as severe.First, run
./mvnw clean install
from the project root. Then, from the sample directory, run../mvnw compile dependency:copy-dependencies
. Lastly, runjava --module-path target/classes:target/lib --module com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main ../gclogs/preunified/cms/defnew/details/defnew.log
. These steps are in the README file for the root and sample.The text was updated successfully, but these errors were encountered: