Following is the exception that is printed out on the console... but this is
a bug in JFileChooser in the JDK 1.4.0_01 and not really anything that you
can do about this.

We had this bug ourselves and found some discussion on java.sun.com about
it.  This is fixed in JDK 1.4.1 beta.
http://forum.java.sun.com/thread.jsp?forum=57&thread=220083

[  26389]  ERROR -             com.intellij.ide.r - Error during dispatching
of
java.awt.event.MouseEvent[MOUSE_RELEASED,(32,80),button=1,modifiers=Button1,
clickCount=1] on frame0
[  26389]  ERROR -             com.intellij.ide.r - IntelliJ IDEA (Ariadna)
3.0  Build #634
[  26389]  ERROR -             com.intellij.ide.r - JDK: 1.4.0_01
[  26389]  ERROR -             com.intellij.ide.r - VM: Java HotSpot(TM)
Client VM
[  26389]  ERROR -             com.intellij.ide.r - Vendor: Sun Microsystems
Inc.
[  26389]  ERROR -             com.intellij.ide.r - OS: Windows 2000
[  26419]  ERROR -             com.intellij.ide.r -
java.lang.NullPointerException
        at
sun.awt.shell.Win32ShellFolder.getChildByPath(Win32ShellFolder.java:570)
        at
sun.awt.shell.Win32ShellFolderManager.getPersonal(Win32ShellFolderManager.ja
va:92)
        at
sun.awt.shell.Win32ShellFolder.listFiles(Win32ShellFolder.java:484)
        at
sun.awt.shell.Win32ShellFolderManager.get(Win32ShellFolderManager.java:152)
        at sun.awt.shell.ShellFolder.get(ShellFolder.java:208)
        at
javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooser
UI.java:310)
        at
javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:
130)
        at
javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:
152)
        at javax.swing.JComponent.setUI(JComponent.java:445)
        at javax.swing.JFileChooser.updateUI(JFileChooser.java:1701)
        at javax.swing.JFileChooser.setup(JFileChooser.java:345)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:329)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:288)
        at com.intellij.ui.dt.<init>(dt.java:15)
        at com.intellij.ide.i.dh.actionPerformed(dh.java:7)
        at com.intellij.openapi.actionSystem.b.j.actionPerformed(j.java:1)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
        at
com.intellij.openapi.actionSystem.b.z.fireActionPerformed(z.java:53)
        at com.intellij.ui.a.a.n.doClick(n.java:41)
        at com.intellij.ui.a.a.n.access$300(n.java:108)
        at com.intellij.ui.a.a.o.mouseReleased(o.java:2)
        at java.awt.Component.processMouseEvent(Component.java:5021)
        at java.awt.Component.processEvent(Component.java:4818)
        at java.awt.Container.processEvent(Container.java:1525)
        at java.awt.Component.dispatchEventImpl(Component.java:3526)
        at java.awt.Container.dispatchEventImpl(Container.java:1582)
        at java.awt.Component.dispatchEvent(Component.java:3367)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
        at java.awt.Container.dispatchEventImpl(Container.java:1568)
        at java.awt.Window.dispatchEventImpl(Window.java:1581)
        at java.awt.Component.dispatchEvent(Component.java:3367)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
        at com.intellij.ide.r.a(r.java:18)
        at com.intellij.ide.r.dispatchEvent(r.java:12)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
"Vladimir Kondratyev" <[EMAIL PROTECTED]> wrote in message
agm8rg$k5f$[EMAIL PROTECTED]">news:agm8rg$k5f$[EMAIL PROTECTED]...
> Hello Stefan,
>
> could you please send us an exception from JFileChooser. It might help
> a lot to find the problem.
>
> Best regards,
>    Vladimir Kondratyev
> _____________________
> JetBrains
>
>
> Stefan Freyr Stefansson wrote:
> > Hello.
> >
> > I just wanted to point out the fact that there is a bug in JFileChooser
in
> > JDK 1.4.0_01 when on Windows 2000 (it's not always reproducable... it
has
> > something to do with network connections or something).  The bug is that
> > JFileChooser throws a NullPointerException and doesn't come up at all.
> >
> > This, on the other hand, means that machines on which this bug can be
> > reproduced cannot run build 634 because it requires you to use JDK
1.4.0_01
> > :o(.  I know that there is not much that can be done since JDK 1.4.1
beta
> > crashes on startup of IntelliJ but I just wanted to let you know of this
bug
> > so that you'll try not to constrain future builds on using that
particular
> > instance of JDK (1.4.0_01).
> >
> > Kind regards,
> >     Stefan Freyr.
> >
> >
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to