http://bugs.winehq.org/show_bug.cgi?id=6694
Summary: Java App Problems with Filechooser Product: Wine Version: 0.9.25. Platform: PC OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: m_clauss@web.de
It seems there is a Bug with Java Apps. Testet with wine from 0.9.16 to 0.9.25.
I tried to use a small Java app. In the app is a Button which calls a File Chooser. If i click the button, nothing happens. Wine/Java write the following Output:
fixme:shell:DllGetClassObject failed for CLSID= {208d2c60-3aea-1069-a2d7-08002b30309d} (My Network Places) err:shell:SHCoCreateInstance LoadFromShell failed for CLSID= {208d2c60-3aea-1069-a2d7-08002b30309d} (My Network Places) Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Could not bind shell folder to interface at sun.awt.shell.Win32ShellFolder2.initSpecial(Native Method) at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.getNetwork(Unknown Source) at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source) at sun.awt.shell.Win32ShellFolder2.getChildByPath(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.getPersonal(Unknown Source) at sun.awt.shell.Win32ShellFolder2.listFiles(Unknown Source) at sun.awt.shell.ShellFolder.listFiles(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source) at sun.awt.shell.ShellFolder.get(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source) at javax.swing.JComponent.setUI(Unknown Source) at javax.swing.JFileChooser.updateUI(Unknown Source) at javax.swing.JFileChooser.setup(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at CI.actionPerformed(LWSN) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
According to Suns Bug Database this error occurs with Java on WinNT. Link for Suns Bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4879395
Wine is set to Win2k, also tried the others (Win9x fails with Java at all...)
The Java app works perfectly with same the setup on Crossover 6.0 beta2.
Must be a error in wine itself, not a missing registry entry i think, because i tried the registry created by crossover with wine, and it still fails.