Where should I report this exception?

Hello everybody,

I have a problem with my application, because when I invoke Windows utility tool
Magnifier the following exception is thrown. Exception is thrown only when the
GLJPanel object is seen on the screen so I thought that I should check first
here in this forum.

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.awt.Container cannot be cast to javax.swing.JComponent at javax.swing.plaf.basic.BasicInternalFrameUI.installDefaults(BasicInternalFrameUI.java:124) at com.sun.java.swing.plaf.windows.WindowsInternalFrameUI.installDefaults(WindowsInternalFrameUI.java:35) at javax.swing.plaf.basic.BasicInternalFrameUI.installUI(BasicInternalFrameUI.java:92) at com.sun.java.swing.plaf.windows.WindowsInternalFrameUI.installUI(WindowsInternalFrameUI.java:45) at javax.swing.JComponent.setUI(JComponent.java:648) at javax.swing.JInternalFrame.setUI(JInternalFrame.java:370) at javax.swing.JInternalFrame.updateUI(JInternalFrame.java:386) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1206) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221) at javax.swing.SwingUtilities.updateComponentTreeUI(SwingUtilities.java:1197) at com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(DesktopProperty.java:110) at com.sun.java.swing.plaf.windows.DesktopProperty.updateAllUIs(DesktopProperty.java:102) at com.sun.java.swing.plaf.windows.DesktopProperty.access$000(DesktopProperty.java:24) at com.sun.java.swing.plaf.windows.DesktopProperty$1.run(DesktopProperty.java:210) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:598) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

The exception occurs always when:

  • the GLJPanel is shown inside JInternalFrame;
  • I invoke Windows accessory tool Magnifier (Windows XP SP2);
  • Mustang Java builds are used (I have tested the latest builds b83, b85 and b86);

After the exception is thrown the decorations of the JInternalFrame are lost. I have
tested JOGL-1.0.0-beta4 and JOGL-1.0.0-beta5 and the exception is thrown
with both versions. The exception does not occur with tha Java SE 5.

Should I provide any further information? My simple question is, where should I
report this exception.

Kind regards,
Andrei

Does the same exception occur if you use a JPanel rather than a GLJPanel? The GLJPanel knows nothing about accessibility technologies so I would assume it should.

The first thing you need is a small and self-contained test case and clear steps to reproduce the bug. Then feel free to either post on the Mustang forum or email me this information at kbr at dev.java.net. If you email me directly I’ll make sure the bug gets filed.

Hi Ken

You gave me an idea, thank you, and you are right. I can confirm that this bug is not
related with GLJPanel. I have retested my application so that the GLJPanel is not visible
and have noticed that the same exception occurs. I’ll try to write simple test case to
reproduce the error.

Kind regards,
Andrei