1 Reply Latest reply on Sep 14, 2018 4:57 AM by Radoslav Husar

    Extending Wildfly, Documentation Example, java.util.MissingResourceException [Please Help]

    Jonathan Blodgett Newbie

      Hi,

       

      I'm trying to create the example subsystem in the documentation.  Here is a link http://http://docs.wildfly.org/14/Extending_WildFly.html#examples-in-this

       

      When my unit tests create KernalServices object throws a MissingResourceException.

       

      The line is.

      KernelServices services = super.createKernelServicesBuilder(null).build();


      throws this exception.

      java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key tracker.add

       

      at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)

      at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)

      at org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver.getOperationDescription(StandardResourceDescriptionResolver.java:184)

      at org.jboss.as.controller.descriptions.DefaultResourceAddDescriptionProvider.getModelDescription(DefaultResourceAddDescriptionProvider.java:63)

      at org.jboss.as.controller.operations.validation.OperationValidator.validateOperation(OperationValidator.java:133)

      at org.jboss.as.model.test.ModelTestModelControllerService.boot(ModelTestModelControllerService.java:198)

      at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:289)

      at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256)

      at java.base/java.lang.Thread.run(Thread.java:844)

       

       

      I've gone through the documentation multiple times and I cant find my mistake.  Can anyone point me in the right direction?

       

      Regards,

      Jonathan