[ 
https://issues.apache.org/jira/browse/NET-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13958919#comment-13958919
 ] 

Elliot Shank commented on NET-532:
----------------------------------

Specifically, it’s the list c++std-ext.accu.org. For one specific thread, I've 
got the following 18 messages:

Date: Fri, 18 Oct 2013 11:14:21 -0500
From: Gabriel Dos Reis <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14555] Sized integer types and char bits

Date: Fri, 18 Oct 2013 19:26:25 +0300
From: Ville Voutilainen <[email protected]>
Message-ID:
<cafk2ruaidj-fu_qvktwzbp-s-kkr2dfbsj+dlqndtp6qz7s...@mail.gmail.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14556] Re: [ub] Sized integer types and char bits

Date: Fri, 18 Oct 2013 19:05:41 +0000
From: "Stephan T. Lavavej" <[email protected]>
Message-ID:
<b189ea5c75d242a5b795bb524b2ea...@sn2pr03mb093.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14557] Re: Sized integer types and char bits

Date: Fri, 18 Oct 2013 12:54:38 -0700
From: Matt Austern <[email protected]>
Message-ID:
<cagujnyd7buljkn1tcpx0_hwsq2phunew8zypuns0ty8wzts...@mail.gmail.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14558] Re: [ub] Sized integer types and char bits

Date: Fri, 18 Oct 2013 20:22:30 +0000
From: Gabriel Dos Reis <[email protected]>
Message-ID:
<394d2a6c4d524ea49607aabbe8fc2...@dm2pr03mb304.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14559] Re: [ub] Sized integer types and char bits

Date: Fri, 18 Oct 2013 16:32:21 -0400
From: John Spicer <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14560] Re: [ub] Sized integer types and char bits

Date: Fri, 18 Oct 2013 20:37:09 +0000
From: Gabriel Dos Reis <[email protected]>
Message-ID:
<cad3f73261094d738dc5b98f13eb4...@dm2pr03mb304.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14561] Re: Sized integer types and char bits

Date: Fri, 18 Oct 2013 20:15:57 -0700
From: Lawrence Crowl <[email protected]>
Message-ID:
<CAA+UVZTx+ZDBdQ2USFn+D=snq-olrgbrg3nxubisy6smyf1...@mail.gmail.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14563] Re: Sized integer types and char bits

Date: Fri, 18 Oct 2013 20:19:31 -0700
From: Lawrence Crowl <[email protected]>
Message-ID:
<caa+uvzrvo-wr9g2doncoxive9xdsqf2t0vad-qzy_hgzy7j...@mail.gmail.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14564] Re: [ub] Sized integer types and char bits

Date: Sat, 19 Oct 2013 08:37:03 +0200
From: =?UTF-8?B?SW9uIEdhenRhw7FhZ2E=?= <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
 <cagg_6+mz-bo2rs-rlnqgxobkz1hv17u7wkr924voatb7doh...@mail.gmail.com>
 <ca+jcflvclodv59vyv_r6-vwhn5hxfs1mm0rrac-pfjvh4bx...@mail.gmail.com>
 <cagg_6+nrxp_anbvmznkunedlcrrnh1xt+ssj7ninamygygj...@mail.gmail.com>
 <CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1...@mail.gmail.com>
 <c7ee95de94e94f6db9ad38edef4fa...@by2pr03mb091.namprd03.prod.outlook.com>  
<4faee2ff47524ee1b37d0852ed530...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<37b63d23d2a045dd8ae24fa06f893...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<b189ea5c75d242a5b795bb524b2ea...@sn2pr03mb093.namprd03.prod.outlook.com>  
<cagujnyd7buljkn1tcpx0_hwsq2phunew8zypuns0ty8wzts...@mail.gmail.com>  
<394d2a6c4d524ea49607aabbe8fc2...@dm2pr03mb304.namprd03.prod.outlook.com>  
<[email protected]> 
<caa+uvzrvo-wr9g2doncoxive9xdsqf2t0vad-qzy_hgzy7j...@mail.gmail.com>
Subject: [c++std-ext-14565] Re: [ub] Sized integer types and char bits

Date: Sat, 19 Oct 2013 02:03:47 -0500
From: Gabriel Dos Reis <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14566] Re: [ub] Sized integer types and char bits

Date: Sat, 19 Oct 2013 10:02:14 +0200
From: Jean-Marc Bourguet <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
<cagg_6+mz-bo2rs-rlnqgxobkz1hv17u7wkr924voatb7doh...@mail.gmail.com>
<ca+jcflvclodv59vyv_r6-vwhn5hxfs1mm0rrac-pfjvh4bx...@mail.gmail.com>
<cagg_6+nrxp_anbvmznkunedlcrrnh1xt+ssj7ninamygygj...@mail.gmail.com>
<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1...@mail.gmail.com>
<c7ee95de94e94f6db9ad38edef4fa...@by2pr03mb091.namprd03.prod.outlook.com> 
<4faee2ff47524ee1b37d0852ed530...@bn1pr03mb107.namprd03.prod.outlook.com>
<[email protected]>
<37b63d23d2a045dd8ae24fa06f893...@bn1pr03mb107.namprd03.prod.outlook.com> 
<[email protected]>
<b189ea5c75d242a5b795bb524b2ea...@sn2pr03mb093.namprd03.prod.outlook.com> 
<cagujnyd7buljkn1tcpx0_hwsq2phunew8zypuns0ty8wzts...@mail.gmail.com>
<394d2a6c4d524ea49607aabbe8fc2...@dm2pr03mb304.namprd03.prod.outlook.com> 
<[email protected]>
<caa+uvzrvo-wr9g2doncoxive9xdsqf2t0vad-qzy_hgzy7j...@mail.gmail.co
Subject: [c++std-ext-14567] Re: [ub] Sized integer types and char bits

Date: Sat, 19 Oct 2013 21:37:31 +0000
From: Herb Sutter <[email protected]>
Message-ID:
<dae22e95c446444a8b3c8d7c54c8b...@bn1pr03mb107.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14568] Re: [ub] Sized integer types and char bits

Date: Sat, 19 Oct 2013 23:51:06 -0400
From: Jason Merrill <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
 <8fdbbcb040164f1f97a25e609fc54...@dm2pr03mb304.namprd03.prod.outlook.com>  
<CA+jCFLt5o_TmO9tnSMr3b=w3zcdvayakbcd3mpu4jq-aefs...@mail.gmail.com>  
<cagg_6+mz-bo2rs-rlnqgxobkz1hv17u7wkr924voatb7doh...@mail.gmail.com>  
<ca+jcflvclodv59vyv_r6-vwhn5hxfs1mm0rrac-pfjvh4bx...@mail.gmail.com>  
<cagg_6+nrxp_anbvmznkunedlcrrnh1xt+ssj7ninamygygj...@mail.gmail.com>  
<CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1...@mail.gmail.com>  
<c7ee95de94e94f6db9ad38edef4fa...@by2pr03mb091.namprd03.prod.outlook.com>  
<4faee2ff47524ee1b37d0852ed530...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<37b63d23d2a045dd8ae24fa06f893...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<b189ea5c75d242a5b795bb524b2ea...@sn2pr03mb093.namprd03.prod.outlook.com> 
<CAA+UVZTx+ZDBdQ2USFn+D=snq-olrgbrg3nxubisy6smyf1...@mail.gmail.com>
Subject: [c++std-ext-14569] Re: [ub] Re: Sized integer types and char bits

Date: Sun, 20 Oct 2013 13:18:10 +0200
From: =?windows-1252?Q?Ion_Gazta=F1aga?= <[email protected]>
Message-ID: <[email protected]>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
 <cagg_6+nrxp_anbvmznkunedlcrrnh1xt+ssj7ninamygygj...@mail.gmail.com>
 <CANh-dXm8PNWHBJ49GV9vu3OdRB1MHC+XJY=JAy8PVyUe9=1...@mail.gmail.com>
 <c7ee95de94e94f6db9ad38edef4fa...@by2pr03mb091.namprd03.prod.outlook.com>  
<4faee2ff47524ee1b37d0852ed530...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<37b63d23d2a045dd8ae24fa06f893...@bn1pr03mb107.namprd03.prod.outlook.com>  
<[email protected]>  
<b189ea5c75d242a5b795bb524b2ea...@sn2pr03mb093.namprd03.prod.outlook.com>  
<cagujnyd7buljkn1tcpx0_hwsq2phunew8zypuns0ty8wzts...@mail.gmail.com>  
<394d2a6c4d524ea49607aabbe8fc2...@dm2pr03mb304.namprd03.prod.outlook.com>  
<[email protected]>  
<caa+uvzrvo-wr9g2doncoxive9xdsqf2t0vad-qzy_hgzy7j...@mail.gmail.com>  
<[email protected]> 
<dae22e95c446444a8b3c8d7c54c8b...@bn1pr03mb107.namprd03.prod.outlook.com>
Subject: [c++std-ext-14570] Re: [ub] Sized integer types and char bits

Date: Mon, 21 Oct 2013 16:22:38 +0000
From: Herb Sutter <[email protected]>
Message-ID:
<084fdfce6dda46cc99edea348b28b...@bn1pr03mb107.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14577] Re: [ub] Sized integer types and char bits

Date: Thu, 24 Oct 2013 15:40:47 -0700
From: Richard Smith <[email protected]>
Message-ID:
<CAGL0aWeP8Ku=4b66xss4qmljuxkxe9smipg7pfvm3rorxqg...@mail.gmail.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14587] Re: [ub] Re: Sized integer types and char bits

Date: Thu, 24 Oct 2013 22:50:30 +0000
From: Gabriel Dos Reis <[email protected]>
Message-ID:
<4ed19f87c10c46b28c6a8514583d3...@dm2pr03mb304.namprd03.prod.outlook.com>
References:
<canh-dxkxpwcgncyp_tfvh0yxb6__mkbzfbcnopeyunz_arv...@mail.gmail.com>
Subject: [c++std-ext-14589] Re: [ub] Re: Sized integer types and char bits

> 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: 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)

Reply via email to