cancel
Showing results for 
Search instead for 
Did you mean: 

Error in compiling Flex application

Former Member
0 Kudos

Hi,

While working through the Visual Composer, when I tried deploying development, it gave me error message "Error in compiling Flex application". It was working fine and I didnt even change anything.

Any idea, why I'm getting this error msg?!?

Regards,

Shabbar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please check the SAP Note : 974494

Summary

Symptom

You are compiling a model in Flex Runtime and get the error:

Error in compiling Flex application (1). Consult log file for details.

Reason and Prerequisites

By deafult, Flex error messages are not displayed in Visual compsoer.

vc.verboseErrorMessages is set to false.

This flag is used to prevent long messages from reaching the client when Flex compilation fails.

The default sevirity of visual composer entries is error. For troubleshooting purposes, this sevirty has ro be increased.

Solution

I) Changing the vc.verboseErrorMessages to true will expose the Flex error messages when compilation fails.

1)Open the visual admin of the J2EE

2)Navigate to Server >> Services >> VisualComposer Development Server

3)Change the vc.verboseErrorMessages to true.

4)Save the changes

II)In the visual admin tool, go to Server -> Services -> Log Configurator. In the right pane choose Locations, then scroll down to com.sap.portal.vc

Increase the severity to ALL

Click "Copy to Subtree"

Apply to all "server nodes"

III)Reproduce the problem.

IV)For further investigation, please provide

1. The error that was received when trying to compile the model with verbose set to 'true'.

2. The newly updated defaultTrace<x>.trc

V) Revert the logging settings to the default values (false for vc.verboseErrorMessages, 'Error' in com.sap.portal.vc* locations)

Message was edited by:

Kirupanand Venkatapathi

former_member209575
Contributor
0 Kudos

Hi Ali

Enable the debuugging console for flex and try. in OPTIONS->COMPILER->here u can enable debugging console . try this one also

Regards

Pradeep P N

Former Member
0 Kudos

Hello Ali,

You have to change your configuration so you'll get the error's details.

Open a J2EE visual admin and connect to your server.

Go to server -> services -> Visual composer - Development server

and change the vc.verboseErrorMessages property to true.

Compile your model again.

Hope it helps,

Shay

Former Member
0 Kudos

Hi

Hi Ali

Can you post the the exact error?

is it soemehat like this

Error in compiling Flex application: Error: Branch between 97862 and 130633 around line 0 exceeds 32K/64k span??

Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557').

If so, then go through these helpful links

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/error%2bin%2bcompiling%2bflex%2bapplication

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/64k%2bbyte%2blimit

Cheers

Navneet

Former Member
0 Kudos

Hi Navneet,

"Error in compiling Flex application (1). Consult log file for details." is the all i'm getting, and for the source files it shows "No Vaild iViews".

Thanks for your help.

Shabbar

Former Member
0 Kudos

Hi Shabber

I guess the problem is because you compiled your model from the iview inside your model.

Try to come to the Page/Package or the first level of your model and then try compiling it.

Hope this helps.

Cheers

Navneet