﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4062	Remotecontrol throws verbose exception info to console whet it can't bind to the default port	avarab@…	framm	"Remotecontrol will throw an exception like this to the console:

{{{
loading remotecontrol
java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
	at java.net.ServerSocket.bind(ServerSocket.java:319)
	at java.net.ServerSocket.<init>(ServerSocket.java:185)
	at org.openstreetmap.josm.plugins.remotecontrol.HttpServer.<init>(HttpServer.java:37)
	at org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin.restartServer(RemoteControlPlugin.java:42)
	at org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin.<init>(RemoteControlPlugin.java:21)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:185)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:207)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:150)
}}}

A simple 1-line message saying it couldn't bind to the port would suffice, but I couldn't find a way to do that by catching the exception and throwing something that didn't print out the full backtrace but stil didn't make the run() method run."	defect	closed	trivial		Core remotecontrol	latest	fixed		
