Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

NSInvalidArgumentException

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

NSInvalidArgumentException

Post by Wiggy »

When I launch Oolite 1.75, I get:

Oolite failed to start up, because an unhandled exception occurred.
An exception of type NSInvalidArgumentException occurred. If this problem persists, please file a bug report.

I empty the AddOns folder, it works. I guess I've just got to work out what it was, now!

EDIT: Realistic Shipyard 3.02b seems to break it. But the download for the oxp is broken. Does it still exist?
You came in that? You're braver than I thought!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: NSInvalidArgumentException

Post by Commander McLane »

Are you on a Mac?

I had the same problem with Cataclysm. Oolite 1.75 wouldn't start. Ahruman tracked it down to some subentities in shipdata not having a roles-key. I had removed the key, because subentities are not called by roles. But some internal routine of Oolite 1.75 didn't expect that and doesn't handle it gracefully. :(

So, if you have identified RS as the culprit, you could add an empty roles-key to all its shipdata-entries and see if the problem disappears. A lot of work, I guess...
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Re: NSInvalidArgumentException

Post by Wiggy »

Yes, I'm on a Mac.

803 entries, and 775 instances of the 'roles' key....
You came in that? You're braver than I thought!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: NSInvalidArgumentException

Post by Commander McLane »

Happy hunting and adding, then... :D
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: NSInvalidArgumentException

Post by Eric Walch »

Wiggy wrote:
Yes, I'm on a Mac.

803 entries, and 775 instances of the 'roles' key....
You could download a nighty version of Oolite. There this particular bug is solved. If that does not fix the problem, you know that there are other bugs we like to know of.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6569
Joined: Wed Feb 28, 2007 7:54 am

Re: NSInvalidArgumentException

Post by another_commander »

It has to be noted that the nightlies at this moment log more aggressively the loading and usage of scripts, so they could be helpful in trapping also the type of crash that Commander McLane has encountered in another thread.
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Re: NSInvalidArgumentException

Post by Wiggy »

Eric Walch wrote:
You could download a nighty version of Oolite. There this particular bug is solved. If that does not fix the problem, you know that there are other bugs we like to know of.
Yes, you're right. The latest nightly does indeed fix the problem. Many thanks.
You came in that? You're braver than I thought!
Post Reply