[jira] [Commented] (ARIES-1842) CxfJaxRsServiceRegistrator might NPE when using service references of already unregistered services

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ARIES-1842:


Commit 843fd7a21a6858fa790566dd24d26561193c0166 in aries-jax-rs-whiteboard's 
branch refs/heads/master from [~csierra]
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=843fd7a ]

[ARIES-1842] Handle null returns

fixes #ARIES-1842


> CxfJaxRsServiceRegistrator might NPE when using service references of already 
> unregistered services
> ---
>
> Key: ARIES-1842
> URL: https://issues.apache.org/jira/browse/ARIES-1842
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> or if the service factory returns null for whatever reason.
> The whiteboard implementation should defend against this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ARIES-1842) CxfJaxRsServiceRegistrator might NPE when using service references of already unregistered services

2018-10-04 Thread Carlos Sierra (JIRA)


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

Carlos Sierra updated ARIES-1842:
-
Component/s: jax-rs-whiteboard

> CxfJaxRsServiceRegistrator might NPE when using service references of already 
> unregistered services
> ---
>
> Key: ARIES-1842
> URL: https://issues.apache.org/jira/browse/ARIES-1842
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> or if the service factory returns null for whatever reason.
> The whiteboard implementation should defend against this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (ARIES-1843) JAX-RS Whiteboard is not handling _unregistering_ services

2018-10-04 Thread Carlos Sierra (JIRA)


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

Carlos Sierra reassigned ARIES-1843:


Assignee: Carlos Sierra

> JAX-RS Whiteboard is not handling _unregistering_ services
> --
>
> Key: ARIES-1843
> URL: https://issues.apache.org/jira/browse/ARIES-1843
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Assignee: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> During service unregistration it can happen that the whiteboard refreshes the 
> application. This can lead to request a new instance of a service that is 
> being unregistered in that thread. This condition has to be explicitly 
> checked because, during this process, the service reference still appears as 
> registered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (ARIES-1843) JAX-RS Whiteboard is not handling _unregistering_ services

2018-10-04 Thread Carlos Sierra (JIRA)


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

Carlos Sierra resolved ARIES-1843.
--
Resolution: Fixed

> JAX-RS Whiteboard is not handling _unregistering_ services
> --
>
> Key: ARIES-1843
> URL: https://issues.apache.org/jira/browse/ARIES-1843
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Assignee: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> During service unregistration it can happen that the whiteboard refreshes the 
> application. This can lead to request a new instance of a service that is 
> being unregistered in that thread. This condition has to be explicitly 
> checked because, during this process, the service reference still appears as 
> registered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (ARIES-1842) CxfJaxRsServiceRegistrator might NPE when using service references of already unregistered services

2018-10-04 Thread Carlos Sierra (JIRA)


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

Carlos Sierra resolved ARIES-1842.
--
Resolution: Fixed
  Assignee: Carlos Sierra

> CxfJaxRsServiceRegistrator might NPE when using service references of already 
> unregistered services
> ---
>
> Key: ARIES-1842
> URL: https://issues.apache.org/jira/browse/ARIES-1842
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Assignee: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> or if the service factory returns null for whatever reason.
> The whiteboard implementation should defend against this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARIES-1843) JAX-RS Whiteboard is not handling _unregistering_ services

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ARIES-1843:


Commit 663414e70301c233ba0a6f47b60502ae15d5d6be in aries-jax-rs-whiteboard's 
branch refs/heads/master from [~csierra]
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=663414e ]

[ARIES-1843] Check if any service is unregistering

If so, don't request a new instance of it.

fixes #ARIES-1843


> JAX-RS Whiteboard is not handling _unregistering_ services
> --
>
> Key: ARIES-1843
> URL: https://issues.apache.org/jira/browse/ARIES-1843
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> During service unregistration it can happen that the whiteboard refreshes the 
> application. This can lead to request a new instance of a service that is 
> being unregistered in that thread. This condition has to be explicitly 
> checked because, during this process, the service reference still appears as 
> registered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARIES-1842) CxfJaxRsServiceRegistrator might NPE when using service references of already unregistered services

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ARIES-1842:


Commit 843fd7a21a6858fa790566dd24d26561193c0166 in aries-jax-rs-whiteboard's 
branch refs/heads/master from [~csierra]
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=843fd7a ]

[ARIES-1842] Handle null returns

fixes #ARIES-1842


> CxfJaxRsServiceRegistrator might NPE when using service references of already 
> unregistered services
> ---
>
> Key: ARIES-1842
> URL: https://issues.apache.org/jira/browse/ARIES-1842
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> or if the service factory returns null for whatever reason.
> The whiteboard implementation should defend against this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARIES-1843) JAX-RS Whiteboard is not handling _unregistering_ services

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ARIES-1843:


Commit 663414e70301c233ba0a6f47b60502ae15d5d6be in aries-jax-rs-whiteboard's 
branch refs/heads/master from [~csierra]
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=663414e ]

[ARIES-1843] Check if any service is unregistering

If so, don't request a new instance of it.

fixes #ARIES-1843


> JAX-RS Whiteboard is not handling _unregistering_ services
> --
>
> Key: ARIES-1843
> URL: https://issues.apache.org/jira/browse/ARIES-1843
> Project: Aries
>  Issue Type: Bug
>  Components: jax-rs-whiteboard
>Affects Versions: jax-rs-whiteboard-1.0.1
>Reporter: Carlos Sierra
>Priority: Major
> Fix For: jax-rs-whiteboard-1.0.2
>
>
> During service unregistration it can happen that the whiteboard refreshes the 
> application. This can lead to request a new instance of a service that is 
> being unregistered in that thread. This condition has to be explicitly 
> checked because, during this process, the service reference still appears as 
> registered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ARIES-1843) JAX-RS Whiteboard is not handling _unregistering_ services

2018-10-04 Thread Carlos Sierra (JIRA)
Carlos Sierra created ARIES-1843:


 Summary: JAX-RS Whiteboard is not handling _unregistering_ services
 Key: ARIES-1843
 URL: https://issues.apache.org/jira/browse/ARIES-1843
 Project: Aries
  Issue Type: Bug
  Components: jax-rs-whiteboard
Affects Versions: jax-rs-whiteboard-1.0.1
Reporter: Carlos Sierra
 Fix For: jax-rs-whiteboard-1.0.2


During service unregistration it can happen that the whiteboard refreshes the 
application. This can lead to request a new instance of a service that is being 
unregistered in that thread. This condition has to be explicitly checked 
because, during this process, the service reference still appears as registered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)