All pastes #565077 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-13 21:24 UTC
rendered paste body
--------------------------------------------------------------------------------

java.lang.NullPointerException
	at net.jxta.impl.discovery.DiscoveryServiceImpl.search(DiscoveryServiceImpl.java:1296)
	at net.jxta.impl.discovery.DiscoveryServiceImpl.getLocalAdvertisements(DiscoveryServiceImpl.java:439)
	at net.jxta.impl.discovery.DiscoveryServiceInterface.getLocalAdvertisements(DiscoveryServiceInterface.java:163)
	at com.shsolutions.pts.util.PTSUtil.getCacheAdvertisements(PTSUtil.java:138)


# my method calling jxta method:
Enumeration enVal = dsvc.getLocalAdvertisements( nDSType, szKey, szValue );

# my values passing to jxta method
nDSType = 2
attribute = "Name"
value = "rsmith"