ErrorType: Argument to path.join must be string - phonegap-plugins

i am working on phonegap application to send sms using third party plugin.but i am facing an exception "ErrorType: Argument to path.join must be string:360:15".
please tell me what the reason of this exception!
here is snapshot of error
Click here
before this exception i was facing missing of plugin.xml file exception. after add of plugin.xml i am facing this error now. let me help to debug this, i will be thank full of you in advance

Related

Unable to fail C# test using assert.fail method

I am creating a test in codedUI, VS2013. I am using assert.fail(failuredescripion) inside my exception class. But I am getting the below mentioned error:
An exception of type 'Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException' occurred in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll but was not handled in user code
Additional information: Assert.Fail failed.
Can anyone please suggest how to achieve this?
I want the failure to be recorded forcefully.
I found answer from this MSDN post
This error is happening because of the exception options. Need to add an exception for the assert namespace and disable both user handled and Thrown in Debug-->Exceptions

Error on project

Im getting this error running my project.
type Exception report
messageInternal Server Error
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/IFPWAFCAD"
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc/IFPWAFCAD"
Anybody had a clue why this is happening?
Thanks for the help
This error could happened for many reasons (and since you don't upload more code its pretty difficult to help you).
First Possible Reason
You are getting this error "no suitable driver" because the resource referens isn't beed added to the web.xml deployment descriptor, so add the following code.
<resource-ref>
<description>Database for IFPWAFCAD application</description>
<res-ref-name>jdbc/IFPWAFCAD</res-ref-name>
<res-type>javax.sql.data source</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
Second possible Reason
This may be tricky but check that there is not 'blankspace' on your xml files
Third possible reason
If you are deploying the current app lets call them "testApp" to a Webserver, have in mind that you should copy the mysql connector to the lib directory of that web server
Hope this Help You

Incorrect attribute value type Microsoft.Xrm.Sdk.OptionSetValue

While creating an Incident. I am facing this issue. I have created some incidents and it working fine but sometime it shows this exception "Incorrect attribute value type Microsoft.Xrm.Sdk.OptionSetValue".
How to trace which OptionSetValue throws an error.
I'm going to assume that you're creating these via a C# sdk call. I believe turning on server side tracing would tell you. The other option is if you can debug it locally, catch the exception and manually attempt to update each optionset attribute, one at a time until you find the culprit.

Terminating app due to uncaught exception

I am getting the following error when i start my app on simulator
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'RootViewController''
Please tell me how i can fix this.
you've probably renamed or removed RootViewController, and your MainWindow.xib is still looking for it.
have a look on this SO question:
NSInternalInconsistencyException on RootViewController
if you are still stuck a quick Google of "nsinternalinconsistencyexception rootviewcontroller" may shed some light

Call to a member function _kohana_load_view() on a non-object

I just hosted a kohana based application on url http://demosite007.freeiz.com/. I am getting the following error
Fatal error: Call to a member function
_kohana_load_view() on a non-object in /home/a7397954/public_html/system/framework/libraries/View.php
on line 272.
There has been no changes to this file. I had hosted the same application on other servers, it was working perfectly fine. I hope someone out there can help. thanks in advance.
The logging was enabled. So at the initialization level, the system was trying to update the log files. The logs directory did not have WRITE permission because of which the particular error was thrown.

Resources