• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSInvalidArgumentException?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvalidArgumentException?


  • Subject: Re: NSInvalidArgumentException?
  • From: Jim Ingham <email@hidden>
  • Date: Tue, 24 May 2005 13:16:57 -0700

It looks like the message is coming from Xcode. The contents of the "parse buffer" is gdb telling Xcode about the static variables in some file (presumably the one that you stopped in.) We can get a little more context if you dump the Xcode/gdb log, and send it to us. Instructions to do this are:

1) Quit Xcode.
2) In Terminal, say:

$ defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
$ defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/ IncludeInBug.log


3) Restart Xcode, and do whatever you need to to make it fail.
4) Attach /tmp/IncludeInBug.log to the Radar.

Maybe there will be more clues in the complete log.

Jim

On May 24, 2005, at 11:49 AM, Theodore H. Smith wrote:


I'm getting this error in the gdb console. I have no idea what it means.


I don't actually use addObject anywhere in my project, that's the oddest thing. And also, this doesn't tell me on which line the error occurs.

To me, it sounds like an internal error to Xcode. But I could be wrong. I'd rather it was Xcode being unable to handle an error in my code, as that way I'd be able to fix it instantly instead of waiting months for Apple to fix Xcode.

Like I said, I have no idea what this means. It says CStdioFile, which is a class that I defined, which is subclassed off of CFile, which is an abstract class I defined. Apart from recognising one name in this text, I understand nothing.

Well that's it for today, my progress coding has been stopped by Xcode, and I cannot continue using Xcode for any development for my company until this problem is resolved.

Exception name: NSInvalidArgumentException, reason:*** -[NSCFArray addObject:]: attempt to insert nil
Parser (0x4b7f350)
parse buffer:
'9544^done,statics=[varobj= {exp="_ZTI10CStdioFile",value="{...}",name="var8",numchild="0",type="c onst struct __si_class_type_info_pseudo",typecode="STRUCT",dynamic_type="",in_scop e="true",block_start_addr="no block",block_end_addr="no block"},varobj= {exp="_ZTS10CStdioFile",value="[13]",name="var9",numchild="13",type="c onst char [13]",typecode="ARRAY",dynamic_type="",in_scope="true",block_start_add r="no block",block_end_addr="no block"},varobj= {exp="metadataindex",value="0",name="var10",numchild="0",type="int",ty pecode="INT",dynamic_type="",in_scope="true",block_start_addr="no block",block_end_addr="no block"}]


--
elfdata.com/plugin/ Industrial strength string processing, made easy.

"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSInvalidArgumentException? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: NSInvalidArgumentException?
  • Next by Date: Re: Data Formatters - XCode 2.0
  • Previous by thread: Re: NSInvalidArgumentException?
  • Next by thread: Reload Text Macros / Rebuild Menu
  • Index(es):
    • Date
    • Thread