Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Annoying Exception



On Dec 6, 2006, at 10:20 AM, Joshua Smith wrote:

Does anybody know how I can avoid or suppress these?

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid message sent to event "NSEvent: type=FlagsChanged loc=(0,638) time=14476.2 flags=0x100 win=0 winNum=3245 ctxt=0x17a0b keyCode=55")
at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:261)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent (DefaultKeyboardFocusManager.java:703)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent (DefaultKeyboardFocusManager.java:920)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions (DefaultKeyboardFocusManager.java:798)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3907)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


It seems to have no effect, but it fills up my application logs.

Could you please file a bug with http://bugreporter.apple.com with this. It would also be very helpful if you could also provide more information by attaching to your process with gdb, and do the following to obtain the native side of this backtrace:


> gdb
attach <pid-of-your-java-app>
b -[NSException raise]
c
<wait for breakpoint to get hit>
bt

This trace is indicative of an error occurring in the native implementation of Java, but not a substantial enough problem to warrant crashing. Any additional information you can provide about this problem (additional backtraces, a sample application that generates these failures, etc) will help us diagnose this quicker.

Thanks,
Mike Swingler
Java Frameworks Engineer
Apple Computer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Annoying Exception (From: Joshua Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.