Plugin-Metrics icon indicating copy to clipboard operation
Plugin-Metrics copied to clipboard

Plugin performed restricted action.

Open SilverCory opened this issue 9 years ago • 8 comments

I use the metrics in my plugin. And I was wondering if you could patch the Bungee plugin.

Bungeecord requests that instead of doing "new Thread()", you should use the Bungee scheduler.

Here is a stacktrace: 13:58:16 [WARNING] Plugin performed restricted action, please inform them to use proper API methods: Illegal thread group access java.security.AccessControlException: Plugin violation: Illegal thread group access at net.md_5.bungee.BungeeSecurityManager.checkRestricted(BungeeSecurityManager.java:39) at net.md_5.bungee.BungeeSecurityManager.checkAccess(BungeeSecurityManager.java:62) at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315) at java.lang.Thread.init(Thread.java:389) at java.lang.Thread.init(Thread.java:349) at java.lang.Thread.<init>(Thread.java:547) at eu.ac3_servers.dev.bvotifier.bungee.Metrics.start(Metrics.java:205) at eu.ac3_servers.dev.bvotifier.bungee.BVotifier.onEnable(BVotifier.java:69) at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:207) at net.md_5.bungee.BungeeCord.start(BungeeCord.java:230) at net.md_5.bungee.Bootstrap.main(Bootstrap.java:65)

Link to the issue: https://bitbucket.org/acecheesecr14/bvotifier/issue/1/javasecurityaccesscontrolexception-plugin

SilverCory avatar Jul 21 '14 15:07 SilverCory