Menu

#134 problems with WinXP

closed-out-of-date
nobody
3
2014-11-18
2009-08-02
mentaer
No

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

Discussion

  • mentaer

    mentaer - 2009-08-02

    thats the first report about this. let's wait if there are more people with this problem, before fixing it.

     
  • Nobody/Anonymous

    Here is some additional information I want to add to this bug. It looks like the bug may result when using JFileChooser on some hardware configurations:

    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

     
  • michael michaud

    michael michaud - 2010-06-22

    Supposed to be fixed in java 6u18(b04) (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857), so that there is very little chance that a workaround be implemented in OpenJUMP

     
  • mentaer

    mentaer - 2010-06-22
    • status: open --> open-remind
     
  • Jukka Rahkonen

    Jukka Rahkonen - 2012-09-05

    Two years since it was supposed to be fixed in Java. Time for closing the bug now?

     
  • mentaer

    mentaer - 2012-09-05

    I close it as it seems outdated now

     
  • mentaer

    mentaer - 2012-09-05
    • status: open-remind --> closed-out-of-date
     

Log in to post a comment.