On Nov 29, 2008, at 3:02 AM, Gili wrote:
>
> 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?
>
I just tried a quick experiment with 1.0.1 adding a UriBuilder
instance to the watch and it worked fine.
Can you describe a bit more your setup?
Paul.