This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
One of our plugins has been causing issues with some of are other plugins, basically this plugin is affecting our servers scheduler. After allot of testing we narrowed it down to shopads. After removing shopads everything went back to working fine.
Right now our best guess is that one of the methods shopads is using in a thread isnt thread safe, thus causing the problems with the serveres scheduler.
Tested on CB 2149, Shopads .81 (also tested .82)
I'm having this same issue. I would really appreciate a response to confirm you are looking into it. This is a great plugin and i would hate to have to remove it from my server.
@Firetire: Go
Working on a fix now
I cant wait for this issue to be resolved. My server misses this plugin dearly :(
fix for this: in the onEnable loop, you call the reload() function you've made. at the start of the reload() function, you've put scheduler.cancelAllTasks();
you should only cancel tasks in the onDisable() loop.
edit: and use cancelTasks(Plugin), saves future similar troubles
@Streammy: Go
Sadly I have known about this since the beginning, and had attempted many times to make it work with cancelTasks(this) or final, static, non-static, global, and local variables but would always either get a null pointer, or it would get through to the scheduler class but null out on its checkName(Plugin) method somewhere in there. If you look at what I did with my global "plugin" variable, calling the plugin manager and grabbing my plugin that way, was the only way I have gotten to work, and just came up with it tonight.
Also, I have a disable command which runs the onDisable method so I still am not canceling all tasks there. Thanks for the suggestion anyways.
To post a comment, please login or register a new account.