java.net.MalformedURLException

For input string: "9002localhost:9002"

Samebug tips2

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web100

  • via Mirth Project by Nick Rupley, 1 year ago
    For input string: "9002localhost:9002"
  • via Mirth Project by Nick Rupley, 9 months ago
    For input string: "9002localhost:9002"
  • via Netbeans Bugzilla by lmartinek, 1 year ago
    For input string: "8080null"
  • Stack trace

    • java.net.MalformedURLException: For input string: "9002localhost:9002" at java.net.URL.<init>(URL.java:619) at java.net.URL.<init>(URL.java:482) at java.net.URL.<init>(URL.java:431) at com.mirth.connect.connectors.http.HttpMessageConverter.httpRequestToXml(HttpMessageConverter.java:42) at com.mirth.connect.connectors.http.HttpMessageAdapter.setMessage(HttpMessageAdapter.java:38) at com.mirth.connect.connectors.http.HttpMessageAdapter.<init>(HttpMessageAdapter.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.mule.util.ClassHelper.instanciateClass(ClassHelper.java:271) at org.mule.util.ClassHelper.instanciateClass(ClassHelper.java:278) at org.mule.providers.service.ConnectorServiceDescriptor.createMessageAdapter(ConnectorServiceDescriptor.java:270) at org.mule.providers.AbstractServiceEnabledConnector.getMessageAdapter(AbstractServiceEnabledConnector.java:149) at com.mirth.connect.connectors.http.HttpMessageReceiver.processData(HttpMessageReceiver.java:182) at com.mirth.connect.connectors.http.HttpMessageReceiver.access$400(HttpMessageReceiver.java:49) at com.mirth.connect.connectors.http.HttpMessageReceiver$RequestHandler.handle(HttpMessageReceiver.java:67) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:943) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:879) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:245) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NumberFormatException: For input string: "9002localhost:9002" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:217) at java.net.URL.<init>(URL.java:614) ... 30 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    41 times, 8 months ago
    2 times, 10 months ago
    Once, 3 days ago
    Unknown user
    Once, 3 days ago
    197 more bugmates