升级atlassian-universal-plugin-manager-plugin后Jira插件页面无法打开出现500提示
页面报错提示如下:
com.atlassian.cache.CacheException: com.atlassian.extras.decoder.api.LicenseDecoderNotFoundException: Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@44155542, com.atlassian.extras.decoder.v1.Version1LicenseDecoder@63052065] for license string <Description=JIRA:Commercial,CreationDate=2015-06-01,jira.LicenseEdition=ENTERPRISE,Evaluation=false,jira.LicenseTypeName=COMMERCIAL,jira.active=true,licenseVersion=2,MaintenanceExpiryDate=2099-12-31,Organisation=saper,SEN=SEN-L4140432,ServerID=B5RJ-KBXF-4V5D-PYET,jira.NumberOfUsers=-1,LicenseID=LIDSEN-L4140432,LicenseExpiryDate=2099-12-31,PurchaseDate=2015-06-01>
at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:60)
at com.atlassian.cache.compat.delegate.DelegatingCachedReference.get(DelegatingCachedReference.java:22)
at com.atlassian.upm.license.internal.host.AbstractHostLicenseProvider.getAllLicenseInfo(AbstractHostLicenseProvider.java:127)
省略。。。。。。
我安装的版本是6.3.6破解汉化版,其他应该解决方法类似:
解决方法:
1.到 Jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/目录下查看manager-plugin是否是之前安装的破解版。如果不是,请关闭Jira,覆盖破解版。我的是atlassian-universal-plugin-manager-plugin-2.17.13.jar;
2.到 Jira/jira_home/plugins/installed-plugins/目录下查看manager-plugin插件,里面应该有你下载的升级版。将升级版更名加后缀.old即可,我的修改为plugin.3537477976016456605.atlassian-universal-plugin-manager-plugin-2.18.5.jar.old,将破解的插件copy到此目录,修改名称,加上plugin+编码前缀,(编码不确定是什么,因此我选择更新后的一致,主要没备份),我的更名为plugin.3537477976016456605.atlassian-universal-plugin-manager-plugin-2.17.13.jar。
3.重新启动Jira,问题解决。