users@jersey.java.net

[Jersey] Problems debugging UriBuilder

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Fri, 28 Nov 2008 18:02:25 -0800 (PST)

Hi,

When I add a UriBuilder to the Netbeans watch window I get the following
exception:

java.lang.NullPointerException:
        at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:87)
        at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
        at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80)
[snip]

My guess is that the Netbeans debugger thread is not the same as the webapp
thread and this causes the implementation to fail. Couldn't the code be more
robust in this case?

Thanks,
Gili
-- 
View this message in context: http://n2.nabble.com/Problems-debugging-UriBuilder-tp1591176p1591176.html
Sent from the Jersey mailing list archive at Nabble.com.