Bug 7061 - Context broker fails to handle a retrieve situation
: Context broker fails to handle a retrieve situation
Status: RESOLVED FIXED
: Nimbus
Context broker
: 2.4
: PC Linux
: P3 normal
: 2.5
Assigned To:
:
:
:
: 7013
  Show dependency treegraph
 
Reported: 2010-06-19 15:50 by
Modified: 2010-06-19 15:53 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-06-19 15:50:13
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)
------- Comment #1 From 2010-06-19 15:53:20 -------
Committed to master for Nimbus 2.5

http://github.com/nimbusproject/nimbus/commit/e184112bfb9931eca321b15fe56d0b3f00512d2a