Matlab coder java.awt.A​WTEventMul​ticaster.h​ierarchyCh​anged(AWTE​ventMultic​aster.java​:498)

Hi,
I am running the Matlab Coder to generate a mex function. When calling the testing function, that should "exercise" the mex function, I get this red message
java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:498)
However, one the testing function is done, I can still create a mex file. Is it something I should be worried about?!

5 件のコメント

PatrizioGraziosi
PatrizioGraziosi 2021 年 1 月 5 日
編集済み: PatrizioGraziosi 2021 年 1 月 5 日
Hi Maria,
I have the same issue, I think.
When I check for issues with the matlab coder app, some times the following error is printed in the matlab command prompt:
Exception in thread "AWT-EventQueue-0": java.lang.StackOverflowError
and after that, for 1024 times,
at java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:498)
when this happens, matlab freezes for minutes.
Could you fix your problem?
Ken Watkinson
Ken Watkinson 2021 年 5 月 11 日
I am getting the same issue. Has a solution for this been posted?
Mohammad Hussein Yoosefian Nooshabadi
編集済み: Mohammad Hussein Yoosefian Nooshabadi 2021 年 7 月 29 日
Hi,
Yeah. This message keeps showing during "Running test file with MEX" for me too. But the test runs seemingly without any problem.
Joris Brouwer
Joris Brouwer 2022 年 3 月 20 日
I often run in the same issue. Today again. I got it with the slightly more complex projects I run in ML Coder. It happens often after using the Coder app for multiple iterations in the 'Check for run-time issues' tab, each time correcting small coder incompatibilities in my underlying Matlab code. After a while it seems like some memory issues play up and give this error (which is 100-1000 of lines and stalls the system for a while).
In my case simply restarting Matlab and continueing solves the problem for a while.
As an extra note: I got the feeling it especialy plays up when there are difficult to asses errors/incompatibilities in my code which often only show up when running the mex.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2020a

タグ

質問済み:

2020 年 10 月 12 日

コメント済み:

2022 年 3 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by