• 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: "Theodore H. Smith" <email@hidden>
  • Date: Wed, 25 May 2005 21:45:34 +0100

Xcode 1.5. gcc 3.3

By the way, I should have made clear (instead of implying) that despite that I got an NSException, an that trapping for [NSException raise] normally works, this exception was not trapped, and that's why I had no idea at which line this occurs.

On 25 May 2005, at 19:17, Chris Friesen wrote:

Which version of Xcode are you running?

-Chris

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="const 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",typecode="INT",dynamic_type="",in_scope="true",block_start _addr="no block",block_end_addr="no block"},varobj={exp="_ZTS10CStdioFile",value="[13]",name="var8",numchi ld="13",type="const 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





--
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


References: 
 >NSInvalidArgumentException again (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Best way to process each existing localization of strings file?
  • Next by Date: Re: Best way to process each existing localization of strings file?
  • Previous by thread: Re: NSInvalidArgumentException again
  • Next by thread: Does "LSEnvironment" work
  • Index(es):
    • Date
    • Thread