フィルターのクリア

Workaround for java error

9 ビュー (過去 30 日間)
KAE
KAE 2017 年 10 月 31 日
編集済み: Deepu George Kurian 2021 年 3 月 18 日
I have a graphics intensive Matlab script that occasionally gives the error
Exception in thread "AWT-EventQueue-0" javax.media.nativewindow.NativeWindowException: Error windowHandle 0, werr: 0
Would love guidance on eliminating this. I found this set of workarounds, but did not get success by updating the driver, turning off off GraphicsSmoothing, or switching to opengl('save','software') or opengl('save','hardwarebasic'). In case it's relevant, I have a 64 bit machine but am using the 32-bit version of R2015b (required by some hardware).
Here is the full java error message,
  1 件のコメント
KAE
KAE 2017 年 12 月 14 日
編集済み: KAE 2017 年 12 月 14 日
I am still occasionally getting long Java errors when I run GUIs, and when they occur the GUI's message boxes are blank instead of displaying their intended text and pushbuttons are hidden (they reappear when a cursor is hovered over them). I will try running on 64-bit 2017b instead of 32-bit 2015b to see if this solves the problem. Again just mentioning this consequence of a java error, in case someone has a similar issue.

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

採用された回答

KAE
KAE 2017 年 11 月 3 日
Later we found two versions of java on my machine, 32 and 64 bit, so we deleted the 32 bit. That seemed to eliminate the error. I am answering this question myself in case it helps someone else out.
  1 件のコメント
Image Analyst
Image Analyst 2017 年 11 月 20 日
Thanks for sharing this non-obvious answer. I'm sure it might help someone someday.

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

その他の回答 (1 件)

Olivier Sauter
Olivier Sauter 2019 年 1 月 19 日
I had many error messages when starting matlab and could not open the matlab editor, matlab although was working otherwise.
I tried resetting the .matlab and various preferences
At the end I simply needed to remove the felix-cache folder, which we should do regularly but keep forgetting...
  1 件のコメント
Deepu George Kurian
Deepu George Kurian 2021 年 3 月 17 日
編集済み: Deepu George Kurian 2021 年 3 月 18 日
I am encountering the exact same problem right now with my Matlab R2018b. Could you please elaborate on what you had to do? (I am not that good with these) @Olivier Sauter

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

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by