代号一-转换为新GUI生成器错误

时间:2018-06-29 11:29:51

标签: java codenameone

我尝试使用在旧Gui生成器中创建的项目中的“转换为新Gui生成器”。转换成功完成,但是运行后显示错误。

我想将Old转换为New gui builder。我该如何解决?

    ant -f C:\\Users\\user1\\Desktop\\appversions\\renew2\\29-6-Convertnew -Dnb.internal.action.name=run run
Akmi_Career.java unmodified, skipping
Processing GUI builder file: C:\Users\user1\Desktop\appversions\renew2\29-6-Convertnew\src\com\codename1\akmiapp\gui\AnakoinoseisTab.java
Processing GUI builder file: C:\Users\user1\Desktop\appversions\renew2\29-6-Convertnew\src\com\codename1\akmiapp\gui\Bonus_Card.java
ContactWeb.java unmodified, skipping
Processing GUI builder file: C:\Users\user1\Desktop\appversions\renew2\29-6-Convertnew\src\com\codename1\akmiapp\gui\Egramateia.java
C:\Users\ksak\Desktop\appversions\renew2\29-6-Convertnew\build.xml:470: 
java.lang.NullPointerException
    at com.codename1.build.client.GenerateGuiSources.appendCommandIcon(GenerateGuiSources.java:863)
    at com.codename1.build.client.GenerateGuiSources.updateProperties(GenerateGuiSources.java:660)
    at com.codename1.build.client.GenerateGuiSources.constructComponentsHierarchy(GenerateGuiSources.java:311)
    at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:299)
    at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:231)
    at com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:202)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 0 seconds)

1 个答案:

答案 0 :(得分:1)

这似乎是菜单中处理命令的错误。我们有一个解决方法。此修复程序应该在下周发布。我们希望下周发布一些重要功能的主要版本,并且应该包含此修复程序。