Elliot Barlas wrote:
I am trying to get asynchronous subscription notification to work and I am
seeing a NullPointerException in SubscriptionNotifier.  This is preventing
the service registry from invoking my listening web service.  No exceptions
occur in my exceedingly simple client.  Basic operations with businesses,
services, and bindings work fine.  I am running juddi tomcat package 3.0.0
and using juddi-client 3.0.0.
2009-12-03 10:01:50,989 INFO
[org.apache.juddi.subscription.SubscriptionNotifier] - We have a change and
need to notify..
2009-12-03 10:01:50,993 ERROR
[org.apache.juddi.subscription.SubscriptionNotifier] - Could not obtain
subscriptionResult for subscriptionKey
uddi:juddi.apache.org:bd06b1a7-b551-4581-b8b3-300f82cb9119. null
java.lang.NullPointerException
        at
org.apache.juddi.subscription.SubscriptionNotifier.notify(SubscriptionNotifier.java:218)
        at
org.apache.juddi.subscription.SubscriptionNotifier.run(SubscriptionNotifier.java:93)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

Has anyone seen this before?  Thanks.
Hi Elliot,

Please log a jira for this, a NPE is never good. However, I think the issue is that you don't have a subscription saved in the registry. Did you follow the example in Chapter 9 of the userguide:
http://svn.apache.org/repos/asf/webservices/juddi/trunk/docs/jUDDI-UserGuide.pdf

That may help get you going.

Cheers,

--Kurt

Reply via email to