2 Replies Latest reply on Oct 26, 2010 7:02 AM by ElliotRock

    Can't Compile Test Project

    ElliotRock

      I get this error when I have tried to port over projects or started a clean project:

       

      An internal error has occurred.

      flex2/tools/oem/OEMException$CircularLibraryDependencyException

      Help please
      Elliot

        • 1. Re: Can't Compile Test Project
          ElliotRock Level 1

          dammit, ok I have uninstalled and removed what I had thought was causing the issue (ELIPS) but on reinstall:

           

           

          java.lang.ClassNotFoundException: flex2.tools.oem.OEMException$CircularLibraryDependencyException

          at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)

          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)

          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)

          at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:105)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(FlexClassLoader.java:133)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClassInternal(Unknown Source)

          at java.lang.Class.getDeclaredConstructors0(Native Method)

          at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

          at java.lang.Class.getConstructor0(Unknown Source)

          at java.lang.Class.newInstance0(Unknown Source)

          at java.lang.Class.newInstance(Unknown Source)

          at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java: 865)

          at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java: 850)

          at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCo mpilerLibraryPath(ActionScriptProjectSettings.java:1284)

          at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getLibraryPathFla ttened(ActionScriptProject.java:584)

          at com.adobe.flexbuilder.codemodel.internal.design.DesignManager.getDesign(DesignManager.jav a:172)

          at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.initialize(Componen tCategoryList.java:337)

          at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.loadCustomComponent Category(ComponentCategoryList.java:220)

          at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.getCustomComponents (ComponentCategoryList.java:198)

          at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.getCustomComponents Filtered(ComponentCategoryList.java:204)

          at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView$ViewContentProvider.get Elements(ComponentsView.java:339)

          at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:959)

          at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)

          at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)

          at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:390)

          at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 636)

          at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:60 2)

          at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)

          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

          at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)

          at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)

          at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.ja va:1490)

          at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:828)

          at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)

          at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392 )

          at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)

          at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353 )

          at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)

          at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)

          at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)

          at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createMainControl(Compo nentsView.java:594)

          at com.adobe.flexbuilder.mxml.editor.views.AbstractDesignOnlyView.createPartControl(Abstract DesignOnlyView.java:125)

          at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createPartControl(Compo nentsView.java:1036)

          at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)

          at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)

          at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

          at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2229)

          at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1067)

          at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3816)

          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

          at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3813)

          at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3789)

          at com.adobe.flexbuilder.standalone.actions.FlexBuilderWorkbenchActionBuilder$ShowViewAction .run(FlexBuilderWorkbenchActionBuilder.java:843)

          at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)

          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)

          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:3880)

          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)

          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 com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)

          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)

           

          gee wizz
          I'll try to download a new FlashBuilder installer. Fun city!
          Thanks
          Elliot
          • 2. Re: Can't Compile Test Project
            ElliotRock Level 1

            Ok it seems to be related to workspace.

             

            Once I compiled a test project to the default work space, not the one I had been using before all works fine. I suspect there is a conflict with the preference files and sdks, if you check the log you can see references to that.

             

            Oh well at least I didn't have to download again.

             

            Cheers for the space to rant and solve things.

             

            Regards

             

            Elliot