Opened 3 years ago

Closed 3 years ago

#20044 closed defect (duplicate)

possible NPE in BridgeSnapshotReader

Reported by: iwakeh Owned by:
Priority: Medium Milestone:
Component: Metrics/CollecTor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Just noticed this in BridgeSnapshotReader:


                String firstLine = null;
                while ((firstLine = br3.readLine()) != null) {
                  if (firstLine.startsWith("@")) {
                  } else {
                if (firstLine.startsWith("published ")   // possible NPE?
                    || firstLine.startsWith("flag-thresholds ")
                    || firstLine.startsWith("r ")) {
                  bdp.parse(allData, dateTime, authorityFingerprint);

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by karsten

Resolution: duplicate
Status: newclosed

This bug is already fixed in my task-19755 branch which is yet to be merged into master. But let's discuss this as part of #19755 together with the other bugs found there. Closing as duplicate. Thanks for reporting anyway!

Note: See TracTickets for help on using tickets.