openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Designer freezes on loading res file #1370

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Cannot open attached res file.

$ java -Xmx256m -jar /home/bryanb/.codenameone/designer_1.jar 
/home/bryanb/NetBeansProjects/FaultCodes/src/theme.res
2015-02-25 05:49:47.143:INFO:oejs.Server:jetty-8.0.y.z-SNAPSHOT
2015-02-25 05:49:47.246:INFO:oejs.AbstractConnector:Started 
SelectChannelConnector@0.0.0.0:9000 STARTING
Feb 25, 2015 5:49:48 AM org.jdesktop.application.LocalStorage getId
WARNING: unspecified resource Application.id using ResourceEditorApp
java.lang.RuntimeException: Component not found use 
UIBuilder.registerCustomComponent(SpanLabel, class);
    at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1528)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:975)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    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$8.getIconImage(ResourceEditorView.java:408)
    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:3221)
    at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.afterComplete(ResourceEditorView.java:4171)
    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:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    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(SpanLabel, class);
    at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1528)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:975)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    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$8.getIconImage(ResourceEditorView.java:408)
    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:3221)
    at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.afterComplete(ResourceEditorView.java:4171)
    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:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    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(WebBrowser, class);
    at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1528)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:975)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    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$8.getIconImage(ResourceEditorView.java:408)
    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:3221)
    at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.afterComplete(ResourceEditorView.java:4171)
    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:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    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(InfiniteProgress, class);
    at com.codename1.ui.util.UIBuilder.createComponentType(UIBuilder.java:1528)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:975)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    at com.codename1.ui.util.UIBuilder.createComponent(UIBuilder.java:1375)
    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$8.getIconImage(ResourceEditorView.java:408)
    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:3221)
    at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.afterComplete(ResourceEditorView.java:4171)
    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:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    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 -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Designer 1.1 Version 20150219

Team mode is off and res file worked fine a week or so ago.

Original issue reported on code.google.com by bry...@webbtide.com on 24 Feb 2015 at 7:54

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks this is fixed in SVN. However, it seems that this is only a rendering 
error and I was able to then use the resource as expected without a problem. Is 
that not the case for you?

Original comment by shai.almog on 25 Feb 2015 at 5:04

GoogleCodeExporter commented 8 years ago
Strange. I tried again and the designer froze as before (with same errors),
then I tried again, and it worked, although with same error dump, but
atleast the GUI elements displayed and are usable. I'll check the version
from SVN.

Original comment by bry...@webbtide.com on 25 Feb 2015 at 7:39

GoogleCodeExporter commented 8 years ago
Where can I find the designer in SVN ?

Original comment by bry...@webbtide.com on 25 Feb 2015 at 9:34

GoogleCodeExporter commented 8 years ago
In the trunk under CodenameOneDesigner.

Original comment by shai.almog on 25 Feb 2015 at 5:15