LicensingFacade.INSTANCE is always null
ArtsiomCh opened this issue · 1 comments
ArtsiomCh commented
The next line at CheckLicense#isLicensed()
always return null
:
final LicensingFacade facade = LicensingFacade.getInstance();
Looking to the sorce code (192.6262) of LicensingFacade
I don't see INSTANCE
is ever initialised.
PS INSTANCE
declared as public
, so should it be initialized somehow from outside?...
ArtsiomCh commented
My fault. Did the test with IDEA Comunity. Should do with IDEA Ultimate or CLion or other paid version.
Respond from maintainer (for the record and fellow developers):
Have you checked the license in IntelliJ IDEA Ultimate? Note that in IntelliJ IDEA Community license mechanism isn't supported yet. So, we advise adding com.intellij.modules.ultimate dependency to plugin.xml file to your plugin will be available only from paid products.