Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > File Open dialog bug in 1.6.0_03

Reply
Thread Tools

File Open dialog bug in 1.6.0_03

 
 
nemonow
Guest
Posts: n/a
 
      10-29-2007
I am using 1.6.0_03 under Win2K SP4 for a couple of apps and in both
cases I see a problem with the File Open dialog box. When put in
"details" mode the columns include "modified" which should be the file
date. But instead I see the file type. There is also no way to add
columns to this dialog. In a windows generated File Open dialog, I
can add or remove columns. So I have no way to sort the files in this
dialog by date.

Is this a known bug? Is it specific to Win2K or does it appear on all
Windows versions?

Is there a fix or work around for the application developer?

 
Reply With Quote
 
 
 
 
Zig
Guest
Posts: n/a
 
      10-29-2007
On Mon, 29 Oct 2007 18:02:26 -0400, nemonow <(E-Mail Removed)> wrote:

> I am using 1.6.0_03 under Win2K SP4 for a couple of apps and in both
> cases I see a problem with the File Open dialog box. When put in
> "details" mode the columns include "modified" which should be the file
> date. But instead I see the file type. There is also no way to add
> columns to this dialog. In a windows generated File Open dialog, I
> can add or remove columns. So I have no way to sort the files in this
> dialog by date.
>
> Is this a known bug? Is it specific to Win2K or does it appear on all
> Windows versions?
>
> Is there a fix or work around for the application developer?
>


Are you using FileDialog, or JFileChooser? If you are using one, have you
tried the other?

How many Win2k installs have you seen this behavior on? Have you tried
other VMs? (1.6.0_02, or 1.5.0_12)?

It probably wouldn't hurt to post a SSCE...
 
Reply With Quote
 
 
 
 
nemonow
Guest
Posts: n/a
 
      10-29-2007
On Oct 29, 6:16 pm, Zig <(E-Mail Removed)> wrote:
> On Mon, 29 Oct 2007 18:02:26 -0400, nemonow <(E-Mail Removed)> wrote:
> > I am using 1.6.0_03 under Win2K SP4 for a couple of apps and in both
> > cases I see a problem with the File Open dialog box. When put in
> > "details" mode the columns include "modified" which should be the file
> > date. But instead I see the file type. There is also no way to add
> > columns to this dialog. In a windows generated File Open dialog, I
> > can add or remove columns. So I have no way to sort the files in this
> > dialog by date.

>
> > Is this a known bug? Is it specific to Win2K or does it appear on all
> > Windows versions?

>
> > Is there a fix or work around for the application developer?

>
> Are you using FileDialog, or JFileChooser? If you are using one, have you
> tried the other?
>
> How many Win2k installs have you seen this behavior on? Have you tried
> other VMs? (1.6.0_02, or 1.5.0_12)?
>
> It probably wouldn't hurt to post a SSCE...


I am not the developer. I am a user at openstreetmap.org. I don't
have any other platforms to test this on and I don't know enough about
java to try the code change you suggested. The developer knows about
it, so I assume I am not the only one seeing it. For whatever reason
(likely the linux vs. MS thing) the developer doesn't see this as an
issue worthy of his time. I can understand that, but it is a bother
to me and it does seem to affect multiple apps (JOSM and cotoGPS). I
just thought it might be a known bug that will be fixed soon or that a
known workaround exists.

I'll pass your suggestion on to him to see if he will try it.

As to the SSCE, I assume that is a bug report. I don't have a clue
about where to begin with that. I'll be happy to do it if you tell me
where and how.

Thanks...

 
Reply With Quote
 
Ramon F Herrera
Guest
Posts: n/a
 
      10-30-2007
On Oct 29, 6:02 pm, nemonow <(E-Mail Removed)> wrote:
>
> Is this a known bug? Is it specific to Win2K or does it appear on all
> Windows versions?


It must be well known by now. I have reported it about a dozen times
(with dump data from different computers and applications). The bug is
present in Win2K and WinXP, at least.

>
> Is there a fix or workaround for the application developer?


The only workaround is to downgrade to Java 1.5.

-Ramon



 
Reply With Quote
 
Ramon F Herrera
Guest
Posts: n/a
 
      10-30-2007
On Oct 29, 6:02 pm, nemonow <(E-Mail Removed)> wrote:
> I am using 1.6.0_03 under Win2K SP4 for a couple of apps and in both
> cases I see a problem with the File Open dialog box. When put in
> "details" mode the columns include "modified" which should be the file
> date. But instead I see the file type. There is also no way to add
> columns to this dialog. In a windows generated File Open dialog, I
> can add or remove columns. So I have no way to sort the files in this
> dialog by date.
>
> Is this a known bug? Is it specific to Win2K or does it appear on all
> Windows versions?
>
> Is there a fix or work around for the application developer?


Zig:

I found the posting below in the developer forums:

http://forum.java.sun.com

It seems to match your description perfectly. The only difference is
that you are running Win2K and the poster is running WinXP (no real
difference, really).

One can help but wonder whether Microsoft is playing dirty tricks
again...

-Ramon

-------------

Hi,

Has anyone else experienced this? I installed JDK6u3, and soon
thereafter, the file dialogs that various Java-based applications use
stopped working. This occurred with my own software, another program I
use, and a third program completely failed to load. If file dialogs
weren't being used, the programs worked fine.

The problem was fixed once I bit the bullet and downgraded to JDK
5u13.

Anyone else have this problem? I can't find any information on it...
I'm using Windows XP Pro, and also experienced this on two different
computers.

Thanks,
Wojciech


 
Reply With Quote
 
Ramon F Herrera
Guest
Posts: n/a
 
      10-30-2007
On Oct 29, 6:02 pm, nemonow <(E-Mail Removed)> wrote:
> I am using 1.6.0_03 under Win2K SP4 for a couple of apps and in both
> cases I see a problem with the File Open dialog box. When put in
> "details" mode the columns include "modified" which should be the file
> date. But instead I see the file type. There is also no way to add
> columns to this dialog. In a windows generated File Open dialog, I
> can add or remove columns. So I have no way to sort the files in this
> dialog by date.
>
> Is this a known bug? Is it specific to Win2K or does it appear on all
> Windows versions?
>
> Is there a fix or work around for the application developer?


nemonow:

I am so glad to find another fellow sufferer, or perhaps we should
call ourselves "victims of a bug" and start a support group.

Java 1.6 indeed crashes a lot. I have narrowed it down to the file
chooser dialog, and I am pretty sure the problem is related to Swing.
The problem is present in my two computers. A rather poor solution is
to downgrade to Java 1.5.

After "the various Java-based applications stop working" (actually
crashing) look for a file that looks like hs_errr_pid<xxx>.txt (the
'xxx' is the process ID number) and you may want to report it to
http://java.sun.com/webapps/bugreport/crash.jsp. That file can be
found in:

C:\Program Files\Java\jre1.6.0_03\bin
C:\Program Files\netbeans-5.5.1


Below are some of the occurrences, which I have reported to the
developers.

- The affected programs are both written by myself and from other
sources (Sun, for instance).

- There is a JavaThread "Swing-Shell" daemon and a
~RuntimeStub::resolve_opt_virtual_call involved.

- One of the applications that fails is the NetBeans 6beta2 installer,
as soon as I click on "Next"

- Another sure way to reproduce the problem is:
Start | Settings | Control Panel | Java Control Panel | Java | Java
Application Runtime Settings | View | Find | Next
(boom!)

-Ramon


 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      10-30-2007
Zig wrote:
> How many Win2k installs have you seen this behavior on? Have you tried
> other VMs? (1.6.0_02, or 1.5.0_12)?


Those VMs have a major security hole. 6u3 and 1.5.0_13 are the releases that
patched that hole.

--
Lew
 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      10-30-2007
Zig wrote:
>> It probably wouldn't hurt to post a SSCE [sic] ...


You should spell it right if you're introducing people to new concepts, else
they can't google it as effectively.

nemonow wrote:
> As to the SSCE, I assume that is a bug report.


If it hadn't been for the typo, you might have found
<http://www.physci.org/codes/sscce.html>

Don't assume. GIYF.

--
Lew
 
Reply With Quote
 
nemonow
Guest
Posts: n/a
 
      10-30-2007
On Oct 29, 9:02 pm, Ramon F Herrera <(E-Mail Removed)> wrote:
> On Oct 29, 6:02 pm, nemonow <(E-Mail Removed)> wrote:
>
>
>
> > Is this a known bug? Is it specific to Win2K or does it appear on all
> > Windows versions?

>
> It must be well known by now. I have reported it about a dozen times
> (with dump data from different computers and applications). The bug is
> present in Win2K and WinXP, at least.
>
>
>
> > Is there a fix or workaround for the application developer?

>
> The only workaround is to downgrade to Java 1.5.


Thanks for the info. So you are saying that this is a *new* problem
that started with 1.6? The whole version thing confuses me. There is
this version which I assume applies to the interface of the app to the
java run time? The java I downloaded from Sun is 6.3, which I assume
applies to the run time code itself?

The bug mentioned in the forum seems to be different since I don't see
a crash. I just see improper action in the file>open dialog box.



 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      10-30-2007
nemonow wrote:
> The java [sic] I downloaded from Sun is 6.3, which I assume
> applies to the run time code itself?


No, you did not download Java 6.3, because there is no such version. What you
downloaded is Java 6, update 3, sometimes called 1.6.0_03.
<http://java.sun.com/javase/6/webnotes/version-6.html>

The version identifies the version of the compiler that generates the
bytecode, the version of the class file that holds the bytecode, and the
version of the JVM that runs the bytecode. I'm not clear on what you mean by
"the run time [sic] code itself".

--
Lew
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open file dialog in Ruby, and get open FileName? :-( iMelody Ooo Ruby 5 10-21-2010 04:02 PM
On Clicking on Open button in asp download dialog it open two copy ofexcell file?? chandan ASP .Net Web Controls 0 11-17-2008 08:46 AM
On Clicking on Open button in asp download dialog it open two copy ofexcell file?? chandan ASP .Net 0 11-17-2008 08:44 AM
how to use io operations with open/save file dialog box in file menu for simple notepad boris Java 1 07-22-2007 04:13 PM
Force Open .OFT file in Outlook do not show File Download Dialog Kele ASP .Net 0 07-14-2005 06:27 AM



Advertisments