Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Application got Stuck on Bank Setup #882

Open
pashminakazi opened this issue Jul 2, 2020 · 9 comments
Open

Why Application got Stuck on Bank Setup #882

pashminakazi opened this issue Jul 2, 2020 · 9 comments

Comments

@pashminakazi
Copy link
Contributor

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Accounts Payable from Select in Menu
Go to Cash / Bank from Setups in Menu
File : com/dbz/modules/AP/dbzBankSetupTabs.mxml

which is loading module dbzBankSetup.mxml
Path : com/dbz/modules/AP/dbzBankSetup.mxml

Application got stuck on this Setup,there's no exception thrown,I tried to remove some components to identify the problem but still can't find the cause.Please check if you find the cause that why this setup is hanged
image

dbzbankSetup.js is blank : so i can't set breakpoints
image

dbzbankSetupTabs.js is also blank
image

@pashminakazi
Copy link
Contributor Author

Console : Compiling dbzBankSetupTabs.mxml and dbzbankSetup.mxml
image

@aharui
Copy link
Contributor

aharui commented Jul 2, 2020

Check all of the warnings and other console output and make sure there are no errors.

@pashminakazi
Copy link
Contributor Author

pashminakazi commented Jul 2, 2020 via email

@aharui
Copy link
Contributor

aharui commented Jul 2, 2020

If the JS file is empty, then something went wrong at compile time. Post all of the compiler console output for that module.

@pashminakazi
Copy link
Contributor Author

dbzBanketupTabs.mxml : https://paste.apache.org/2azma
dbzBankSetup.mxml : https://paste.apache.org/z7znh
dbzBankFormatSetup.mxml : https://paste.apache.org/ea2z2

dbzBankFormatSetup is used in dbzBankSetup

Console : https://paste.apache.org/a3fek

@aharui
Copy link
Contributor

aharui commented Jul 3, 2020

The console shows warnings in dbzBankSetup.js so there were contents in that file at one point in time. One thing to try is to not build dbzBankSetupTabs or any other project after dbzBankSetup just to see if building dbzBankSetupTabs overwrites dbzBankSetup. Also check the compiler output folders for dbzBankSetup.js. Maybe the files aren't being copied to the server's folders correctly. It is possible that there is case-sensitivity in the server.

@pashminakazi
Copy link
Contributor Author

@aharui i deleted all old files from Server side for dbzBankSetup
when i only compile dbzBankSetup
OR
compile both dbzBankSetup and dbzBankSetupTabs, dbzBankSetupTabs before or after dbzBankSetup
Same issue,all loaded files for these setups are empty

But when i only compile dbzBankSetupTabs then dbzBankSetupTabs.js is loaded fine with .js file but it do not generate dbzBankSetup.js so the screen is empty because dbzBankSetup is not compiled,then i only compile dbzBankSetup and now screen is showing but all files are loaded empty.

i dnt know whats the issue

@aharui
Copy link
Contributor

aharui commented Jul 3, 2020

When you compile a module, the compiler probably puts the output in the source folders. IOW, when you compile
D:\DBIZSOL\main\Royale\src\com/dbz/modules/AP/dbzBankSetup.mxml
The output usually ends up in
D:\DBIZSOL\main\Royale\bin\js-debug\com/dbz/modules/AP/dbzBankSetup.js
Or maybe in some other subfolder of D:\DBIZSOL\main\Royale\bin\js-debug

See if the dbzBankSetup.js there is empty or not. If it isn't then the issue is in how it gets copied to the server and how the module loader finds that file. There may be different relative-path requirements in Royale vs Flex.

@aharui
Copy link
Contributor

aharui commented Jul 4, 2020

On the VDI, dbzBankSetup has code in it, but I'm not sure it is copied to the right folder in the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants