Flex compilation error: line exceeds 32k span

Hi All,
I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
1 tab/layer: input form
2 tab/layer: table control
3 tab/layer: table control
Following is the error from the source Viewer window
<b>com.myComp.myProduct.8J.Empdetailsview</b>
Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
      (E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
Failed to compile AAD8J.mxml
PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
Please help
Thanks
Sathish

Hi
The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
Jarrod

Similar Messages

  • Error: Branch between 76249 and 109399 around line 0 exceeds 32K span in VC

    Hi All,
    When i deploy the model. I am getting the following problem. Can u please tell me what is the route cause.
    Error in compiling Flex application: Error: Branch between 76249 and 109399 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 76249 and 109399 around line 0 exceeds 32K span.
    Failed to compile AAD1T5.mxml
    Regards
    Vijay

    Doing the following may help:
    1.Divide problematic iViews into a number of nested iViews.
    2.Optimize each model to reduce the number of elements that it
      contains:
      a.Reduce the number of signals by merging signals of the same name.
      b.When your application updates forms with read-only fields, use
        expression boxes and a data store instead of signals.
      c.Minimize the use of animations in your models, including form
        sliding and chart animation effects
      d.Use a data store to store variables, instead of invisible forms.
        To display messages, use a simple text rather than a static dynamic
        expression.
    3.For on-the-spot, temporary workarounds, you can try dragging an empty
      layer onto the Design board. This sometimes solves the problem ad
      hoc, but is not recommended as a best practice.

  • **Warning** Branch between 3019 and 44222 exceeds 32K span.

    What is this??
    What does it mean??
    **Warning** Branch between 3019 and 44222 exceeds 32K span.
    Total ActionScript Errors: 1 Reported Errors: 1

    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19520

  • Flex compilation error

    Hi All,
    I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
    Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
    Does the older version models doesnot deploy in new versions?
    Thanks
    Srinivas K

    Hello Srinivas,
    Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
    Thanks and Regards,
    Ronniee

  • Flex compilation error 1004

    Compilation is ok, but the deployment is giving this error messages:
    Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Failed to compile AAD8G.mxml
    I do not succeed in finding the cause of this error

    Compilation is ok, but the deployment is giving this error messages:
    Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
    Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
    Failed to compile AADHDR.mxml
    Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM

  • Flex compilation error after adding an additional output port to a query

    Hello,
    I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data.
    Just when we add an extra output port to the query and deploy it we run into a flex compilation error.
    Has somebody come along with that?
    Kind regards
    Stefan

    Hi
    Why exactly you want another output port. With same output port you can drag multiple filters & restrict the output.
    Creation of second output port is not required.
    If first way is not suitable in your case, then you add that query twice (or multiple times) & pass the same input parameters.
    If still it is not serving the purpose then please elaborate your requirement as what dynamic filter you want.
    Regards
    Sandeep

  • Flex Compiler Error

    If I have a project in Flash Builder 4.6 that uses a specifc (custom) SDK name, that same project will see an error when you attempt to import it into Flash Builder 4.7. The project folder will show an X, indicating the original SDK cannot be found. Furthermore, when you try to correct this issue by going to Properties > Flex Compiler it just shows an error message. It should allow you to simply select the SDK for this project but due to the SDK conflict, it improperly removes ALL options to change the SDK and, instead, gives a text error message. This means it cannot be imported at all.
    There are two solutions to resolve this:
    1. You must go back to FB 4.6, assign the project an SDK known in both FB 4.6 and FB 4.7 (such a 4.6.0), resave it in FB 4.6 then import it again in FB 4.7 (where the SDK is recognized)
    2. You must import the custom SDK in FB 4.7 BEFORE you attempt to import the FB 4.6 project that uses it.
    Again, what needs to be fixed:
    FB 4.7 needs to properly provide the Flex Compiler section where the user can change the SDK. It needs to provide this screen even if there is an SDK conflict where FB cannot find the original SDK used for the project.

    Hi Jason, I was not able to repro the issue. Does this happen with the latest beta. Can you attach the project file?

  • Flex compilation error - please help

    Hi all,
    I have a model with a nested iview and multiple popup iviews.
    It stopped deploying  after i changed few system aliases using the aliases manager.
    given below is the error I am getting.
    Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
    Can anyone help me out?
    Thanks in advance
    Shobin

    Hi,
    I am using VC 7.0 itself.
    This was due to some error happened when I tried to change few system aliases.
    I deleted the data services and recreated again.
    Now it works.
    Thanks a lot for your reply.
    Shobin

  • Flex compilation error code 2830

    Hi All ,
      When using  Layer Iviews with Navigation Control as  LINK TREE in my VC model .
       Compile error with message as below ,
    Error in compiling Flex application: /usr/sap/EPD/JC03/j2ee/cluster/server0/GUIMachine_Business_Packages/Liquidity_June_27_13818/FLEX_COMPILATION_FOLDER/AAD7EI.mxml(2830):  Error: Call to a possibly undefined method buildLinkTree.
       buildLinkTree();
    Appreciate if anyone can help me in resolution .
    Thanks
    Ravi

    Hello Ravi ,
    Could you manage to get a solution to your problem , Since i am also facing the same,
    If yes could you share as to how did u approach the problem?
    Thanks and Regards,
    Ronniee

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • Error in compiling flex compilation

    Hi,
    I recieve following log message after deploying my application:
    Error in compiling Flex application:
    Error: Branch between 8479 and 41869 around line 0 exceeds 32K span.
    If possible, please refactor this component.
    Failed to compile AAD8T3.mxml
    The only thing I know is the iView that has code AAD8T3, so I suppose the error is in it.
    But what is the error and what are the objects it relates to?
    Thanks,
    Yulia

    Hi
    This is solved for Flex2, the up comming version of VC does not have this problem, but release dates for it are not set.
    Jarrod Williams

  • Compile errors involving UTL_DBWS

    I'm trying to compile this function in a 10.2g database to run a web service:
    CREATE OR REPLACE FUNCTION get_stock_price (p_stock_code IN VARCHAR2)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_result ANYDATA;
    l_wsdl_url VARCHAR2(1024);
    l_service_name VARCHAR2(200);
    l_operation_name VARCHAR2(200);
    l_input_params UTL_DBWS.anydata_list;
    BEGIN
    l_wsdl_url := 'http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl';
    l_service_name := 'StockQuoteService';
    l_operation_name := 'getQuote';
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_name);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => NULL,
    operation_name => l_operation_name);
    l_input_params(1) := ANYDATA.ConvertVarchar2(p_stock_code);
    l_result := UTL_DBWS.invoke (
    call_handle => l_call,
    input_params => l_input_params);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    RETURN ANYDATA.AccessNumber(l_result);
    EXCEPTION
    WHEN OTHERS THEN
    RETURN NULL;
    END;
    I keep getting compile errors:
    Line # = 4 Column # = 13 Error Text = PLS-00201: identifier 'UTL_DBWS.SERVICE' must be declared
    Line # = 5 Column # = 15 Error Text = PLS-00201: identifier 'UTL_DBWS.CALL' must be declared
    Line # = 11 Column # = 21 Error Text = PLS-00201: identifier 'UTL_DBWS.ANYDATA_LIST' must be declared
    Line # = 28 Column # = 15 Error Text = PLS-00201: identifier 'UTL_DBWS.INVOKE' must be declared
    The errors indicate Oracle doesn't recognize data types SERVICE, CALL and ANYDATA_LIST in the UTL_DBWS package. The datatypes are not declared anywhere in the UTL_DBWS package; rather they are RETURNED and declared as function and procedure parameters within UTL_DBWS.
    I'm logged into OEM as SYSTEM. The function is also in the SYSTEM schema. PUBLIC has EXECUTION privileges on UTL_DBWS.

    Thanks. The package was in a valid state and the SYSTEM user had correct privileges, but the database still didn't recognize it.
    However, I got it to work by replacing the package with an update that I found in the %ORACLEHOME%\sqlj\lib directory: utl_dbws_decl.sql and utl_dbws_body.sql. They were downloaded from the dbws-callout-utility-10131.zip file found on http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html

  • Solution for Visual composer error: 32k span and 64k byte limit

    Dear friends,
    I am getting the error in visual composer 32k span and 64k byte limit since last half year,
    some time error will get resolved by adding layer in to model OR adding some table and form to model OR reduce the animation effect OR even by doing tab strip view for layer model, doing nested ivew.
    but this solution not usefull for every time.
    what should we do for this error(32k span and 64k byte limit),
    is it solved by updating EP version or by EP java stack or any other updates which will solve the This VC error.
    64k error i am getting is:
    +Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65570'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
          (/usr/sap/IBD/DVEBMGS10/j2ee/cluster/server0/GUIMachine_Business_Packages/Managment_cockpit11_31066/FLEX_COMPILATION_FOLEDR/AADCDM.mxml:19)
    Failed to compile AADCDM.mxml+
    hope to get answer form you,
    Thanks and Regards,
    Dushyant.

    Hi,
    I think it's better to post this question into the Visual Composer forum. Anyway, the 32k/64k bug is solved with the flex2 server which is already released.
    Also have a look into the [Wiki page|https://wiki.sdn.sap.com/wiki/display/VC/64Kbytelimit].
    Hope that helps!
    Best Regards,
    Marcel

  • Error while compiling .css to .swf using flex-compiler-oem-3.4.0.9271

    Hi
    I am unable to compile the .css to .swf using flex-compiler-oem-3.4.0.9271.  I see the following error. This issue is specifically on the QA environment and does not reproduce locally.
    The only difference that I see between the QA and my local environment is the load balancer. I read through some posts which say to comment the line which has en_US in the flex-config.xml which did not work.
    My case is that I am trying to compile the .css at runtime using the flex-compiler-oem-3.4.0.9271.jar file
    ERROR [STDERR] Error: Unable to resolve resource bundle "styles" for locale "en_US".
    ERROR [STDERR] Error: Unable to resolve resource bundle "core" for locale "en_US".
    Any help would be greatly appreciated.
    Thank you,
    Vinay

    I'd recommend the following:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    and use the following for reference:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
    or better yet on commandline:
    mxmlc -help list details
    Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.
    Your commandline will probably looks something like this:
    mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml
    Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.
    Hope that helps,
    Alex G.

  • Compile error during Flex Deployment of a Webservice

    Hello,
    We are using the Visual Composer (7.0 SP9) to display the data from a home made Web Service. This is the complete display of a simple table without input.
    We tested the Web Service with the "Test Dat Service" option and within the Web Service Navigator of the J2EE Engine. This all worked fine.
    When we try to deploy the application with Flash/Flex it fails, but when we try to deploy it with WebDynpro, the table is displayed correctly.
    The following error is created during the compilation:
    Error in compiling Flex application: Error 1049: Expected a field name after '.' operator.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:300)
    Error 1205: The statement '' is incomplete.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:300)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:302)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:303)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:304)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:305)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:307)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:310)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:337)
    Error 1049: Expected a field name after '.' operator.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:355)
    Error 1205: The statement '' is incomplete.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:355)
    Error 1140: ActionScript 2.0 class scripts may only define class or interface constructs.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:337)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:376)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:394)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:408)
    Error 1029: Unexpected '}' encountered
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:417)
    Failed to compile AAD25B.mxml
    Does anybody know what the problem could be?
    Thanks in advance,
    Edwin Oldenburg

    Hi Edwin,
    have you access to the AAD25B.mxml file and take a look at the lines where the errors occurs?
    Maybe you get further particulars about the errors.
    But I think, this is an error in VC, but I'm not sure.
    Best Regards,
    Marcel

Maybe you are looking for