Hi Jeff,

I've just attempted to fix the issue in SVN. I'm not able to test it right
now. Could you let me know if this solves your issue? 

Note that you need to set the default port (80) in the
VirtualHost.resourcePort property.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Jeff Walter [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 5 décembre 2006 20:48
> À : [email protected]
> Objet : Bug in Reference.getHostPort() ?
> 
> Hey Jerome,
> 
> Working with Restlet on localhost:8080 works great -- but I 
> recently deployed an app onto a server running on port 80 and 
> got a NullPointerException in 
> com.noelios.restlet.container.HostScorer:89.  Seems that it 
> does a toString() on what's returned from 
> request.getBaseRef().getHostPort(), which is null if you 
> don't have an explicit port (runs on 80).
> 
> I'm running an SVN version of 1.0rc1 released on Nov. 29
> 
> Regards,
> Jeff Walter
> 
> 

Reply via email to