Questions tagged [invalidargumentexception]
82 questions
0
votes
0 answers
InvalidArgumentException Laravel 5
I am trying to upload file to google drive using drive API. I am doing this first time so I don't know much about this.
I have set up the .env file. Here is the modifications i have made in .env…

Mutasim Fuad
- 606
- 2
- 12
- 31
0
votes
1 answer
Google Sign In Exception Error swift
I'm not getting the point where I'm making mistake while using Google SDK Login on custom button. The console is giving:
"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'You must specify |clientID| for…

MRizwan33
- 2,723
- 6
- 31
- 42
0
votes
1 answer
JSQMessagesViewController message view error
I have an app that is error-free when I run in Debug mode, but when I run it in Release mode, I get this error when the message view tries to display messages:
2016-09-14 16:17:31.305 MyApp[70800:1072070] -[_TtCs19_NSContiguousString messageHash]:…

Ryan Cocuzzo
- 3,109
- 7
- 35
- 64
0
votes
2 answers
Symfony 2 Service "app.locale_listener" must implement interface. but it is implemented
I am using Symfony2 and i wanted to add multilanguage support to my site. I have the bundle symfony/symfony. However, when i do as the documentation says for the setting of the locale variable. I get the following error. my class looks like…

gemina
- 1
- 3
0
votes
1 answer
Is there any way to define invalid enum value in a model?
I have a model as:
class CashPayment < ActiveRecord::Base
.....
**enum status: [:processing, :paid, :invalid,:refund]**
end
Here,I have declared invalid status for cash_payment.But its giving me as error like:
*** ArgumentError Exception: You…

Jaswinder
- 1,455
- 14
- 27
0
votes
0 answers
Crash reporting in app delegate error: Attempt to insert nil value (key: BreakpadMinidumpLocation)
I'm using Parse and following this short snippet of documentation. The line ParseCrashReporting.enabled() in my AppDelegate.swift file is what is throwing the compile time error:
Terminating app due to uncaught exception…

Aaron
- 6,466
- 7
- 37
- 75
0
votes
2 answers
InvalidArgumentException when taking screenshot
Every second, I capture my screen with the following code. The first 40/50 times work, after that I get an InvalidArgumentException at the first and third line of code.
Bitmap bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width,…

Maxime Room
- 5
- 1
0
votes
0 answers
objective-C date conversion generate nil
the following objective-C code 6.2 ( SDK 8.2) :
NSArray *the_datums = [[readCSV alloc] read_csv_from_url:fname] ;// is an array of date in Y-M-D H format read from a CSV file
NSMutableArray *les_dates = [[NSMutableArray alloc] init];
for…

Rva
- 1
- 1
0
votes
1 answer
Invalid argument error with NSMutableString?
I have the following statement in my program:
[operateAns replaceCharactersInRange:NSMakeRange(start, end-start) withString:[answer stringValue]];
operateAns is initialized in the following way where calc is an NSMutableString:
operateAns =…
user3672051
0
votes
1 answer
UIDocumentInteractionController nil string parameter
I am using UIDocumentInteractionController to display images, recordings, videos, etc. in this way:
NSURL *URL = [[NSBundle mainBundle] URLForResource:@"2013-08-01 13_20_44 (id)" withExtension:@"mov"];
OR
NSData* dataFile = [dict…

Alessandro
- 4,000
- 12
- 63
- 131
0
votes
1 answer
UIPicker View subclassed not working IOS
Being new to objective-C coding I started out writing a basic app, fully programmatically (not using storyboards or xib) in one file, my AppViewController h and m files.
Everything worked lovely.
So then I wanted to break up the mass of code by…

Nev_Yakamazi
- 23
- 7
0
votes
2 answers
Symfony2.0 - InvalidArgumentException
I'm having a little bit of trouble with symfony 2.3 and am hoping you can help me out.
I don't really know what i did wrong but out of the sudden I got these errors and now i can't get rid of them.
Error 1:
InvalidArgumentException: [WARNING 1549]…

Moumou
- 1,513
- 2
- 18
- 41
0
votes
1 answer
performSelector throwing invalid argument, why?
This line of code works perfectly
[self explodeBomb:obj];
but if I replace it with the following line, I get an NSInvalidArgument Exception, with the reason being an unrecognized selector.
[self performSelector:@selector(explodeBomb)…

Speckpgh
- 3,332
- 1
- 28
- 46
0
votes
0 answers
Symfony2: InvalidArgumentException with Command folder
I have a Symfony2 application. In one bundle, I have a command class inside a Command folder; then, when I try to execute:
php app/console doctrine:database:[something]
I get:
[InvalidArgumentException]
…

svprdga
- 2,171
- 1
- 28
- 51
0
votes
1 answer
SIGABRT playing movie
The following code is taken from much larger code but I believe that this is the section that is giving me trouble. when I run it I get no errors but upon pressing the hardcoded button inside 'playMovie' that is suppose to execute, 'exit movie' I…

Pkolms
- 7
- 3