[jcifs] no name with type 0x00 with no scope for host
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Wed Feb 20 14:32:33 EST 2002
> -----Original Message-----
> From: Christopher R. Hertel [SMTP:crh at ubiqx.org]
> > I have been getting this exception message for a windows XP machine.
> >
> > java.net.UnknownHostException: no name with type 0x00 with no scope for
> > host 10.0.100.114
> > at jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:481)
> > at jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:437,
> > Compiled Code)
>
> Why would we ever get that?
>
> If jCIFS is doing a getAllByAddress() then it is probably sending a NODE
> STATUS REQUEST. That's how you would get 'all' names given the address.
>
> My best guess, given the information that I had, was that the <machine><00>
> name was being fed to getAllByAddress(). The wildcard name would not
> generate the error above, as demonstrated by the fact that the "nbtstat -A
> <ipaddr>" worked just fine.
>
Like I said jCIFS always uses the wildcard style node status. That's exactly what nbtstat
-A does. Very wierd.
> ...or, as you said, he's using an outdated jCIFS.
>
Apparently that does it too... very strange. I fear the only way to figure this out is to snoop
it with Ethereal or NetMon. It's either some XP wierdness in which case the code might
need a corner clause or maybe he's using scope.
*shrug*
Mike
More information about the jcifs
mailing list