White Line in Console Application - windows

I am creating an console application which take response from server and update information and send back response to server.
During running that exe it shows white line on console.
I stuck to find the solution.
Please refer image for clearity.
Console Application contains WhitLine

Related

Using IBM Connections 5.5 - Unable to display Widgets in Community Detail Page and My Page

We are using IBM Connections 5.5. SSO has been done with IBM TAM environment.
Until some time back the application was working fine. However, now after creating a community, system is unable to load Widget details. Only the heading is shown with an option to Move Up / Down etc.
Bookmarks work fine as expected. No other widget like Status Updates, Forums, Members are shown
'My Page' is also unable to load any of the widget.
Upon doing F12 and viewing browser console it says:
Unable to Load data and Malformed json returned by processWidget call.
System.out log says:
Failed to generate process widget json. Unexpected character < on line1, column 1

Google Sheets API Java program, works on one machine and not the other - 401 Au

I've got a working basic Java App that uploads some data to a google sheets file of mine.
I uploaded it to a git client, pulled it to my other computer, and it doesn't work on that with a 401
Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized
at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105)
at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:287)
at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
at com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
at com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
at com.google.api.client.auth.oauth2.Credential.intercept(Credential.java:217)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:868)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
at App.main(App.java:71)
Any idea what could be different between the two machines? I understand it that if I'm using the same client_secret.json, it should be irrelevant which machine I'm on?
UDPATE 1:
ok, some extra info - i just tried my project at work on my work laptop and it worked fine! On first run it opened a browser window and asked me which google account I wanted to use, I chose the correct one, and that worked. On the laptop I have that didn't work, I wasn't given that option (that I remember) so how can I reset the google account that has been used to authenticate against?
I saw this in my cmd line
Please open the following address in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=blah-notputtingmyrealid.apps.googleusercontent.com&redirect_uri=http://localhost:42299/Callback&response_type=code&scope=https://www.googleapis.com/auth/spreadsheets
Attempting to open that address in the default browser now...
Since it's working on your previous computer, the issue might be concerning the location of your client_secret.json. If you check the Java Quickstart setup, there's a part where you need to download the JSON file and place it on your working directory. Since, you're on a new machine, that file is now missing.
g. Click the file_download (Download JSON) button to the right of the
client ID.
h. Move this file to your working directory and rename it
client_secret.json.
Or the access token has expired.

LUIS web interface crashed after import JSON file for Batch Testing or Import App

When using LUIS web interface I encountered bugs below:
1. Page freeze after adding intents or entities: Start working after restart a new browser tab or few hours of waiting .
2. Can't publish app after Training: All buttons on 'Publish' page turn gray and can't be pressed.Start working after restart a new browser tab or few hours of waiting.
enter image description here
3. Can't upload file for Batch Testing: Uploading First test file of each app works fine, but uploading second file will cuz page freeze.
4. Entities in Batch Testing result were replaced with tokens: Can't recognized original utterances.
5. Import App with Same JSON file will generate Different app: I send same utterance to two different app which were all made of same JSON file, but got different result.
Thank you for reading my questions.
I sent those questions to Support message box but didn't get any reply so here is my last hope...

sending PKPAss to Safari with PHP

All,
I am following a tutorial to get PHP to deliver a pass. I have been using the console to check the logs in XCODE. I have also checked and there is no PHP errors on the local server.
When I browse to the page which should download the pass, I get this on my safari screen on my iPhone.
So it is downloading from the local server, but I cannot see the pass, just the binary code.. Is there anything on iPhone 6/ iOS 8 that I should be checking ?
thanks
Your web server is not correctly set up to serve the file with a MIME type that identifies the .pkpass file as a Passbook pass. More so, your server appears to be using a text or html MIME type that instructs the browser to read the file as text.
See my answer to this question for how to properly configure your server.

Blank screen when requesting Spring Insight at http://localhost:8080/insight

I get a blank screen when opening the page ...host:8080/insight to view the report from Spring Insight on my web app deployed on vfabric-tc-server-developer-2.9.3.RELEASE
It happens if I start the server from within STS 3.5.0.RELEASE or outside and manually from the command line on my Linux box.
Any clue ?
Kind Regards,
Stephane Eybert

Resources