Mac os, hang out with processing at login select role.

68 views
Skip to first unread message

iumou...@gmail.com

unread,
Feb 5, 2021, 7:18:13 AM2/5/21
to iDempiere

hi all,

when i move to dev on Mac, I can combine and run but when login success at tab select role, it always show processing

After debug i found it stuck at MTree.java

at line

m_root = new MTreeNode (0, 0, getName(), getDescription(), 0, true, null, false, null);

it does nothing when run this code, i use next code F6 debug but nothing happen.

Any one met this issue?

iumou...@gmail.com

unread,
Feb 5, 2021, 8:08:44 AM2/5/21
to iDempiere
it seems that relate to permission, when running does it need any permission?

at Env.java

public static ImageIcon getImageIcon (String fileNameInImageDir)

{

IResourceFinder rf = Core.getResourceFinder();

URL url =  rf.getResource("images/" + fileNameInImageDir);

// URL url = Adempiere.class.getResource("images/" + fileNameInImageDir);

if (url == null)

{

if (log.isLoggable(Level.INFO)) log.log(Level.INFO, "Not found: " +  fileNameInImageDir);

return null;

}

return new ImageIcon(url). ///here is hang out

}   //  getImageIcon


Vào lúc 19:18:13 UTC+7 ngày Thứ Sáu, 5 tháng 2, 2021, iumou...@gmail.com đã viết:

iumou...@gmail.com

unread,
Feb 5, 2021, 9:34:29 AM2/5/21
to iDempiere
hi all

no need to investigate, I find he reason hop that will help other if this happen 

add  parameter at configration
 -Djava.awt.headless=true 



Vào lúc 20:08:44 UTC+7 ngày Thứ Sáu, 5 tháng 2, 2021, iumou...@gmail.com đã viết:

Luis Amesty

unread,
Feb 9, 2021, 10:00:54 AM2/9/21
to iDempiere
Hi 
Did you try:
1-ECLIPSE Install Running Configuration
****************************************
On Arguments Tab
Replace:  -os ${target.os} -arch x86 -nl ${target.nl} -consoleLog  --launcher.secondThread
where: -os ${target.os} -arch ${target.arch} -nl ${target.nl} -consoleLog
2-ECLIPSE server Running Configuration
****************************************
Turn off the flag in the argument:
-XStartOnfirstThread argument when launching with SWT

Regards Luis Amesty
Reply all
Reply to author
Forward
0 new messages