Mailing Lists: Apple Mailing Lists

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

Exception at WinNativeHelper under Windows



After looking for programers having the same problem in the archives of this
mailing list, I found no solution had been given here (am I wrong ?).

So if you have this Exception (only with Windows (2000 and 98 at least), Mac
users you are not concerned...):

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x66A0CF42
(...)

Current Java thread:
at quicktime.WinNativeHelper.freeDrawingSurface(Native Method)
at quicktime.WinJNIDrawingSurface.finalize(WinJNIDrawingSurface.java:47)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

Here is how I fixed the trouble:
it seems that it occurs if your program execute QTsession.open() from within a
JFrame's constructor (there could be a link with Swing) if your main class
extends JFrame for example...
If you want to avoid this, you must execute QTsession.open() from another
method (I personnaly use an event method to do so, and it actually works !).
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



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.