so question is: do we care about "certain" hardware configurations? I.e. how many users have or could have the problem?
stefan Sunburned Surveyor wrote: > The thread posted by the user has an interesting way to fix this problem: > > "We successfully implemented a full workaround by: > > - always extending JFileChooser, overriding setup(), and first thing, > disabling shell folders using the client property > "FileChooser.useShellFolder" before the first call to setUI > > - before instantiating, using reflection to replace > ShellFolder.shellFolderManager (by default Win32ShellFolderManager2) > with a generic instance of ShellFolderManager itself. > > Furthermore, we construct JFileChoosers in two attempts. The first is > without the above fix; if this fails, and the exception contains the > text "ShellFolder" (etc.), we activate the above fixes and try again. > > This means users without the problem see the proper file chooser; > users with the problem see the Java 1.3 file chooser (with drive > letters as roots) and no crashes." > > It seems this is a problem with the JRE/JDK on Windows XP with certain > hardware configurations. It looks like the bug is in the JFileChooser. > > I don't if we need to implement the above fix in all the places that > OJ uses the JFileChooser. What do you guys think? > > Here is the link to the full thread again: > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857 > > The Sunburned Surveyor > > On Fri, Jul 24, 2009 at 10:37 AM, Stefan Steiniger<sst...@geo.uzh.ch> wrote: >> seems we found a case of an unwanted dependency? >> Question: how to do mod you XP? >> >> stefan >> >> -------- Original Message -------- >> Subject: [jump-pilot - OpenJUMP Installation Problems] open jump >> exception: can start the program >> Date: Fri, 24 Jul 2009 13:25:09 +0000 >> From: SourceForge.net <nore...@sourceforge.net> >> To: nore...@sourceforge.net >> >> >> >> Read and respond to this message at: >> https://sourceforge.net/forum/message.php?msg_id=7525756 >> By: toni77 >> >> hello >> openjump (1.2F / 1.3) installation is ok but i cannot run the program: when >> I launch openjump I have this runtime exception and exit: >> >> java.lang.RuntimeException: java.io.IOException: Could not get shell folder >> ID list >> at sun.awt.shell.WtFin32ShellFolderManager2$ComInvoker.invoke(Unknown >> Source) >> ....... >> Caused by: java.io.IOException: Could not get shell folder ID list >> at sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method) >> ..... >> >> >> this happens to me when i use a modded Windows Xp but not when i install the >> program on a standard Xp. >> >> I found this thread about the problem: >> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857 >> >> few days ago has been found a workaround >> >> bye >> >> ______________________________________________________________________ >> You are receiving this email because you elected to monitor this forum. >> To stop monitoring this forum, login to SourceForge.net and visit: >> https://sourceforge.net/forum/unmonitor.php?forum_id=729478 >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel