Hi Christian,
I think I have found the origin of the problem.
Package slash.navigation.rest :
In the "HttpResponse" method of the "HttpRequest" class, there is a call to open a pop-up "JOptionPane.showMessageDialog..." that resembles a debug rest :
protected HttpResponse execute() throws IOException {
Proxy proxy = findProxy(method.getURI());
if(proxy != NO_PROXY && !proxy.type().equals(DIRECT)) {
SocketAddress address = proxy.address();
if(address instanceof InetSocketAddress) {
InetSocketAddress inetSocketAddress = (InetSocketAddress) address;
requestConfigBuilder.setProxy(new HttpHost(inetSocketAddress.getHostName(), inetSocketAddress.getPort()));
log.info(format("Using proxy %s for %s", proxy.toString(), method.getURI()));
JOptionPane.showMessageDialog(null, format("Using proxy %s for %s", proxy.toString(), method.getURI()));
}
}
The previous line seems sufficient to feed the log file :
log.info(format("Using proxy %s for %s", proxy.toString(), method.getURI()));
I was partially tested by removing the line "JOptionPane.showMessageDialog..." the pop-up no longer appears.
What do you think of my analysis?
Cordially
Franck
I think I have found the origin of the problem.
Package slash.navigation.rest :
In the "HttpResponse" method of the "HttpRequest" class, there is a call to open a pop-up "JOptionPane.showMessageDialog..." that resembles a debug rest :
protected HttpResponse execute() throws IOException {
Proxy proxy = findProxy(method.getURI());
if(proxy != NO_PROXY && !proxy.type().equals(DIRECT)) {
SocketAddress address = proxy.address();
if(address instanceof InetSocketAddress) {
InetSocketAddress inetSocketAddress = (InetSocketAddress) address;
requestConfigBuilder.setProxy(new HttpHost(inetSocketAddress.getHostName(), inetSocketAddress.getPort()));
log.info(format("Using proxy %s for %s", proxy.toString(), method.getURI()));
JOptionPane.showMessageDialog(null, format("Using proxy %s for %s", proxy.toString(), method.getURI()));
}
}
The previous line seems sufficient to feed the log file :
log.info(format("Using proxy %s for %s", proxy.toString(), method.getURI()));
I was partially tested by removing the line "JOptionPane.showMessageDialog..." the pop-up no longer appears.
What do you think of my analysis?
Cordially
Franck
