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: Drag and Drop exception



Many thanks.  That's all I needed to know.  :)

On Aug 30, 2005, at 10:47 AM, Hsu wrote:

This is a known bug in Java 1.4.2 update 2 for 10.3.x; I don't know of any workarounds at this time. Sorry. (This should be fixed in 10.4, though).

Karl

On Aug 30, 2005, at 9:50 AM, Jeremy Wood wrote:

About 1 in 15 times I'll see the following output in my console when I perform a drag and drop:

Exception in thread "AWT-AppKit" java.lang.NullPointerException
at apple.awt.CDropTargetContextPeer.flushEvents(CDropTargetContextPeer.ja va:51)
JavaAWT: Assertion failure: Java exception thrown
JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 40
JavaAWT: Assertion failure: _javaException
JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 48
2005-08-30 09:37:10.357 java[391] *** NSTimer discarding exception 'AwtException' (reason 'See Java exception object') that raised during firing of timer with target 31953a40 and selector 'tickFlusher'


Is this a common problem? Am I causing this? This output points to line numbers in Apple's code, so I have no idea how to approach this.
I would assume if this is an exception that came from our code that Apple would be so kind as to print the stack trace?


This is an annoying problem because in our program we notice all uncaught exceptions, and we present an error dialog for them. Now we can add this to a list of exceptions we flat out ignore (that is, we stop an error dialog from popping up)... but I thought before I did that I'd ask around and see if anyone knows what it means...

We don't see this on Windows machines. But there are no clear-cut steps to reproduce even on Mac.

Any insights?
 - Jeremy

_______________________________________________
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

--

I know the road, I know where it goes; that's why I'm going so slow...

Homepage:
     http://homepage.mac.com/khsu/index.html


_______________________________________________ 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: 
 >Drag and Drop exception (From: Jeremy Wood <email@hidden>)
 >Re: Drag and Drop exception (From: Hsu <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.