Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Error 9040 Type: IllegalArgumentException

Please login with a confirmed email address before reporting spam

I was using comsol 3.5a in win10, and thesedays when I started to mesh even a 2d rectangle, it was told me that it has a ERROR 9040. Do anyone knows how to solve this kind of problem? Exception: java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice (rethrown as com.femlab.util.FlFatalException) Messages: Fatal error. - Type: IllegalArgumentException

Stack trace: at java.awt.Component.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at com.femlab.gui.MainPanel.a(Unknown Source) at com.femlab.gui.MainPanel.a(Unknown Source) at com.femlab.gui.MainPanel.a(Unknown Source) at com.femlab.gui.GuiMode.a(Unknown Source) at com.femlab.gui.PostMode.a(Unknown Source) at com.femlab.gui.GuiMode.j(Unknown Source) at com.femlab.gui.au.a(Unknown Source) at com.femlab.gui.au.b(Unknown Source) at com.femlab.api.client.w.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at com.femlab.controls.FlDialog.showAsDialog(Unknown Source) at com.femlab.controls.FlDialog.show(Unknown Source) at com.femlab.controls.FlModalDialog.show(Unknown Source) at com.femlab.gui.dialogs.z.run(Unknown Source) at com.femlab.util.x.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

How do i solve this?


0 Replies Last Post Oct 23, 2022, 5:48 a.m. EDT
COMSOL Moderator

Hello Mateusz Kiersnowski

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.