[kepler-dev] File Menu Problem

Ngu, Anne Hee Hiong angu at txstate.edu
Mon Oct 4 18:19:38 PDT 2010


I followed the pointer given by Matt and read through what others said about the solution.

In the end, what works for me is simply a reboot of my machine. I believe there must be some issues with the registry.

Anne
________________________________________
From: mbjones.89 at gmail.com [mbjones.89 at gmail.com] On Behalf Of Matt Jones [jones at nceas.ucsb.edu]
Sent: Monday, October 04, 2010 5:37 PM
To: Christopher Brooks
Cc: Ngu, Anne Hee Hiong; kepler-dev at kepler-project.org
Subject: Re: [kepler-dev] File Menu Problem

It appears to be a JDK bug that only manifests itself on certain versions of Java on Windows and only then when the user's Documents folder has been renamed or deleted (which seems to break certain registry keys that hardcode the location of the Documents folder).    The simplest fix seems to be to recreate the missing 'Documents' folder for the user.  A more complex workaround is proposed in the next to last comment on this bug report:
  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857
Basically, it drops back to an java 1.3 FileChooser dialog if a problem is encountered trying to load the normal file chooser.

Anne -- can you confirm whether adding back in the original Documents folder fixes the problem for you (or if its even missing or renamed in your case)?  If so, then pursuing a fix like the one above may be straightforward enough.

Matt

On Mon, Oct 4, 2010 at 1:55 PM, Christopher Brooks <cxh at eecs.berkeley.edu<mailto:cxh at eecs.berkeley.edu>> wrote:
Hi Anne,
I have not seen this one before.
Try searching the net for "could not get shell folder ID list".
It looks like a somewhat mysterious bug.
There are some suggestions about trying different things with the registry.
There is also a suggestion about using some fallback code from Jython.

Can you post a complete stack trace?

Thanks,

_Christopher


On 10/4/10 2:14 PM, Ngu, Anne Hee Hiong wrote:
I checked out a new copy of Kepler off the trunk today, build it successfully. After the gui started,   I clicked on File-->   open file  it threw  the following exceptions:
    File Menu Exception
    java.io.IOException: could not get shell folder ID list

 I am running Kepler in  Window XP and compiled using JDK 1.5.

I never come across this problem in the earlier version of Kepler. Just wondering whether others have come across the same problem recently and if so, how does it get resolved?

Anne

_______________________________________________
Kepler-dev mailing list
Kepler-dev at kepler-project.org<mailto:Kepler-dev at kepler-project.org>
http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

--
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718             (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670

_______________________________________________
Kepler-dev mailing list
Kepler-dev at kepler-project.org<mailto:Kepler-dev at kepler-project.org>
http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list