UDN-企业互联网技术人气社区

板块导航

浏览  : 263
回复  : 4

[iuap开发平台] iuap授权时报错求助

[复制链接]
baitaiyu的头像 楼主
发表于 2017-10-9 13:25:33 | 显示全部楼层 |阅读模式
之前授权时都是好用的,今天换了台电脑,把开发环境拷过去需要授权,但是授权时报
解码失败,文件可能被非法修改或者安全算法相关要素被破坏。



!ENTRY com.yonyou.studio.ieop.lic.core 4 0 2017-10-09 13:04:11.149
!MESSAGE 解码失败,文件可能被非法修改或者安全算法相关要素被破坏。
!STACK 0
com.yonyou.studio.ieop.sec.exception.StorageSecurityException: 解码失败,文件可能被非法修改或者安全算法相关要素被破坏。
        at com.yonyou.studio.ieop.sec.store.SafeStorageWithTimeStampChecking.getContainer(SafeStorageWithTimeStampChecking.java:137)
        at com.yonyou.studio.ieop.sec.store.SafeStorageWithTimeStampChecking.getValidatedContainer(SafeStorageWithTimeStampChecking.java:99)
        at com.yonyou.studio.ieop.sec.store.SafeStorageWithTimeStampChecking.readObject(SafeStorageWithTimeStampChecking.java:46)
        at com.yonyou.studio.ieop.lic.local.LocalLicenseToolKit.getAuthentications(LocalLicenseToolKit.java:204)
        at com.yonyou.studio.ieop.lic.local.LocalLicenseToolKit.findAuthenticationByCode(LocalLicenseToolKit.java:105)
        at com.yonyou.studio.ieop.lic.core.LicenseCenter.findAuthenticationByCode(LicenseCenter.java:202)
        at com.yonyou.studio.ieop.lic.core.LicenseCenter.isLocalLicensed(LicenseCenter.java:42)
        at com.yonyou.studio.ieop.lic.core.IEOPProduct.validateLicense(IEOPProduct.java:63)
        at com.yonyou.studio.ieop.lic.ui.dialog.RemoteLicenseManageDialog.getProductStatus(RemoteLicenseManageDialog.java:484)
        at com.yonyou.studio.ieop.lic.ui.dialog.RemoteLicenseManageDialog.<init>(RemoteLicenseManageDialog.java:127)
        at com.yonyou.studio.ieop.lic.ui.LicenseDialogUtil.openLicenseDialog(LicenseDialogUtil.java:10)
        at com.yonyou.studio.ieop.lic.ui.handler.LicenseManageHandler.execute(LicenseManageHandler.java:14)
        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
        at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
        at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
        at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:825)
        at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:701)
        at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:685)
        at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:613)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: com.yonyou.studio.ieop.sec.exception.SecurityStragegyException: javax.crypto.BadPaddingException: Given final block not properly padded
        at com.yonyou.studio.ieop.sec.strategy.PasswordBasedEncryptStrategy.process(PasswordBasedEncryptStrategy.java:108)
        at com.yonyou.studio.ieop.sec.strategy.PasswordBasedEncryptStrategy.decrypt(PasswordBasedEncryptStrategy.java:86)
        at com.yonyou.studio.ieop.sec.store.SafeStorageWithTimeStampChecking.doDecrypt(SafeStorageWithTimeStampChecking.java:189)
        at com.yonyou.studio.ieop.sec.store.SafeStorageWithTimeStampChecking.getContainer(SafeStorageWithTimeStampChecking.java:135)
        ... 55 more
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
        at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)
        at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
        at com.sun.crypto.provider.PBECipherCore.doFinal(PBECipherCore.java:422)
        at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(PBEWithMD5AndDESCipher.java:316)
        at javax.crypto.Cipher.doFinal(Cipher.java:2087)
        at com.yonyou.studio.ieop.sec.strategy.PasswordBasedEncryptStrategy.process(PasswordBasedEncryptStrategy.java:94)
        ... 58 more

不知道什么原因,求解。
微信截图_20171009132218.png
发表于 2017-11-8 13:54:11 | 显示全部楼层
使用道具 举报

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们
联系我们
  • 电话:010-86393388
  • 邮件:udn@yonyou.com
  • 地址:北京市海淀区北清路68号
移动客户端下载
关注我们
  • 微信公众号:yonyouudn
  • 扫描右侧二维码关注我们
  • 专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041 京ICP备05007539号-11 京公网网备安1101080209224 Powered by Discuz!
快速回复 返回列表 返回顶部