History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-2291
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: 3 3
Assignee: Unassigned
Reporter: jason
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

NPE in PollingService if getUid call fails for an SCM

Created: 18/Jan/10 07:25 PM   Updated: 18/Jan/10 10:35 PM
Component/s: 1/2 Day
Affects Version/s: 2.1.14
Fix Version/s: 2.1.15

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
If getUid fails, the cache isn't populated. Nothing is done about this, and the later code assumes the UID is there:

WARNING: Uncaught exception generated by callback: null
java.lang.NullPointerException
at com.zutubi.pulse.master.scm.polling.OneActivePollPerScmPredicate.satisfied(OneActivePollPerScmPredicate.java:31)
at com.zutubi.pulse.master.scm.polling.OneActivePollPerScmPredicate.satisfied(OneActivePollPerScmPredicate.java:12)
at com.zutubi.pulse.master.scm.polling.PollingRequest.satisfied(PollingRequest.java:57)
at com.zutubi.pulse.master.scm.polling.PollingQueue.activateWhatWeCan(PollingQueue.java:124)
at com.zutubi.pulse.master.scm.polling.PollingQueue.enqueue(PollingQueue.java:45)
at com.zutubi.pulse.master.scm.polling.PollingService.pollForChanges(PollingService.java:174)
at com.zutubi.pulse.master.scm.polling.PollingService$1.run(PollingService.java:79)

 All   Comments   Work Log   Change History      Sort Order:
Daniel Ostermeier - 18/Jan/10 10:35 PM
resolved pending review