0 Replies Latest reply on Oct 17, 2007 8:53 AM by V_For_Vendetta

    flex builder not rendering layout controls anymore

    V_For_Vendetta
      Hi to everyone,

      I've a little problem with Flex Builder

      When I place in the Flex Builder Design Area any Layout Control (Panel, VBox, HBox,...) it doesnt get rendered ...
      only a big red cross over the control area appears

      In the MXML side I can see that placing the control in Design Area make a simple empty tag appear :
      <mx:Panel />
      but no code autocompletion more ...

      Anyway building previously generated pages still works ...

      Thats what the log file (.../.metadata/.log.txt) tells me :

      !ENTRY org.eclipse.update.configurator 2007-10-17 11:06:31.708
      !MESSAGE Can't find bundle for base name feature, locale it_IT

      !ENTRY org.eclipse.ui 4 4 2007-10-17 11:17:19.375
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2007-10-17 11:17:19.375
      !MESSAGE java.lang.ClassCastException
      !STACK 0
      java.lang.ClassCastException
      at com.adobe.flexbuilder.mxmlmodel.ContainerInstance.newComponentInstance(ContainerInstance. java:55)
      at com.adobe.flexbuilder.mxmlmodel.states.StContainerInstance.newComponentInstance(StContain erInstance.java:59)
      at com.adobe.flexbuilder.mxmlmodel.AbstractMXMLModel.newComponentInstance(AbstractMXMLModel. java:871)
      at com.adobe.flexbuilder.mxmlmodel.states.StMXMLModel.newComponentInstance(StMXMLModel.java: 1462)
      at com.adobe.flexbuilder.editors.mxml.views.components.ComponentInsertionManager.doBaseTagIn sert(ComponentInsertionManager.java:243)
      at com.adobe.flexbuilder.editors.mxml.views.components.inserters.SizedContainerInserter.inse rtComponent(SizedContainerInserter.java:85)
      at com.adobe.flexbuilder.editors.mxml.views.components.inserters.SizedContainerInserter.inse rtComponent(SizedContainerInserter.java:70)
      at com.adobe.flexbuilder.editors.mxml.views.components.ComponentInsertionManager.insertCompo nent(ComponentInsertionManager.java:165)
      at com.adobe.flexbuilder.editors.mxml.views.components.ComponentInsertionManager.insertCompo nent(ComponentInsertionManager.java:127)
      at com.adobe.flexbuilder.editors.mxml.views.components.ComponentsView.notifyExitMode(Compone ntsView.java:608)
      at com.adobe.flexbuilder.editors.mxml.modes.ModeManager.exitMode(ModeManager.java:148)
      at com.adobe.flexbuilder.editors.mxml.design.MXMLDesignEditor.handleModeDrop(MXMLDesignEdito r.java:564)
      at com.adobe.flexbuilder.editors.mxml.design.MXMLDesignEditor$DesignDropListener.drop(MXMLDe signEditor.java:300)
      at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:65)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:660)
      at org.eclipse.swt.dnd.DropTarget.notifyListeners(DropTarget.java:480)
      at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:405)
      at org.eclipse.swt.dnd.DropTarget.access$7(DropTarget.java:350)
      at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:236)
      at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
      at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
      at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:277)
      at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:267)
      at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:161)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)

      Thats my Flex Version :
      Flex Builder 2
      Version: 2.0.155577


      Any help is greatly appreciated