> On Aug. 21, 2017, 5:55 p.m., Patrick Rhomberg wrote: > > geode-core/src/main/java/org/apache/geode/management/internal/MBeanProxyFactory.java > > Lines 83-84 (original), 81-85 (patched) > > <https://reviews.apache.org/r/61758/diff/1/?file=1800306#file1800306line83> > > > > I might be missing context, but this just a spike to see which of these > > methods is returning `null`, yeah? > > > > Is receiving `null` in this context indicative of failure, or should > > there be some null checks and handling? Should we formally check against > > null and throw instead of allowing an NPE to bubble up? Would that be a > > more meaningful error than an NPE?
This change is just to help see what's null. Once we know, we'll be able to decide how to properly deal with a null value. - Jared ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61758/#review183354 ----------------------------------------------------------- On Aug. 18, 2017, 9:55 p.m., Jared Stewart wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/61758/ > ----------------------------------------------------------- > > (Updated Aug. 18, 2017, 9:55 p.m.) > > > Review request for geode, Emily Yeh, Jared Stewart, Ken Howe, Kirk Lund, and > Patrick Rhomberg. > > > Repository: geode > > > Description > ------- > > GEODE-3471: Identify NPE in MBeanProxyFactory > > > Diffs > ----- > > > geode-core/src/main/java/org/apache/geode/management/internal/MBeanProxyFactory.java > 0cce0be22323cf47dd6f90691bb068b3aaa77372 > > > Diff: https://reviews.apache.org/r/61758/diff/1/ > > > Testing > ------- > > Precheckin running > > > Thanks, > > Jared Stewart > >