Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendRequestXMLfailed without any jobs #3

Closed
ashwaniare opened this issue Sep 22, 2015 · 1 comment
Closed

SendRequestXMLfailed without any jobs #3

ashwaniare opened this issue Sep 22, 2015 · 1 comment
Assignees
Labels

Comments

@ashwaniare
Copy link

I am facing a similar issue as this one :
qbwc/qbwc#18

Facing the same exception:

Error message: Object reference not set to an instance of an object.
More info:
StackTrace =    at QBWebConnector.Logger.log(String method, String logText)
   at QBWebConnector.WebService.log(String method, String logText)
   at QBWebConnector.WebService.do_sendRequestXML(Int32 x, String wcTicket, String HCPResponseXML, String cfn, String qbNationality, Int32 qbXMLMajorVers, Int32 qbXMLMinorVers, Boolean& timeout)
Source = QBWCCommon

Whenever respond back with a 'NoOp' in order to support the async call, I get this SendRequestXML failed error. But if there are any jobs present it works just fine. The thread mentioned above talks about a solution too which I am not able to understand properly.
Any Ideas?

@johnballantyne johnballantyne self-assigned this Sep 22, 2015
@johnballantyne
Copy link
Owner

This is due to a bug in qbws. I blame Intuit for their poor implementation in the SDK example 😅

authenticate() should check how many jobs are available and return 'none' if there are 0. More explanation is available here.

Thanks for catching this, I will push a code fix for this tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants