Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
Using window.open to download a file. The request is hit to another application, once the file processing is completed on the application, retrieves the file from the application in the form of a stream.
The problem occurs intermittently. sometimes able to retrieve the file successfully and sometimes it the windows stays blank and stays open. I have checked the logs, things appear to be successful.
Delayed reply, but was able to resolve the issue. The issue wasn’t on the client side (GWT). It was failing at the server side for some requests
Can you try to make an own class for this?
It's just a wild guess, but I had a problem with window.alert one time with GWT.
When I used it a listener on the client side stopped working. I never found out why. I wrote an own class that created an message box and the problem was gone. I have the feeling that GWT has some problems that are hidden inside the framework.
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 1 year ago.
Improve this question
I was trying to access a file with a java scanner class but always got FileNotFoundException so i tried to output what my current working directory was System.out.println(System.getProperty("user.home"));
and it returned null
Do i have to manually set it somewhere in project settings or are my enviromental paths messed up? How can i fix this?
When you are on Android the traditional 'user.home' property has no specific meaning or equivalent to what it would in a traditional desktop java application. However when running inside an Android runtime you should have access to the 'Environment' class which defines a number of paths to relevant directories.
Take a look at the getDataDirectory() call, which should give you a file object to the correct system path.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
Hi i am trying to do post request in SOAP for HTTPS using Apache client.However I can do easily with HTTP with Apache client.But getting difficult with HTPPS.I have tried google a lots but not getting the proper documentation.Somewhere i found, but in that they have used deprecated class.
Somebody tell me how to do post request in SOAP for HTTPS using apache client or simple java with explanation of SSL(Getting trust certificate).
It is better if i will get the working example.
Suggestions are always appreciable.
Thanks in advance
oops my request was wrong actually.
Code is working fine
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
The server reports that the JNLP client requests resources multiple times before checking jar.
It may be the wished-for resource is requested up to 10 times from the server, before finally checking and finding the it in the loaded JAR-file.
My app is deployed as an applet using dtjava.embed() and a JNLP-file.
The applet does start, but only after a big delay for the 100+ requests it sends to the server first!
Any ideas on what is causing the redundant requests, and how to fix it?
So it was actually this page which lead me to the solution:
Java WebStart slow, requesting libraries from invalid folder
I didn't know about indexing of JARs at all. Now I do. And as soon as I added an index to the JAR, the problem went away!
Thank you all.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I need to extract answers from 500 stackoverflow questions at a time, but suddenly I read this error on Eclipse console:
Server returned HTTP response code: 503 for URL:
https://stackoverflow.com/search?q=lucene+IndexWriter+registerMerge%28
and if I use browser after that I read this message:
There are an unusual number of requests coming from this IP address.
To protect our users, we can't process any more requests from this IP address right now.
We'll restore access as quickly as possible, so try again soon.
I do this for a research work. Am I violating some SO rule?
The message is straightforward: you're screenscraping StackOverflow, and SO doesn't want you doing that.
If you still want to spider the site then just rate-limit your accessing, maybe make one request every 100ms or even 250ms instead of 500 at a time (which is what I assume you're doing).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Whenever I want to export from my plug-in xml, it gives the following error:
How can I solve this??
Check, if the file D:\fastcode_new\plugins\org.fastcode_1.3.0\icons\sample.gif exists and isn't write protected.
It tries to delete the file samlpe.gif (in D:\fastcode_new\plugins\org.fastcod_1.3.0\icons directory). If the file is open in another program that can cause this problem.
Sometimes you might not think it is held open, but if you did open it in a program before and upon closing the .gif program did not release it properly, it still counts a being held open. In this situation the only thing you can do is close all programs thay you ever used to open the file previously.