Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8991283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:41:23+00:00 2026-06-15T22:41:23+00:00

After I upgraded my programming machine to MountainLion and XCode to the new version

  • 0

After I upgraded my programming machine to MountainLion and XCode to the new version I get this warning printed into the console everytime I run my application:

It does not make sense to draw an image when [NSGraphicsContext
currentContext] is nil. This is a programming error. Break on void
_NSWarnForDrawingImageWithNoCurrentContext() to debug. This will be logged only once. This may break in the future.

I’m not using an Image anywhere in my Application and I searched the whole project for an image but couldn’t find one. Does anybody know what could cause this?

I’m using 2 nib files btw: One Popover and the Mainwindow. Neither of them contains an image.

Edit:
I found the line when this appears:

    [self.popover showRelativeToRect:[appDelegate.menulet frame] 
                              ofView:appDelegate.menulet 
                       preferredEdge:NSMinYEdge];

But none of those object is nil. Any suggestions?

Edit 2:
The Menulet is a NSView subclass btw. So I’m passing a view.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:41:24+00:00Added an answer on June 15, 2026 at 10:41 pm

    In my case the warning resulted in rewriting my menuIcon with a rectangle (Working on a menuBar application). Haven’t solved the problem yet, but I know where it came from in my case. If you have a menubar application, check the code which generates your icon.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting this warning everytime I load my rails server after I upgraded to
This is a warning that began to appear after I upgraded my app from
I get this FormatException after i upgraded to VS 2010. Not anything really special.
I just upgraded to Rails 3.2.0 and get this error after signing up to
After i upgraded into XCodes 4.3.2 , that's giving me headache. In older version,
After I upgraded to the new FactoryGirl, I updated the syntax of the factories
I've upgraded Resharper from 5 version to 6 version. After that when I type
I just upgraded Symfony to the 2.0.12 version. And after a quick look to
This problem is showing after i upgraded my ipod OS to 4.0 . But
Please see this Fiddle After I upgraded to FF 16.0.2, the absolute position has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.