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

FilterFileManager.init() has exception occurred #639

Closed
shaoqinhe opened this issue Oct 17, 2019 · 5 comments
Closed

FilterFileManager.init() has exception occurred #639

shaoqinhe opened this issue Oct 17, 2019 · 5 comments
Labels

Comments

@shaoqinhe
Copy link

Exception during lifecycle processing
java.lang.IllegalStateException: The lifecycle method [init] must not throw a checked exception. Related annotation information: annotation [@javax.annotation.PostConstruct()] on annotated element [public void com.netflix.zuul2.app.FilterFileManagerDy.init() throws java.lang.Exception] of type [METHOD]

@shaoqinhe shaoqinhe changed the title FilterFileManager.init() FilterFileManager.init() has Exception occurred Oct 17, 2019
@shaoqinhe shaoqinhe changed the title FilterFileManager.init() has Exception occurred FilterFileManager.init() has exception occurred Oct 17, 2019
@carl-mastrangelo
Copy link
Contributor

@shaoqinhe what was the exception?

@shaoqinhe
Copy link
Author

FilterFileManager类 的init()方法有throws Exception,而glassfish调用@PostConstruct注解时,不能把throws Exception写在方法后面,需要try{}catch{}才可以。

@carl-mastrangelo
Copy link
Contributor

We would need ned to know what exception was thrown in order to fix it. Please provide the full stack trace.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 29, 2024
Copy link

github-actions bot commented Oct 6, 2024

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants