<Error>: CGContextGetCTM messages

Sara Burke Sara.Burke at mathworks.com
Tue Jun 26 10:40:58 PDT 2012


Hi all,

I am new on this list, so I do apologize for any format issues.

I came across a post to this mailing list of which I am having the same issue so I was wondering if anyone has heard of any root causes and/or workarounds:
http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-June/004407.html

More details:

My application emits the following messages; for easier reading, MY_APP replaces the actual application name:

Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextGetCTM: invalid context 0x0
Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextSetBaseCTM: invalid context 0x0
Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextGetCTM: invalid context 0x0
Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextSetBaseCTM: invalid context 0x0

Same messages with my sample Java application.

This did not happen in Mac OS X versions prior to 10.7.4. I confirmed that this still occurs in the latest developer preview of Mountain Lion and the latest Java SE 7, including OpenJDK 7.
Regardless of whether or not this is a Java-related issue, the fact that these messages suddenly appeared with 10.7.4 insinuates that there is an OS bug somewhere or perhaps someone left in some debugging print statements.
Posting this topic here to see if anyone else has come across this issue and/or knows of a workaround.

Thanks,
Sara



-----------------------------------------------------------------
 Sara M. Burke
 Ext. 7476



More information about the macosx-port-dev mailing list