on 09-21-2007 1:04 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.