Bugzilla – Bug 7061
Context broker fails to handle a retrieve situation
Last modified: 2010-06-19 15:53:20
You need to log in before you can comment on or make changes to this bug.
There is a problem in a certain retrieve situation (see the fix), the code is trying to use a nonexistent object instead of signalling its absence up the stack. This can cause null pointer exceptions like below being returned to the context agents. java.lang.NullPointerException at org.nimbustools.ctxbroker.service.ContextBrokerResourceImpl.translateNodeManifest(ContextBrokerResourceImpl.java:337) at org.nimbustools.ctxbroker.service.ContextBrokerResourceImpl.retrieve(ContextBrokerResourceImpl.java:328) at org.nimbustools.ctxbroker.service.ContextBrokerServiceImpl.retrieve(ContextBrokerServiceImpl.java:441)
Committed to master for Nimbus 2.5 http://github.com/nimbusproject/nimbus/commit/e184112bfb9931eca321b15fe56d0b3f00512d2a