1 Reply Latest reply on Oct 20, 2014 5:00 AM by Erez Inchy

    Why FlashBuilder 4.7 commandline is failing on Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle com.adobe.flexbuilder.codemodel.

    Erez Inchy

      Problem Description:

      When I use FB 4.7 GUI, everything works OK.

      When I use FB 4.7 command line, it fails as follows:

       

      org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle com.adobe.flexbuilder.codemodel.

       

      As you can see from the discussions below, it happens to a few users, and for us it happens to all mobile projects ot all machines..

       

      We still don't know what is the common denominator for the projects in which it occurs ... is it the env

       

      Steps to Reproduce:

      not easy to reproduce, but basically it works fine in FB4.7 GUI, but fails only in command line.

      It happens in specific projects (for us it happened in ActionScript Mobile Project).

       

      here is what I run:

      C:\FB\mobile_Android_3.2.0_WS1>"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\FB\mobile_Android_3.2.0_WS1" -file "c:\FB\build_888PokerAndroid_3_2_0.xml" main

       

      Here is what I see on screen:

      main:

      [echo] Info: Starting main target

      [fb.exportReleaseBuild] Compiling 1 application to C:/GamingX/Develop/PokerClient/Flash/ProjectSources/888PokerAndroid/v3.2.99/bin-release-t emp...

      [fb.exportReleaseBuild] An internal build error has occurred. See the error log for more information: C:\FB\mobile_Android_3.2.0_WS1\.metadata\.log

      [fb.exportReleaseBuild] [compilation completed 3,816ms]

       

      BUILD FAILED

      c:\FB\build_888PokerAndroid_3_2_0.xml:5: Build failed.

       

      Total time: 6 seconds

      Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.common.ui.helpers.WorkbenchHelper$WorkbenchStartupJob

      Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.common.ui.helpers.WorkbenchHelper$WorkbenchStartupJob

      Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.eclipse.TFSRepositoryProvider$1

      Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.eclipse.TFSEclipseClientPlugin$1

      F l a s h B u i l d e r C :

      A n e r r o r h a s o c c u r r e d . S e e t h e l o g f i l e

      C : \ F B \ m o b i l e _ A n d r o i d _ 3 . 2 . 0 _ W S 1 \ . m e t a d a t a \ . l o g .

      log and XML attached.

       

      Actual Result:

      Build throws exception

       

      Expected Result:

      Build should pass

       

      Any Workarounds:

      None

       

      For more info, please refer to discussions at:

      https://forums.adobe.com/message/6516177#6516177

      https://forums.adobe.com/thread/1445134