Unintended error message in console at startup #7


  • Accepted
  • Defect
Open
Assigned to _ForgeUser8274522
  • _ForgeUser7806317 created this issue Dec 15, 2012
    Author

    This isn't a major issue - more of an annoyance - but the following error should not appear in the console at startup:

    [SEVERE] [Rebalance Villagers] Plugin Rebalance Villagers v1.2 has failed to register events for class com.hotmail.wolfiemario.rebalancevillagers.RebalanceVillagers because com/nisovin/shopkeepers/ShopkeepersPlugin does not exist.

    The support for Shopkeepers is a soft dependency, not a hard dependency. It's not an error to run this plugin without Shopkeepers, and thus no message should appear if Shopkeepers cannot be found. That was the previous behavior, at any rate.

    I suppose this error may now be appearing because Cube updated the Shopkeeper checker to use the Bukkit scheduler. I notice it's attempting to import ShopkeepersPlugin, which it should not do because ShopkeepersPlugin is not guaranteed to be there. I used the generic Plugin class to store my handle of Shopkeepers, so explicitly referencing its classes would not be needed.

  • _ForgeUser7806317 added the tags Accepted Defect Dec 15, 2012
  • _ForgeUser7806317 assigned issue to _ForgeUser8274522 Dec 15, 2012

To post a comment, please login or register a new account.