Guys

A few weeks ago I created a facet decorator to localize my object via a wiki. I created a FacetDecorator that decorates the Named, DescribedAs and Help facets. In the constructor I set up a couple of properties using the IsisConfiguration object, accessed from IsisContext. This worked fine.

This evening I've update the code and now it fails to get the configuration object, and my system now won't start up.

Caused by: org.apache.isis.core.commons.config.IsisConfigurationException: No configuration available at org.apache.isis.core.runtime.context.IsisContext.getConfiguration(IsisContext.java:309) at com.planchaser.help.LocalizationDownloader.init(LocalizationDownloader.java:30) at com.planchaser.help.LocalizationFacetDecorator.<init>(LocalizationFacetDecorator.java:21) at com.planchaser.help.LocalizationInstaller.createDecorators(LocalizationInstaller.java:18) at org.apache.isis.defaults.progmodel.JavaReflectorInstaller.createFacetDecorators(JavaReflectorInstaller.java:268) at org.apache.isis.defaults.progmodel.JavaReflectorInstaller.createFacetDecorators(JavaReflectorInstaller.java:243) at org.apache.isis.defaults.progmodel.JavaReflectorInstaller.createReflector(JavaReflectorInstaller.java:96) at org.apache.isis.defaults.progmodel.JavaReflectorInstaller.createReflector(JavaReflectorInstaller.java:55) at org.apache.isis.core.runtime.system.installers.IsisSystemUsingInstallers.obtainReflector(IsisSystemUsingInstallers.java:295) at org.apache.isis.core.runtime.system.installers.IsisSystemUsingInstallers.createSessionFactory(IsisSystemUsingInstallers.java:122) at org.apache.isis.core.runtime.system.installers.IsisSystemUsingInstallers.doCreateSessionFactory(IsisSystemUsingInstallers.java:103) at org.apache.isis.core.runtime.system.IsisSystemAbstract.init(IsisSystemAbstract.java:124) at org.apache.isis.core.runtime.runner.IsisModule.provideIsisSystem(IsisModule.java:165)
    ... 55 more

What is the reason for the configuration object no longer being available? Should the decorators have a initialization process?

Regards
Rob

Reply via email to