java protocol detect_NC65生成主子表单据,卡在了生成java代码的地方

在尝试使用java protocol detect NC65生成主子表单据的Java代码时遇到问题。日志中出现多个未使用的NLS消息和系统属性设置异常,主要涉及`java.lang.IllegalArgumentException: key can't be empty`。此外,还存在Eclipse插件调用代码时的异常,可能影响代码生成过程。
摘要由CSDN通过智能技术生成

补充下log日志

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:07:10.142

!MESSAGE NLS unused message: CellModifier_35 in: ncmdp.views.messages

!ENTRY org.eclipse.ui.workbench 4 2 2018-10-25 10:07:11.525

!MESSAGE 从插件调用代码时出现问题:“org.eclipse.ui.workbench”。

!STACK 0

java.lang.IllegalArgumentException: key can't be empty

at java.lang.System.checkKey(System.java:832)

at java.lang.System.setProperty(System.java:780)

at com.yonyou.uap.studio.lic.ui.startup.LicenseStateInitializer.earlyStartup(LicenseStateInitializer.java:36)

at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)

at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui 4 4 2018-10-25 10:07:11.527

!MESSAGE Unhandled Exception

!ENTRY com.yonyou.studio.common.lic.ui 4 0 2018-10-25 10:07:11.528

!MESSAGE Unable to execute early startup code for an extension

!STACK 0

java.lang.IllegalArgumentException: key can't be empty

at java.lang.System.checkKey(System.java:832)

at java.lang.System.setProperty(System.java:780)

at com.yonyou.uap.studio.lic.ui.startup.LicenseStateInitializer.earlyStartup(LicenseStateInitializer.java:36)

at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)

at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY edu.hawaii.ics.csdl.jupiter 1 0 2018-10-25 10:07:11.927

!MESSAGE Jupiter Review Plugin is up.

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:07:11.930

!MESSAGE properties loading 'MT'

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:07:11.933

!MESSAGE properties loading 'YN'

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:07:11.933

!MESSAGE properties loading 'moutai'

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:07:11.934

!MESSAGE properties loading 'yn_moutai'

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:07:33.817

!MESSAGE NLS unused message: LoginUserPreferencePage_label_1_text in: nc.uap.plugin.studio.ui.preference.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:07:33.817

!MESSAGE NLS missing message: DataSourceGroup_label_2_text in: nc.uap.plugin.studio.ui.preference.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:07:33.973

!MESSAGE NLS missing message: DeveloperComposite_label_20_text in: nc.uap.plugin.studio.ui.preference.developer.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:07:33.973

!MESSAGE NLS missing message: DeveloperComposite_label_21_text in: nc.uap.plugin.studio.ui.preference.developer.messages

!ENTRY org.eclipse.egit.ui 2 0 2018-10-25 10:08:40.969

!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level

Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.

The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in

this system level configuration. The Git installation location can be configured on the

Team > Git > Configuration preference page's 'System Settings' tab.

This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.egit.ui 2 0 2018-10-25 10:08:40.969

!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git

user global configuration and to define the default location to store repositories: 'C:\Users\lenovo'. If this is

not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and

EGit might behave differently since they see different configuration options.

This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.551

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_9 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.551

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_8 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.551

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_7 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.551

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_6 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.551

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_5 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.552

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_4 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.552

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_13 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.552

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_12 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.553

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_11 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.553

!MESSAGE NLS unused message: ItefMethodServAndComHandleUtil_10 in: nc.pubapp.billpage.messages2

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.556

!MESSAGE NLS unused message: MultiLanguagePage_9 in: nc.pubapp.billpage.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.556

!MESSAGE NLS missing message: CommonResGeneResultPages_labelExecuting_text in: nc.pubapp.billpage.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.559

!MESSAGE NLS missing message: SingleBaseDocItfNamePage_label_clientSuffix_text in: nc.pubapp.basedoc.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.559

!MESSAGE NLS missing message: SingleBaseDocItfNamePage_label_privateSuffix_text in: nc.pubapp.basedoc.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.559

!MESSAGE NLS missing message: SingleBaseDocItfNamePage_label_implSuffix_text in: nc.pubapp.basedoc.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.560

!MESSAGE NLS missing message: SingleBaseDocItfNamePage_label_itfSuffix_text in: nc.pubapp.basedoc.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.561

!MESSAGE NLS missing message: SingleTreePackItfNamePage_35 in: nc.pubapp.singletree.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:09:29.561

!MESSAGE NLS missing message: SingleTreePackItfNamePage_label_clientSuffix_text in: nc.pubapp.singletree.pages.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.976

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_103 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.976

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_107 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.976

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_110 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.977

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_112 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.977

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_32 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.977

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_83 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.978

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_87 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.978

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_91 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY org.eclipse.osgi 2 1 2018-10-25 10:11:13.978

!MESSAGE NLS missing message: ScrPageOrgTypeUtil_99 in: nc.pubapp.pade.wizard.common.util.messages

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:13:31.390

!MESSAGE properties loading 'yn_moutai'

!ENTRY jp.gr.java_conf.ussiy.app.propedit 1 0 2018-10-25 10:13:36.081

!MESSAGE properties loading 'yn_moutai'

!ENTRY com.yonyou.studio.common.core.ui 4 0 2018-10-25 10:13:58.966

!MESSAGE Error

!STACK 0

java.lang.RuntimeException: nc.ui.pub.codegen.exception.CodegenException: 代码生成时未知错误!

at nc.ui.uapde.pubapp.codegen.PubappCodeGenRunner.runGenCode(PubappCodeGenRunner.java:90)

at com.yonyou.uapstudio.uapde.codegen.handler.CodegenHandler.execute(CodegenHandler.java:34)

at nc.pubapp.pade.wizard.resgen.util.ResourceGenProgresUtil.resourceGenProgress(ResourceGenProgresUtil.java:202)

at nc.pubapp.billpage.CommonResGeneResultPages.run(CommonResGeneResultPages.java:210)

at java.lang.Thread.run(Thread.java:744)

Caused by: nc.ui.pub.codegen.exception.CodegenException: 代码生成时未知错误!

at nc.ui.pub.codegen.VelocityUnSingletonCodeGenerator.generateFile(VelocityUnSingletonCodeGenerator.java:165)

at nc.ui.pub.codegen.VelocityUnSingletonCodeGenerator.generate(VelocityUnSingletonCodeGenerator.java:222)

at nc.ui.pub.codegen.VelocityUnSingletonCodeGenerator.generate(VelocityUnSingletonCodeGenerator.java:198)

at nc.ui.pub.codegen.VelocityUnSingletonCodeGenerator.generate(VelocityUnSingletonCodeGenerator.java:186)

at nc.ui.pub.codegen.VelocityUnSingletonCodeGenerator.generate(VelocityUnSingletonCodeGenerator.java:233)

at nc.ui.uapde.pubapp.codegen.PubappDesignerCodeGenFacade.generateUIF2Code(PubappDesignerCodeGenFacade.java:110)

at nc.ui.uapde.pubapp.codegen.PubappDesignerCodeGenFacade.generate(PubappDesignerCodeGenFacade.java:51)

at nc.ui.uapde.pubapp.codegen.PubappCodeGenEntry.genCode(PubappCodeGenEntry.java:37)

at nc.ui.uapde.pubapp.codegen.PubappCodeGenRunner.runGenCode(PubappCodeGenRunner.java:88)

... 4 more

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值