4 Replies Latest reply on Jun 16, 2010 2:27 PM by MetaRama

    Flash Builder Design view

    Paul_Kuhn Level 1

      Hi all,

       

      I have also an issue when trying to view a component in the Flash Builder 4 Design View (running on Eclipse 3.5 SP-2).

       

      The design view does not open and I get an error message. When I look into the Eclipse "Error Log" view I see the following stack trace and session data as shown below...

       

      I appreciate any hint what is going wrong here...

       

      Thanks!

      Paul

       

       

      java.lang.NullPointerException
      at com.adobe.flexbuilder.mxml.editor.design.internal.MXMLDesignView4Commander.getDesignSurfa ce(MXMLDesignView4Commander.java:61)
      at com.adobe.flexbuilder.mxml.editor.design.internal.MXMLDesignView4Commander.setFrameRate(M XMLDesignView4Commander.java:124)
      at com.adobe.flexbuilder.designview.DesignViewPart$DesignShellListener.shellActivated(Design ViewPart.java:353)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
      at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1615)
      at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2086)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3943)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
      at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1578)
      at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2010)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
      at org.eclipse.swt.internal.win32.OS.MessageBoxW(Native Method)
      at org.eclipse.swt.internal.win32.OS.MessageBox(OS.java:2892)
      at org.eclipse.swt.widgets.MessageBox.open(MessageBox.java:207)
      at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignPart.startDesignView(MXMLDesignPart.ja va:208)
      at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignPart.<init>(MXMLDesignPart.java:68)
      at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.initializePlayer(MXMLDesignEdit or.java:1411)
      at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.initializeDesignView(MXMLDesign Editor.java:1576)
      at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.setFocus(MXMLDesignEditor.java: 1736)
      at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1119)
      at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1101)
      at com.adobe.flexbuilder.mxml.editor.MXMLEditor.setFocusIfActive(MXMLEditor.java:674)
      at com.adobe.flexbuilder.mxml.editor.MXMLEditor.activateDesignEditor(MXMLEditor.java:638)
      at com.adobe.flexbuilder.mxml.editor.MXMLEditor.activateDesignEditor(MXMLEditor.java:621)
      at com.adobe.flexbuilder.mxml.editor.MXMLEditor.pageChange(MXMLEditor.java:489)
      at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.setActivePage(CodeAndDesignEd itor.java:684)
      at com.adobe.flexbuilder.mxml.editor.MXMLEditor.setActivePage(MXMLEditor.java:544)
      at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor$1.clicked(CodeAndDesignEditor .java:454)
      at com.adobe.flexide.editorcore.ui.controls.ButtonBar.clicked(ButtonBar.java:289)
      at com.adobe.flexide.editorcore.ui.controls.AbstractButton.sendClickEvent(AbstractButton.jav a:41)
      at com.adobe.flexide.editorcore.ui.controls.ToggleButton.handleChange(ToggleButton.java:79)
      at com.adobe.flexide.editorcore.ui.controls.ToggleButton.mouseDown(ToggleButton.java:66)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      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.equinox.launcher.Main.invokeFramework(Main.java:559)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

       


      Session Data:
      eclipse.buildId=unknown
      java.version=1.6.0_16
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product