win2k/sp2/jdk131_02

I got a stack trace when I did a "surround with" try-catch.  Here is the
code used:

    public void loadPreferences() {
        File file = new File(backingStore);
        BufferedInputStream bis = new BufferedInputStream(new
FileInputStream(file));
        Preferences.importPreferences(bis);
        bis.close();
    }

I highlighted from the beginning of the line with "File..." on it to just
after the semicolon on the "bis.close..." line.

It did properly put the try/catch in the code.  Is duplicatable 100% of the
time (before and after restart of IDEA).


-sms


Exception occurred during event dispatching:
java.awt.IllegalComponentStateException: component must be showing on the
screen to determine its location
        at
java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1242)
        at java.awt.Component.getLocationOnScreen(Component.java:1216)
        at com.intellij.ui.ci.a(ci.java:84)
        at com.intellij.ui.ci.a(ci.java:11)
        at com.intellij.ui.ci.a(ci.java:96)
        at com.intellij.ui.h.keyTyped(h.java:3)
        at
java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:180)
        at
java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:180)
        at java.awt.Component.processKeyEvent(Component.java:3674)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2014)
        at java.awt.Component.processEvent(Component.java:3553)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at
java.awt.LightweightDispatcher.processKeyEvent(Container.java:2155)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2135)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at com.intellij.ide.c.dispatchEvent(c.java:21)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:98)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)




-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to