Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

host parameter is null in CommonsHTTPSender

This is a discussion on host parameter is null in CommonsHTTPSender within the Bing Maps and MapPoint Web Service forums, part of the Map Forums category; I am using MapPoint 4.5 with Axis 1.3 and CommonsHTTPSender through a proxy. I am getting "IllegalArgumentException: host parameter is ...

  1. #1
    trowland is offline Junior Member White Belt
    Join Date
    May 2007
    Location
    Connecticut
    Posts
    5

    host parameter is null in CommonsHTTPSender

    I am using MapPoint 4.5 with Axis 1.3 and CommonsHTTPSender through a proxy.

    I am getting "IllegalArgumentException: host parameter is null" which is apparently a known problem in CommonsHTTPSender (also should affect Axis1.2 and possibly prior versions) where the host name is not getting set before invoking HttpConnection. Here is a description from Apache:
    [#AXIS-1994] CommonsHTTPSender failing to set host name - ASF JIRA

    I have found no workarounds other than modifying the code in CommonsHTTPSender class. This is a simple mod but I would like to find a more acceptable solution. Has anyone else encountered this and what is the standard workaround?

    thanks,
    Tom
    thomas.rowland@priceline.com

  2. #2
    trowland is offline Junior Member White Belt
    Join Date
    May 2007
    Location
    Connecticut
    Posts
    5

    Re: host parameter is null in CommonsHTTPSender

    I would still like to know if this is a problem seen by others. However, I have resolved my issue by moving to AXIS2 and using CommonsHTTPTransportSender.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Unknown Host Exception
    By amitsh in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-19-2008, 01:39 AM
  2. Get host window messages
    By Th.M.Mädzulat in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-18-2006, 12:11 PM
  3. What does it mean if FindAddress is returning null?
    By chance1166 in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 01-12-2006, 12:29 PM
  4. Custom location returns null when using find nearby in route
    By briansbrown in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-15-2005, 02:40 PM
  5. byte parameter
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-22-2004, 06:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36