You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Guillaume Porcher (JIRA)" <ji...@apache.org> on 2009/06/26 11:41:08 UTC
[jira] Created: (CXF-2317) NPE in WS-RM RetransmissionQueueImpl
NPE in WS-RM RetransmissionQueueImpl
------------------------------------
Key: CXF-2317
URL: https://issues.apache.org/jira/browse/CXF-2317
Project: CXF
Issue Type: Bug
Components: WS-* Components
Affects Versions: 2.2.2
Reporter: Guillaume Porcher
When using WS-RM with anonymous acks, this exception occurs after the LastMessage has been acknowledged:
java.lang.NullPointerException
at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.purgeAcknowledged(RetransmissionQueueImpl.java:135)
at org.apache.cxf.ws.rm.SourceSequence.setAcknowledged(SourceSequence.java:141)
at org.apache.cxf.ws.rm.RMInInterceptor.processAcknowledgments(RMInInterceptor.java:125)
at org.apache.cxf.ws.rm.RMInInterceptor.handle(RMInInterceptor.java:101)
at org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:78)
The TerminateSequence message is never sent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2317) NPE in WS-RM RetransmissionQueueImpl
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2317.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.3
2.1.6
2.0.12
Assignee: Daniel Kulp
> NPE in WS-RM RetransmissionQueueImpl
> ------------------------------------
>
> Key: CXF-2317
> URL: https://issues.apache.org/jira/browse/CXF-2317
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.2.2
> Reporter: Guillaume Porcher
> Assignee: Daniel Kulp
> Fix For: 2.0.12, 2.1.6, 2.2.3
>
>
> When using WS-RM with anonymous acks, this exception occurs after the LastMessage has been acknowledged:
> java.lang.NullPointerException
> at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.purgeAcknowledged(RetransmissionQueueImpl.java:135)
> at org.apache.cxf.ws.rm.SourceSequence.setAcknowledged(SourceSequence.java:141)
> at org.apache.cxf.ws.rm.RMInInterceptor.processAcknowledgments(RMInInterceptor.java:125)
> at org.apache.cxf.ws.rm.RMInInterceptor.handle(RMInInterceptor.java:101)
> at org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:78)
> The TerminateSequence message is never sent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-2317) NPE in WS-RM RetransmissionQueueImpl
Posted by "Guillaume Porcher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724449#action_12724449 ]
Guillaume Porcher commented on CXF-2317:
----------------------------------------
In the purgeAcknowledged method:
List<ResendCandidate> sequenceCandidates = getSequenceCandidates(seq);
if (null != sequenceCandidates) {
[... do some stuff ...]
}
if (sequenceCandidates.isEmpty()) {
candidates.remove(seq.getIdentifier().getValue());
}
Nesting the second if inside the first one fixes the exception.
if (null != sequenceCandidates) {
[... do some stuff ...]
if (sequenceCandidates.isEmpty()) {
candidates.remove(seq.getIdentifier().getValue());
}
}
> NPE in WS-RM RetransmissionQueueImpl
> ------------------------------------
>
> Key: CXF-2317
> URL: https://issues.apache.org/jira/browse/CXF-2317
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.2.2
> Reporter: Guillaume Porcher
>
> When using WS-RM with anonymous acks, this exception occurs after the LastMessage has been acknowledged:
> java.lang.NullPointerException
> at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.purgeAcknowledged(RetransmissionQueueImpl.java:135)
> at org.apache.cxf.ws.rm.SourceSequence.setAcknowledged(SourceSequence.java:141)
> at org.apache.cxf.ws.rm.RMInInterceptor.processAcknowledgments(RMInInterceptor.java:125)
> at org.apache.cxf.ws.rm.RMInInterceptor.handle(RMInInterceptor.java:101)
> at org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:78)
> The TerminateSequence message is never sent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.