Error while calling Discovery service in conversation-with-discoveryapplication - ibm-watson

I have used https://github.com/watson-developer-cloud/conversation-with-discovery code and deployed application in Bluemix, when I am testing the application conversation is working but discovery service is not working .
I have added OUT_OF_Scope intent with call_discovery action.
I am getting server is busy error when we give out scope question in chatbot.
below is the the log error , please help me to resolve this error.
Exception thrown by application class 'com.ibm.watson.apis.conversation_with_discovery.rest.ProxyResource.postMessage:192'
java.lang.NullPointerException
at com.ibm.watson.apis.conversation_with_discovery.rest.ProxyResource.pos

When I used the conversation-with-discovery I had the same problem, but I see within the Github the solution for this: Switch to the liberty-for-java_v3_7-20170118-2046 buildpack that doesn't have problems with the Java SDK.
Reference: IBM Developer

Related

Java IOException during API request to Stripe (APIConnectionException)

The specific action we are trying to performe is to create a charge request with Stripe:
Charge charge = Charge.create(params);
Using Stripe's Java implementation (version 5.35.1) we encounter a APIConnectionException when running the application on the deployed App Engine server. Interestingly, the issue does not occur using App Engine's local dev server.
We contacted Stripe and they said everything is fine on their side. They explained that "this error indicates that your server is not able to contact our API and that it ends up timing out waiting for an answer. Usually, this is due to something misconfigured on your server such as a DNS not redirecting to Stripe properly."
We were wondering if there are some configuration settings on App Engine which cause the problem. However, since there is no specific error message we cound not figure out what might cause the connection problem.
Similar problems which did not provide enough help to resolve this issue: https://issuetracker.google.com/35901039
Thanks for your help!
The problem seems to have solved itself. It occured for a couple of days and since a few hours the exact same code is working fine. Just like in https://issuetracker.google.com/issues/35901039 the problem is suddenly gone for some reason.

How to figure out error in Oracle ADF Mobile application

As I have tried with sample application project from Oracle ADF-Mobile tutorial http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_2.html
but I facing with some error pop-up that show within application
How to debug or trace an error that default pop-up ? since I think that maybe error with Web Service Calling.
Debug your application.
See: http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/debugging.htm
Or check your system.log but I don't recommend that because you only get very limited information.

Server Error in appspot.com application

Running my application on local with dev_appserver for finding event list from Google calendar and it works fine.
when I deployed through app-engine (deployment done successful) and when I run the file it gives me below error
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
Google lot about this error still unable to find solution for the same
my app.yaml file structure.
- url: /calendar
script: webserverflow12.py
When I run this appspot.com/calendar. It is giving me mentioned error.
Any idea what changes need to do to run my application on live?
I feel that you didn't changed your client id and client secret which u registered for appspot.com domain when deploying to appengine server. So you are getting this error.
Check your application logs from your GAE admin page.
Hopefully you'll find some info there to help debug.

Unable to synchronize resource src to server:ClassCastException

I am following this tutorial for setting google toolkit for salesforce org when I reach
Synchronizing with your Force.com Developer Edition org
and i synchronize it with my developer org suddenly a dialog error occurred with info:
Unable to synchronize resource src to server:ClassCastException:com.salesforce.ide.api.metadata.types.MetaData$JaxbAccessorF_full_Name can not be cast to com.sun.xml.Internal.bind.v2.runtime.reflect.Accessor
Reason:
com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_full_Name cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor
How to resolve this error any one g0t through this error then please help to resolve it
Instead of using jdk7 install java runtime enviorment6 and error is resolved.
Running the Force.com IDE as Administrator can also work.

Google app engine down: Server Error

I built a system running on: http://www.hijgoo.com.tw and all the sudden, there was the following message and it did persist. I am using GAE SDK 1.7.2 with Python 2.7. Can anyone help?
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
Looks like you have a session that does not contain the key account, but your code assumes that it does.
The reason for this isn't easy to see without the actual code, but it sounds like a programming error.

Resources