私はコードを更新してAndroidのビルドを送信して再構築すると、1日後にこのthemes.res(CNデザイナーをしばらく使用しています)フォームの1つが動作していません..フォームが表示されるときに、アプリケーションはtheme.resファイルの形式が妥当である
'nullのオブジェクト参照のjava.lang.String com.codename1.qrbe()'になります。
調査したところ、UIデザイナーがtheme.resファイルを開くことができましたが、特定のフォーム "レポート"を表示できないことがわかりました。
私は、UIデザイナによりを通じて任意のエラーを表示するには、コマンドラインでデザイナーを再実行し、それは次のようになります。起こるいただきましたアドバイスをしてください
~]$ java -jar ~/.codenameone/designer_1.jar
2016-12-21 17:51:09.562:INFO:oejs.Server:jetty-8.0.y.z-SNAPSHOT
2016-12-21 17:51:09.623:INFO:oejs.AbstractConnector:Started [email protected]:9000 STARTING
Dec 21, 2016 5:51:09 PM org.jdesktop.application.LocalStorage getId
WARNING: unspecified resource Application.id using ResourceEditorApp
java.lang.RuntimeException: Component not found use UIBuilder.registerCustomComponent(, class);
at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1530)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:977)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1377)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1377)
at com.codename1.ui.util.UIBuilder.createContainer(UIBuilder.java:413)
at com.codename1.ui.util.UIBuilder.createContainer(UIBuilder.java:398)
at com.codename1.designer.ResourceEditorView$11.getIconImage(ResourceEditorView.java:429)
at com.codename1.designer.HorizontalList.createButton(HorizontalList.java:285)
at com.codename1.designer.HorizontalList.refresh(HorizontalList.java:164)
at com.codename1.designer.HorizontalList$2.treeNodesInserted(HorizontalList.java:139)
at com.codename1.ui.util.EditableResources.fireTreeNodeAdded(EditableResources.java:3328)
at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.afterComplete(ResourceEditorView.java:4208)
at com.codename1.ui.resource.util.BlockingAction$4.run(BlockingAction.java:91)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.RuntimeException: Component not found use UIBuilder.registerCustomComponent(, class);
at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1530)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:977)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1377)
at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1377)
at com.codename1.ui.util.UIBuilder.createContainer(UIBuilder.java:413)
at com.codename1.ui.util.UIBuilder.createContainer(UIBuilder.java:398)
at com.codename1.designer.UserInterfaceEditor.<init>(UserInterfaceEditor.java:586)
at com.codename1.ui.util.EditableResources.getResourceEditor(EditableResources.java:3207)
at com.codename1.designer.ResourceEditorView.setSelectedResource(ResourceEditorView.java:657)
at com.codename1.designer.HorizontalList$1.actionPerformed(HorizontalList.java:117)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.codename1.designer.UserInterfaceEditor.<init>(UserInterfaceEditor.java:597)
at com.codename1.ui.util.EditableResources.getResourceEditor(EditableResources.java:3207)
at com.codename1.designer.ResourceEditorView.setSelectedResource(ResourceEditorView.java:657)
at com.codename1.designer.HorizontalList$1.actionPerformed(HorizontalList.java:117)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
誰か?
私は前に試してみましたが、提案をやり直してみてください。プロジェクトを閉じてNetbeansを閉じ、XML Team Mode。のチェックをはずしてからもう一度開いてください。 – Manuk
私はこれを解決するために別の方向で答えを編集しました –
私は試してみましたが、コンバーターはステータスボックスに同じエラーを表示し、レポートフォームは* .guiパッケージには表示されません。 この問題のあるフォームは、新しく更新されたGUIビルダーから削除されたコンポーネントを使用していると思います。フォームをやり直す必要があります。 – Manuk