• 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 again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvalidArgumentException again


  • Subject: Re: NSInvalidArgumentException again
  • From: Jim Ingham <email@hidden>
  • Date: Wed, 25 May 2005 08:58:51 -0700

This is definitely coming from Xcode. The next piece of information we need to follow up on this is the Xcode-gdb log. Can you file a bug with http://bugreporter.apple.com, and include the log, which you get by:

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 25, 2005, at 8:22 AM, Theodore H. Smith wrote:

OK, so I took "j o a r"'s advice on setting the breakpoint in [NSException raise];

Which works, because when I do something wrong, I get a breakpoint trapped.

However, I'm still getting this NSInvalidArgumentException dumped into gdb's console, and I don't even call "addObject" anywhere within my project! The string "addObject" simply does not exist anywhere within my source files.

So to me, this seems like an internal error to Xcode.

It doesn't help that I don't get any idea about what line this happens on.

What can I do to make this bug go away?




parse buffer lengeth = 623
current char index = 615
Exception name: NSInvalidArgumentException, reason:*** -[NSCFArray addObject:]: attempt to insert nil
Parser (0x4c59610)
parse buffer:
'1337^done,statics=[varobj= {exp="_ZTI10CStdioFile",value="{...}",name="var6",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="metadataindex",value="0",name="var7",numchild="0",type="int",typ ecode="INT",dynamic_type="",in_scope="true",block_start_addr="no block",block_end_addr="no block"},varobj= {exp="_ZTS10CStdioFile",value="[13]",name="var8",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"}]
(gdb)
'
parse buffer lengeth = 623
current char index = 615



PS: (Strange, I just noticed that it says "lengeth", not "length", that is really odd, the original gdb console output actually is spelt wrong!)



-- 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 again (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Subversion (Partly Solved)
  • Next by Date: Re: Link oracle proc program in xcode - GOT it :-)
  • Previous by thread: NSInvalidArgumentException again
  • Next by thread: Re: NSInvalidArgumentException again
  • Index(es):
    • Date
    • Thread