Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
CGContextGetPixelAccess returns NULL in syncToJavaPixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGContextGetPixelAccess returns NULL in syncToJavaPixels



Hi,

I have a Java application which does lots of image processing and on OS X I get literally thousands of messages of the form:

ERROR: CGContextGetPixelAccess returns NULL in syncToJavaPixels!

output on the console. It's hard to find out exactly what triggers this, but one thing that often does is calling drawImage in a JComponent's paintComponent method with a custom Composite, although other things do as well. Does anyone have any ideas as to how to stop this happening?

Thanks,

Jerry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.