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

PluginGenerator: BundleContext is no longer valid #12095

Closed
volosied opened this issue May 7, 2020 · 0 comments · Fixed by #12514
Closed

PluginGenerator: BundleContext is no longer valid #12095

volosied opened this issue May 7, 2020 · 0 comments · Fixed by #12514
Assignees
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:21001 team:Sirius

Comments

@volosied
Copy link
Member

volosied commented May 7, 2020

Rare timing issue that occurs when a bundle is uninstalled, but plugin generator is still running.

Exception = java.lang.IllegalStateException
Source = com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator
probeid = generateXML
Stack Dump = java.lang.IllegalStateException: BundleContext is no longer valid
    at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:1055)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.getAllServiceReferences(BundleContextImpl.java:598)
    at com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator$HttpEndpointInfo.getService(PluginGenerator.java:2357)
    at com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator$HttpEndpointInfo.<init>(PluginGenerator.java:2282)
    at com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator.generateXML(PluginGenerator.java:367)
    at com.ibm.ws.webcontainer.osgi.mbeans.GeneratePluginConfigMBean.generatePluginConfig(GeneratePluginConfigMBean.java:160)
@volosied volosied self-assigned this May 7, 2020
@pnicolucci pnicolucci added team:Sirius in:Web Components release bug This bug is present in a released version of Open Liberty labels May 13, 2020
@pnicolucci pnicolucci added this to General Issues in Web Tier Team via automation May 13, 2020
Web Tier Team automation moved this from General Issues to Completed Tasks Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:21001 team:Sirius
Projects
Archived in project
Web Tier Team
  
Completed Tasks
Development

Successfully merging a pull request may close this issue.

3 participants