commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliot Shank (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-532) NPE in nntp.Threader.thread() when all messages in a derived thread are missing.
Date Thu, 03 Apr 2014 18:25:17 GMT

     [ https://issues.apache.org/jira/browse/NET-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Elliot Shank updated NET-532:
-----------------------------

    Attachment: messages-referencing-CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com.tar.gz
                threader-3.3-debug.patch

threader-3.3-debug.patch is a patch against the v3.3 tag that dumps the message graph prior
to and after pruning and that will indicate the node that is about to cause an NPE in gatherSubjects().
Note that this uses some Unicode characters, so you can't look at this in an editor that can't
handle UTF-8.

messages-referencing-CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com.tar.gz
contains the 18 messages (with some slightly sanitized headers).

When I run over this set of messages, I get the following:

{noformat}
Pre-prune: «504820309 - ‹root›: no message, even on child»
Pre-prune: |   «1954527713 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAA+UVZTx+ZDBdQ2USFn+D=SNQ-OLrGbRG3NxUBisY6SMYF17fg@mail.gmail.com>	<5263532A.7040208@redhat.com›:
no message»
Pre-prune: |   |   [c++std-ext-14587] Re: [ub] Re: Sized integer types and char bits (‹references:
CAGL0aWeP8Ku=4B66xss4QMLJUXKxE9sMiPG7Pfvm3rorxQG-Fg@mail.gmail.com›)
Pre-prune: |   |   |   [c++std-ext-14589] Re: [ub] Re: Sized integer types and char bits (4ed19f87c10c46b28c6a8514583d3354@DM2PR03MB304.namprd03.prod.outlook.com)
Pre-prune: |   «1837407879 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com>
<389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com>
<87fvs890bq.fsf@euclid.axiomatics.org>	<CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com>
<87fvs81tb9.fsf@euclid.axiomatics.org>	<CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com>
<bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com›:
no message»
Pre-prune: |   |   [c++std-ext-14555] Sized integer types and char bits (‹references: 878uxqr1ya.fsf_-_@euclid.axiomatics.org›)
Pre-prune: |   |   |   [c++std-ext-14557] Re: Sized integer types and char bits (‹references:
b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com›)
Pre-prune: |   |   |   |   [c++std-ext-14561] Re: Sized integer types and char bits (cad3f73261094d738dc5b98f13eb4618@DM2PR03MB304.namprd03.prod.outlook.com)
Pre-prune: |   «499378493 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com›:
no message and no child»
Pre-prune: |   «688239375 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com>	<CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com›:
no message and no child»
Pre-prune: |   «892252883 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com>	<CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com>
<5262288F.2070107@gmail.com›: no message and no child»
Pre-prune: |   «215897580 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com>
<389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com>
<87fvs890bq.fsf@euclid.axiomatics.org>	<CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com>
<87fvs81tb9.fsf@euclid.axiomatics.org>	<CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com>
<bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org›: no message»
Pre-prune: |   |   [c++std-ext-14556] Re: [ub] Sized integer types and char bits (CAFk2RUaiDj-Fu_QVktwZBp-S-Kkr2DfBsJ+dLQNdTp6qZ7SKHQ@mail.gmail.com)
Pre-prune: |   «1490747277 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com>
<389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com>
<87fvs890bq.fsf@euclid.axiomatics.org>	<CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com>
<87fvs81tb9.fsf@euclid.axiomatics.org>	<CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com>
<bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com›:
no message»
Pre-prune: |   |   [c++std-ext-14558] Re: [ub] Sized integer types and char bits (‹references:
CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com›)
Pre-prune: |   |   |   [c++std-ext-14559] Re: [ub] Sized integer types and char bits (‹references:
394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com›)
Pre-prune: |   |   |   |   [c++std-ext-14560] Re: [ub] Sized integer types and char bits (‹references:
BD55E214-3752-45E0-AE06-D453C9F18862@edg.com›)
Pre-prune: |   |   |   |   |   «297774990 - ‹references: CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.co›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   «1067359420 - ‹references: m›: no message»
Pre-prune: |   |   |   |   |   |   |   [c++std-ext-14567] Re: [ub] Sized integer types and
char bits (52623C86.5070004@bourguet.org)
Pre-prune: |   |   [c++std-ext-14563] Re: Sized integer types and char bits (CAA+UVZTx+ZDBdQ2USFn+D=SNQ-OLrGbRG3NxUBisY6SMYF17fg@mail.gmail.com)
Pre-prune: |   |   |   [c++std-ext-14569] Re: [ub] Re: Sized integer types and char bits (5263532A.7040208@redhat.com)
Pre-prune: |   «1178868549 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   «559575821 - ‹references: 048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   «959933334 - ‹references: CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   «1702388274 - ‹references: 389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   «1115092137 - ‹references: CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   «263759190 - ‹references: 87fvs890bq.fsf@euclid.axiomatics.org›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   «594458922 - ‹references: CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   «977176210 - ‹references: 87fvs81tb9.fsf@euclid.axiomatics.org›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   «1593112861 - ‹references: CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   |   «621744031 - ‹references: bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   |   |   «2143986362 - ‹references: CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   |   |   |   «1350673121 - ‹references: 8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   |   |   |   |   «1860995857 - ‹references:
CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com›: no message and no child»
Pre-prune: |   |   «1805533691 - ‹references: CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   «1660812527 - ‹references: CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   «283697583 - ‹references: CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   «691581141 - ‹references: CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   «1222739223 - ‹references: c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   «1307102818 - ‹references: 4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   «1866836963 - ‹references: 87ob6m37qj.fsf@euclid.axiomatics.org›:
no message, even on child»
Pre-prune: |   |   |   |   |   |   |   |   |   «1192754471 - ‹references: 37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com›:
no message and no child»
Pre-prune: |   «2012032999 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com›: no message and no child»
Pre-prune: |   «1961108531 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com>	<CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com>
<5262288F.2070107@gmail.com>	<dae22e95c446444a8b3c8d7c54c8bfc8@BN1PR03MB107.namprd03.prod.outlook.com›:
no message and no child»
Pre-prune: |   «772066361 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com>	<CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com>
<5262288F.2070107@gmail.com›: no message»
Pre-prune: |   |   [c++std-ext-14566] Re: [ub] Sized integer types and char bits (87r4bh7ne4.fsf@euclid.axiomatics.org)
Pre-prune: |   «1023134153 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com>
<389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com>
<87fvs890bq.fsf@euclid.axiomatics.org>	<CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com>
<87fvs81tb9.fsf@euclid.axiomatics.org>	<CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com>
<bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com>
<CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com>	<394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com>
<BD55E214-3752-45E0-AE06-D453C9F18862@edg.com›: no message»
Pre-prune: |   |   [c++std-ext-14564] Re: [ub] Sized integer types and char bits (CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com)
Pre-prune: |   |   |   [c++std-ext-14565] Re: [ub] Sized integer types and char bits (‹references:
5262288F.2070107@gmail.com›)
Pre-prune: |   |   |   |   [c++std-ext-14568] Re: [ub] Sized integer types and char bits (‹references:
dae22e95c446444a8b3c8d7c54c8bfc8@BN1PR03MB107.namprd03.prod.outlook.com›)
Pre-prune: |   |   |   |   |   [c++std-ext-14570] Re: [ub] Sized integer types and char bits
(5263BBF2.7070103@gmail.com)
Pre-prune: |   |   |   |   |   |   [c++std-ext-14577] Re: [ub] Sized integer types and char
bits (084fdfce6dda46cc99edea348b28b1d9@BN1PR03MB107.namprd03.prod.outlook.com)
Post-prune:«504820309 - ‹root›: no message»
Post-prune:|   [c++std-ext-14587] Re: [ub] Re: Sized integer types and char bits (‹references:
CAGL0aWeP8Ku=4B66xss4QMLJUXKxE9sMiPG7Pfvm3rorxQG-Fg@mail.gmail.com›)
Post-prune:|   |   [c++std-ext-14589] Re: [ub] Re: Sized integer types and char bits (4ed19f87c10c46b28c6a8514583d3354@DM2PR03MB304.namprd03.prod.outlook.com)
Post-prune:|   [c++std-ext-14555] Sized integer types and char bits (‹references: 878uxqr1ya.fsf_-_@euclid.axiomatics.org›)
Post-prune:|   |   [c++std-ext-14557] Re: Sized integer types and char bits (‹references:
b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com›)
Post-prune:|   |   |   [c++std-ext-14561] Re: Sized integer types and char bits (cad3f73261094d738dc5b98f13eb4618@DM2PR03MB304.namprd03.prod.outlook.com)
Post-prune:|   [c++std-ext-14556] Re: [ub] Sized integer types and char bits (CAFk2RUaiDj-Fu_QVktwZBp-S-Kkr2DfBsJ+dLQNdTp6qZ7SKHQ@mail.gmail.com)
Post-prune:|   «1490747277 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com>
<048653ed07b04544bc3f6183592e1b79@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O_+DugEN-5UTZbXm8ecz+N=reOrox9w5rsxEYw+YBBEQ@mail.gmail.com>
<389e2109e5094aaf88703287e9d9b52b@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+O7-Qco_08CNLn=Sgg=hSuqokmknUqnMUxt+YgmqkRSBg@mail.gmail.com>
<87fvs890bq.fsf@euclid.axiomatics.org>	<CAGg_6+M8qRYjmHXxTaHW9QEVaiYr7oRZ2=99uQnd0zTGo9Wapg@mail.gmail.com>
<87fvs81tb9.fsf@euclid.axiomatics.org>	<CAGg_6+NG-vgNn-bSO6d_V9G+_JYLkr6iho0DtVZbN=ivEoqYPw@mail.gmail.com>
<bbb97395cde546348bb7fa90d8ac27ea@DM2PR03MB304.namprd03.prod.outlook.com>	<CAGg_6+OLzJ2DgOpbAieDssv-06CSfWc227t0L8yRPCYzi0KFhA@mail.gmail.com>
<8fdbbcb040164f1f97a25e609fc549b2@DM2PR03MB304.namprd03.prod.outlook.com>	<CA+jCFLt5o_TmO9tnSMr3b=w3ZCdVayAkBcd3mpU4jq-AEFSjDw@mail.gmail.com>
<CAGg_6+Mz-bo2rs-RLnQgXoBKz1Hv17u7WkR924voatb7doHF8w@mail.gmail.com>	<CA+jCFLvCLODV59vyv_R6-vwHN5HXFs1mm0rRAc-PFJvh4bxhOg@mail.gmail.com>
<CAGg_6+NRXp_anbvmZnkunEdLcrrNH1xT+ssj7NiNAmyGYGJXAQ@mail.gmail.com>	<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1c6w@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa3a8@BY2PR03MB091.namprd03.prod.outlook.com>	<4faee2ff47524ee1b37d0852ed530987@BN1PR03MB107.namprd03.prod.outlook.com>
<87ob6m37qj.fsf@euclid.axiomatics.org>	<37b63d23d2a045dd8ae24fa06f893ebc@BN1PR03MB107.namprd03.prod.outlook.com>
<878uxqr1ya.fsf_-_@euclid.axiomatics.org>	<b189ea5c75d242a5b795bb524b2ea810@SN2PR03MB093.namprd03.prod.outlook.com›:
no message»
Post-prune:|   |   [c++std-ext-14558] Re: [ub] Sized integer types and char bits (‹references:
CAGuJnYd7bULjKn1TCpX0_hWsQ2PhuNEw8zypunS0Ty8wztSO_g@mail.gmail.com›)
Post-prune:|   |   |   [c++std-ext-14559] Re: [ub] Sized integer types and char bits (‹references:
394d2a6c4d524ea49607aabbe8fc2f37@DM2PR03MB304.namprd03.prod.outlook.com›)
Post-prune:|   |   |   |   [c++std-ext-14560] Re: [ub] Sized integer types and char bits (‹references:
BD55E214-3752-45E0-AE06-D453C9F18862@edg.com›)
Post-prune:|   |   |   |   |   [c++std-ext-14567] Re: [ub] Sized integer types and char bits
(52623C86.5070004@bourguet.org)
Post-prune:|   |   [c++std-ext-14563] Re: Sized integer types and char bits (CAA+UVZTx+ZDBdQ2USFn+D=SNQ-OLrGbRG3NxUBisY6SMYF17fg@mail.gmail.com)
Post-prune:|   |   |   [c++std-ext-14569] Re: [ub] Re: Sized integer types and char bits (5263532A.7040208@redhat.com)
Post-prune:|   «1178868549 - ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com›:
no message and no child»
Post-prune:|   [c++std-ext-14566] Re: [ub] Sized integer types and char bits (87r4bh7ne4.fsf@euclid.axiomatics.org)
Post-prune:|   [c++std-ext-14564] Re: [ub] Sized integer types and char bits (CAA+UVZRVo-Wr9g2dONCOxiVe9XDsqF2T0vAd-Qzy_HgZy7jvbw@mail.gmail.com)
Post-prune:|   |   [c++std-ext-14565] Re: [ub] Sized integer types and char bits (‹references:
5262288F.2070107@gmail.com›)
Post-prune:|   |   |   [c++std-ext-14568] Re: [ub] Sized integer types and char bits (‹references:
dae22e95c446444a8b3c8d7c54c8bfc8@BN1PR03MB107.namprd03.prod.outlook.com›)
Post-prune:|   |   |   |   [c++std-ext-14570] Re: [ub] Sized integer types and char bits (5263BBF2.7070103@gmail.com)
Post-prune:|   |   |   |   |   [c++std-ext-14577] Re: [ub] Sized integer types and char bits
(084fdfce6dda46cc99edea348b28b1d9@BN1PR03MB107.namprd03.prod.outlook.com)
About to blow up on ‹references: CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com›!!!
Exception in thread "main" java.lang.NullPointerException
	at org.apache.commons.net.nntp.Threader.gatherSubjects(Threader.java:319)
	at org.apache.commons.net.nntp.Threader.thread(Threader.java:80)
	at org.apache.commons.net.nntp.Threader.thread(Threader.java:47)
	at [redacted]
{noformat}

> NPE in nntp.Threader.thread() when all messages  in a derived thread are missing.
> ---------------------------------------------------------------------------------
>
>                 Key: NET-532
>                 URL: https://issues.apache.org/jira/browse/NET-532
>             Project: Commons Net
>          Issue Type: Bug
>          Components: NNTP
>    Affects Versions: 3.0, 3.3
>            Reporter: Elliot Shank
>         Attachments: messages-referencing-CANh-dXkxpwcgnCYP_tfvH0yXb6__mKbZfbcNoPeyUNZ_arv1SA@mail.gmail.com.tar.gz,
threader-3.3-debug.patch, threader.patch
>
>
> I'm threading emails using the References: header. When I've got an incomplete set of
messages (in this specific case, it's from one of the C++ standards committee lists) such
that I'm missing an entire thread, I get exceptions like this:
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
>      at org.apache.commons.net.nntp.Threader.gatherSubjects(Threader.java:342)
>      at org.apache.commons.net.nntp.Threader.thread(Threader.java:81)
>      at org.apache.commons.net.nntp.Threader.thread(Threader.java:47)
> {noformat}
> What happens is that the graph returned by findRootSet() at line 71 will look something
like
> {noformat}
>      ...
>      <ThreadContainer A with Threadable>
>          ...
>      <ThreadContainer B without Threadable>
>          <ThreadContainer ... without Threadable>
>              <ThreadContainer ... without Threadable>
>              <ThreadContainer ... without Threadable>
>          <ThreadContainer ... without Threadable>
>              <ThreadContainer ... without Threadable>
>                  <ThreadContainer ... without Threadable>
>      <ThreadContainer C with Threadable>
>          ...
>      ...
> {noformat}
> And, after pruneEmptyContainers() has had its way with things on line 75, the graph will
be
> {noformat}
>      ...
>      <ThreadContainer A with Threadable>
>          ...
>      <ThreadContainer B without Threadable>
>      <ThreadContainer C with Threadable>
>          ...
>      ...
> {noformat}
> when it should be
> {noformat}
>      ...
>      <ThreadContainer A with Threadable>
>          ...
>      <ThreadContainer C with Threadable>
>          ...
>      ...
> {noformat}
> I.e., ThreadContainer B should be eliminated entirely.
> As it is, with ThreadContainer B present, but not containing any children or a Threadable,
gatherSubjects() chokes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message