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

Bungee Plugin Metrics are using own threads and not BungeeCord scheduler. #23

Closed
stephan-gh opened this issue Jul 8, 2014 · 0 comments
Assignees

Comments

@stephan-gh
Copy link
Member

This should be avoided as SpigotMC/BungeeCord@5d1b660 points out.

java.security.AccessControlException: Plugin violation: Thread Creation: Use scheduler
    at net.md_5.bungee.BungeeSecurityManager.checkRestricted(BungeeSecurityManager.java:29)
    at net.md_5.bungee.BungeeSecurityManager.getThreadGroup(BungeeSecurityManager.java:50)
    at java.lang.Thread.init(Unknown Source)
    at java.lang.Thread.init(Unknown Source)
    at java.lang.Thread.<init>(Unknown Source)
    at java.util.TimerThread.<init>(Unknown Source)
    at java.util.Timer.<init>(Unknown Source)
    at java.util.Timer.<init>(Unknown Source)
    at net.minecrell.serverlistplus.bungee.metrics.BungeeMetrics.<init>(BungeeMetrics.java:60)
    at net.minecrell.serverlistplus.bungee.BungeePlugin.configChanged(BungeePlugin.java:225)
    at net.minecrell.serverlistplus.bungee.core.ConfigurationManager.reload(ConfigurationManager.java:128)
    at net.minecrell.serverlistplus.bungee.core.ServerListPlusCore.reload(ServerListPlusCore.java:154)
    at net.minecrell.serverlistplus.bungee.core.ServerListPlusCore.<init>(ServerListPlusCore.java:80)
    at net.minecrell.serverlistplus.bungee.BungeePlugin.onEnable(BungeePlugin.java:68)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:207)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:223)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant