[jira] [Updated] (ARIES-2048) [TypedEvent] Topic validation
[ https://issues.apache.org/jira/browse/ARIES-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-2048: -- Description: Hi, 1. a Componet `Typed Event` is missing in Jira. 2. the Method `deliver` and `deliveruntyped` of the EventBus should validate the topic Spec: 157.3.1 Event Topics This test tests expect an IllArgExt. {code:java} @ParameterizedTest @ValueSource(strings = { "*", "%", "/", "//", "a//b", "//b", "a//", "a/", "a/*/*/b", "a/b/c/", "a/*/*", " /*", " ", "a/ /b", " / ", "Bär" }) public void test_deliver_2_topic_invalid_should_throws_exception( String invalidTopic) { assertThatIllegalArgumentException().isThrownBy(() -> { typedEventBus.deliver(invalidTopic, dto); }); } {code} The topic should also not be `null` This should work file: {code:java} @ParameterizedTest @ValueSource(strings = { "a", "A", "a/b", "A/B", "A/b/C", "a/b/c", "foO/BaR", "$", "$/$a$/$" "$/a/A/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/1/2/3/4/5/6/7/8/9/0/-/_", "1", "2/3", "4/a/5", "a/_", "-/-", "_/_", "-", "_" }) public void test_deliver_2_topic_valid_should_not_throws_exception( String validTopic) { typedEventBus.deliver(validTopic, dto); } {code} was: Hi, 1. a Componet `Typed Event` is missing in Jira. 2. the Method `deliver` and `deliveruntyped` of the EventBus should validate the topic Spec: 157.3.1 Event Topics This test tests expect an IllArgExt. {code:java} @ParameterizedTest @ValueSource(strings = { "*", "%", "/", "//", "a//b", "//b", "a//", "a/", "a/*/*/b", "a/b/c/", "a/*/*", " /*", " ", "a/ /b", " / " }) public void test_deliver_2_topic_invalid_should_throws_exception( String invalidTopic) { assertThatIllegalArgumentException().isThrownBy(() -> { typedEventBus.deliver(invalidTopic, dto); }); } {code} The topic should also not be `null` This should work file: {code:java} @ParameterizedTest @ValueSource(strings = { "a", "A", "a/b", "A/B", "A/b/C", "a/b/c", "foO/BaR", "a/A/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/ä/ü/ö/ß/é/1/2/3/4/5/6/7/8/9/0/-/_", "1", "2/3", "4/a/5", "a/_", "-/-", "_/_", "-", "_" }) public void test_deliver_2_topic_valid_should_not_throws_exception( String validTopic) { typedEventBus.deliver(validTopic, dto); } {code} > [TypedEvent] Topic validation > - > > Key: ARIES-2048 > URL: https://issues.apache.org/jira/browse/ARIES-2048 > Project: Aries > Issue Type: TCK Challenge > Components: Typed Event >Reporter: Stefan Bischof >Priority: Major > > Hi, > 1. a Componet `Typed Event` is missing in Jira. > 2. the Method `deliver` and `deliveruntyped` of the EventBus should validate > the topic > Spec: 157.3.1 Event Topics > This test tests expect an IllArgExt. > {code:java} > @ParameterizedTest > @ValueSource(strings = { > "*", "%", "/", "//", "a//b", "//b", "a//", "a/", > "a/*/*/b", > "a/b/c/", "a/*/*", " /*", " ", "a/ /b", " / ", "Bär" > }) > public void test_deliver_2_topic_invalid_should_throws_exception( > String invalidTopic) { > assertThatIllegalArgumentException().isThrownBy(() -> { > typedEventBus.deliver(invalidTopic, dto); > }); > } > {code} > The topic should also not be `null` > This should work file: > {code:java} > @ParameterizedTest > @ValueSource(strings = { > "a", "A", "a/b", "A/B", "A/b/C", "a/b/c", "foO/BaR", > "$", "$/$a$/$" > > "$/a/A/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/1/2/3/4/5/6/7/8/9/0/-/_", > "1", "2/3", "4/a/5", "a/_", "-/-", "_/_", "-", "_" > }) > public void test_deliver_2_topic_valid_should_not_throws_exception( > String validTopic) { > typedEventBus.deliver(validTopic, dto); > } > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (ARIES-2049) [TypedEvent] Event validation
[ https://issues.apache.org/jira/browse/ARIES-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-2049: -- Component/s: Typed Event Description: Delivering a typed and untypedEvent that is `null` should throw an exception {code:java} @Test public void test_deliveruntyped_map_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliverUntyped("a", null); }); } @Test public void test_deliver_2_event_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliver("a", null); }); }{code} was: {code:java} @Test public void test_deliveruntyped_map_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliverUntyped("a", null); }); } @Test public void test_deliver_2_event_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliver("a", null); }); }{code} Summary: [TypedEvent] Event validation (was: [T) > [TypedEvent] Event validation > - > > Key: ARIES-2049 > URL: https://issues.apache.org/jira/browse/ARIES-2049 > Project: Aries > Issue Type: TCK Challenge > Components: Typed Event >Reporter: Stefan Bischof >Priority: Major > > Delivering a typed and untypedEvent that is `null` should throw an exception > {code:java} > @Test > public void test_deliveruntyped_map_null_should_throws_exception() { > assertThatNullPointerException().isThrownBy(() -> { > typedEventBus.deliverUntyped("a", null); > }); > } > @Test > public void test_deliver_2_event_null_should_throws_exception() { > assertThatNullPointerException().isThrownBy(() -> { > typedEventBus.deliver("a", null); > }); > }{code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ARIES-2049) [T
Stefan Bischof created ARIES-2049: - Summary: [T Key: ARIES-2049 URL: https://issues.apache.org/jira/browse/ARIES-2049 Project: Aries Issue Type: TCK Challenge Reporter: Stefan Bischof {code:java} @Test public void test_deliveruntyped_map_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliverUntyped("a", null); }); } @Test public void test_deliver_2_event_null_should_throws_exception() { assertThatNullPointerException().isThrownBy(() -> { typedEventBus.deliver("a", null); }); }{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ARIES-2048) [TypedEvent] Topic validation
Stefan Bischof created ARIES-2048: - Summary: [TypedEvent] Topic validation Key: ARIES-2048 URL: https://issues.apache.org/jira/browse/ARIES-2048 Project: Aries Issue Type: TCK Challenge Reporter: Stefan Bischof Hi, 1. a Componet `Typed Event` is missing in Jira. 2. the Method `deliver` and `deliveruntyped` of the EventBus should validate the topic Spec: 157.3.1 Event Topics This test tests expect an IllArgExt. {code:java} @ParameterizedTest @ValueSource(strings = { "*", "%", "/", "//", "a//b", "//b", "a//", "a/", "a/*/*/b", "a/b/c/", "a/*/*", " /*", " ", "a/ /b", " / " }) public void test_deliver_2_topic_invalid_should_throws_exception( String invalidTopic) { assertThatIllegalArgumentException().isThrownBy(() -> { typedEventBus.deliver(invalidTopic, dto); }); } {code} The topic should also not be `null` This should work file: {code:java} @ParameterizedTest @ValueSource(strings = { "a", "A", "a/b", "A/B", "A/b/C", "a/b/c", "foO/BaR", "a/A/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/ä/ü/ö/ß/é/1/2/3/4/5/6/7/8/9/0/-/_", "1", "2/3", "4/a/5", "a/_", "-/-", "_/_", "-", "_" }) public void test_deliver_2_topic_valid_should_not_throws_exception( String validTopic) { typedEventBus.deliver(validTopic, dto); } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof closed ARIES-1795. - Resolution: Fixed Works with the new snapshot! > java.lang.IllegalStateException: The service registration is no longer valid. > - > > Key: ARIES-1795 > URL: https://issues.apache.org/jira/browse/ARIES-1795 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Critical > Attachments: log.txt, log2.txt > > > Hi Carlos, > > is this a Felix, an Aries-Whiteboard or (again) my Error? > I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin. > > {code:java} > java.lang.IllegalStateException: The service registration is no longer valid. > at > org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109) > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at > org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at > org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911) > at > org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990) > at > org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838) > at >
[jira] [Commented] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16454603#comment-16454603 ] Stefan Bischof commented on ARIES-1795: --- Hi, sorry that was a bit short. 13 STPPD 201830241837 reference:file:/builds/project-name/mvn-workspace/.m2/repository/org/apache/felix/org.apache.felix.http.jetty/3.4.8/org.apache.felix.http.jetty-3.4.8.jar -ea, aQute.launcher.Launcher] executed with result=-9, I will send you more information when i get all dependencys to work again. org.apache.felix.framework 5.9.0-SNAPSHOT uses some pom-references which are not awaylible for me. (felix-parent 5-SNAPSHOT). > java.lang.IllegalStateException: The service registration is no longer valid. > - > > Key: ARIES-1795 > URL: https://issues.apache.org/jira/browse/ARIES-1795 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Critical > Attachments: log.txt, log2.txt > > > Hi Carlos, > > is this a Felix, an Aries-Whiteboard or (again) my Error? > I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin. > > {code:java} > java.lang.IllegalStateException: The service registration is no longer valid. > at > org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109) > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at > org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at >
[jira] [Comment Edited] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16453751#comment-16453751 ] Stefan Bischof edited comment on ARIES-1795 at 4/26/18 9:32 AM: Hi, half the way ;) can't see the whiteboard stacktrace any more, but failes! {code:java} Welcome to Apache Felix Gogo g! gosh: stopping shell and framework 07:47:03.083 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.SessionHandler@d5b810e added {org.eclipse.jetty.server.session.HashSessionManager@43dac38f,AUTO} 07:47:03.083 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - o.e.j.s.ServletContextHandler@7205765b{/,null,null} added {org.eclipse.jetty.server.session.SessionHandler@d5b810e,MANAGED} 07:47:03.085 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.SessionHandler@d5b810e added {org.eclipse.jetty.servlet.ServletHandler@2ea41516,MANAGED} 07:47:03.086 [main] DEBUG org.eclipse.jetty.server.session - Sessions created by this manager are immortal (default maxInactiveInterval=0) 07:47:03.086 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.HashSessionManager@43dac38f added {org.apache.felix.http.base.internal.EventDispatcher@194bcebf,UNMANAGED} 07:47:03.087 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.servlet.ServletHandler@2ea41516 added {org.apache.felix.http.base.internal.dispatch.DispatcherServlet-550dbc7a@2e1baff0==org.apache.felix.http.base.internal.dispatch.DispatcherServlet,jsp=null,order=-1,inst=true,AUTO} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.servlet.ServletHandler@2ea41516 added {[/*]=>org.apache.felix.http.base.internal.dispatch.DispatcherServlet-550dbc7a,POJO} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.Server@3514a4c0 added {org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}],MANAGED} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.Server@3514a4c0 07:47:03.089 [main] INFO org.eclipse.jetty.server.Server - jetty-9.3.22.v20171030 07:47:03.099 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting org.eclipse.jetty.server.Server@3514a4c0 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting qtp1427040229{STOPPED,8<=0<=200,i=0,q=0} 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @531ms qtp1427040229{STARTED,8<=8<=200,i=8,q=0} 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting HashLoginService[OSGi HTTP Service Realm] 07:47:03.100 [main] DEBUG org.eclipse.jetty.security.HashLoginService - doStart: Starting new PropertyUserStore. PropertiesFile: null hotReload: false 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.security.PropertyUserStore[users.count=0identityService=org.eclipse.jetty.security.DefaultIdentityService@5e600dd5] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @533ms org.eclipse.jetty.security.PropertyUserStore[users.count=0identityService=org.eclipse.jetty.security.DefaultIdentityService@5e600dd5] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @533ms HashLoginService[OSGi HTTP Service Realm] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.server.handler.ContextHandlerCollection - ->[{o.e.j.s.ServletContextHandler@7205765b{/,null,null},[o.e.j.s.ServletContextHandler@7205765b{/,null,null}]}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting o.e.j.s.ServletContextHandler@7205765b{/,null,null} 07:47:03.104 [main] DEBUG org.eclipse.jetty.http.PreEncodedHttpField - HttpField encoders loaded: [] 07:47:03.108 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting o.e.j.s.ServletContextHandler@7205765b{/,null,STARTING} 07:47:03.108 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.session.SessionHandler@d5b810e 07:47:03.108 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting
[jira] [Updated] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-1795: -- Attachment: log2.txt > java.lang.IllegalStateException: The service registration is no longer valid. > - > > Key: ARIES-1795 > URL: https://issues.apache.org/jira/browse/ARIES-1795 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Critical > Attachments: log.txt, log2.txt > > > Hi Carlos, > > is this a Felix, an Aries-Whiteboard or (again) my Error? > I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin. > > {code:java} > java.lang.IllegalStateException: The service registration is no longer valid. > at > org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109) > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at > org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at > org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911) > at > org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990) > at > org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838) > at >
[jira] [Comment Edited] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16453751#comment-16453751 ] Stefan Bischof edited comment on ARIES-1795 at 4/26/18 9:33 AM: Hi, half the way ;) can't see the whiteboard stacktrace any more, but failes! [^log2.txt] {code:java} Welcome to Apache Felix Gogo g! gosh: stopping shell and framework 07:47:03.083 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.SessionHandler@d5b810e added {org.eclipse.jetty.server.session.HashSessionManager@43dac38f,AUTO} 07:47:03.083 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - o.e.j.s.ServletContextHandler@7205765b{/,null,null} added {org.eclipse.jetty.server.session.SessionHandler@d5b810e,MANAGED} 07:47:03.085 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.SessionHandler@d5b810e added {org.eclipse.jetty.servlet.ServletHandler@2ea41516,MANAGED} 07:47:03.086 [main] DEBUG org.eclipse.jetty.server.session - Sessions created by this manager are immortal (default maxInactiveInterval=0) 07:47:03.086 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.session.HashSessionManager@43dac38f added {org.apache.felix.http.base.internal.EventDispatcher@194bcebf,UNMANAGED} 07:47:03.087 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.servlet.ServletHandler@2ea41516 added {org.apache.felix.http.base.internal.dispatch.DispatcherServlet-550dbc7a@2e1baff0==org.apache.felix.http.base.internal.dispatch.DispatcherServlet,jsp=null,order=-1,inst=true,AUTO} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.servlet.ServletHandler@2ea41516 added {[/*]=>org.apache.felix.http.base.internal.dispatch.DispatcherServlet-550dbc7a,POJO} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.server.Server@3514a4c0 added {org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}],MANAGED} 07:47:03.088 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.Server@3514a4c0 07:47:03.089 [main] INFO org.eclipse.jetty.server.Server - jetty-9.3.22.v20171030 07:47:03.099 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting org.eclipse.jetty.server.Server@3514a4c0 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting qtp1427040229{STOPPED,8<=0<=200,i=0,q=0} 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @531ms qtp1427040229{STARTED,8<=8<=200,i=8,q=0} 07:47:03.100 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting HashLoginService[OSGi HTTP Service Realm] 07:47:03.100 [main] DEBUG org.eclipse.jetty.security.HashLoginService - doStart: Starting new PropertyUserStore. PropertiesFile: null hotReload: false 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.security.PropertyUserStore[users.count=0identityService=org.eclipse.jetty.security.DefaultIdentityService@5e600dd5] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @533ms org.eclipse.jetty.security.PropertyUserStore[users.count=0identityService=org.eclipse.jetty.security.DefaultIdentityService@5e600dd5] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @533ms HashLoginService[OSGi HTTP Service Realm] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.server.handler.ContextHandlerCollection - ->[{o.e.j.s.ServletContextHandler@7205765b{/,null,null},[o.e.j.s.ServletContextHandler@7205765b{/,null,null}]}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@35aea049[o.e.j.s.ServletContextHandler@7205765b{/,null,null}] 07:47:03.102 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting o.e.j.s.ServletContextHandler@7205765b{/,null,null} 07:47:03.104 [main] DEBUG org.eclipse.jetty.http.PreEncodedHttpField - HttpField encoders loaded: [] 07:47:03.108 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting o.e.j.s.ServletContextHandler@7205765b{/,null,STARTING} 07:47:03.108 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.server.session.SessionHandler@d5b810e 07:47:03.108 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler - starting
[jira] [Commented] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16451738#comment-16451738 ] Stefan Bischof commented on ARIES-1795: --- Hi, this is an older version of the project, bit is hat the same problem while bi_build, https://github.com/bipolis/mambo/tree/dev_stbischof/org.bipolis.mambo.jaxrs.itest > java.lang.IllegalStateException: The service registration is no longer valid. > - > > Key: ARIES-1795 > URL: https://issues.apache.org/jira/browse/ARIES-1795 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Critical > Attachments: log.txt > > > Hi Carlos, > > is this a Felix, an Aries-Whiteboard or (again) my Error? > I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin. > > {code:java} > java.lang.IllegalStateException: The service registration is no longer valid. > at > org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109) > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at > org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at > org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911) > at >
[jira] [Closed] (ARIES-1789) ClientBuilder and SSE
[ https://issues.apache.org/jira/browse/ARIES-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof closed ARIES-1789. - Resolution: Fixed > ClientBuilder and SSE > - > > Key: ARIES-1789 > URL: https://issues.apache.org/jira/browse/ARIES-1789 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > > Hi, > when using: > clientBuilder.newBuilder(); > i got a > > {code:java} > java.lang.ClassNotFoundException: > org.glassfish.jersey.client.JerseyClientBuilder not found by > org.apache.aries.javax.jax.rs-api > or > java.lang.ClassNotFoundException: > org.glassfish.jersey.media.sse.internal.JerseySseEventSource$Builder not > found by org.apache.aries.javax.jax.rs-api [7] > at > javax.ws.rs.sse.SseEventSource$Builder.newBuilder(SseEventSource.java:153) > at javax.ws.rs.sse.SseEventSource.target(SseEventSource.java:238) > at de.jena.servicehub.phone.demo.DemoSseClient.test(DemoSseClient.java:38) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:136) > at > org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:91) > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:571) > at > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:497) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386) > at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417) > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.ClassNotFoundException: > org.glassfish.jersey.media.sse.internal.JerseySseEventSource$Builder not > found by org.apache.aries.javax.jax.rs-api [7] > at > org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639{code} > > Both builders uses defaultClassNames > > {code:java} > javax.ws.rs.client.ClientBuilder > JAXRS_DEFAULT_CLIENT_BUILDER = > "org.glassfish.jersey.client.JerseyClientBuilder"; > > javax.ws.rs.sse.SseEventSource.Builder > String JAXRS_DEFAULT_SSE_BUILDER = > "org.glassfish.jersey.media.sse.internal.JerseySseEventSource$Builder"; > {code} > Both calls > javax.ws.rs.client.FactoryFinder.find(..) > and tryes to get the Object over > -ServiceLoader > -java.home/jaxrs.properties > -SystemPropertys > -Class.forName(defaultclassName); > 1. is there any was to use .newBuilder? > 2. is ther eny way to @Reference SseEventSource? > 3. is there any handling of serverside events in Aries Whiteboard or is it > necessary to register the SseFeature of(cxf/jersy) by myselfe? > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Closed] (ARIES-1784) @Component without (service=A.class) end in Nullpointer
[ https://issues.apache.org/jira/browse/ARIES-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof closed ARIES-1784. - Resolution: Fixed > @Component without (service=A.class) end in Nullpointer > --- > > Key: ARIES-1784 > URL: https://issues.apache.org/jira/browse/ARIES-1784 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > > Hi, > when i hava a Ressource annotated with @Component but without > (service=A.class) and call AriesJaxrsServiceRuntime.getRuntimeDTO i get a in > Nullpointer > org.apache.aries.jax.rs.whiteboard.internal.CxfJaxrsServiceRegistrator.getStaticResourceC > lasses(CxfJaxrsServiceRegistrator.java:307 > Stacktrace: > Feb 20, 2018 1:50:50 PM org.apache.cxf.phase.PhaseInterceptorChain > doDefaultLogging > WARNUNG: Application > {openapi.rsw.hub.domain.org/} > OpenApiResource has thrown > exception, unwinding now > org.apache.cxf.interceptor.Fault > at > > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) > at > > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java > :59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerIntercep > tor.java:96) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:1 > 21) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java > :267) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.ja > va:234) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:191) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.ja > va:301) > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276 > ) > at > org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85) > at > org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav > a:79) > at > > org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128) > at > org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet. > java:49) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) > at > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) > at > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) > at > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection > .java:213) > at > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:534) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) > at > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:28 > 3) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) > at > > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) > at > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(Execut > eProduceConsume.java:303) > at > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduc > eConsume.java:148) > at >
[jira] [Updated] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
[ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-1795: -- Attachment: log.txt > java.lang.IllegalStateException: The service registration is no longer valid. > - > > Key: ARIES-1795 > URL: https://issues.apache.org/jira/browse/ARIES-1795 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Critical > Attachments: log.txt > > > Hi Carlos, > > is this a Felix, an Aries-Whiteboard or (again) my Error? > I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin. > > {code:java} > java.lang.IllegalStateException: The service registration is no longer valid. > at > org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109) > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:380) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at > org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36) > at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96) > at > org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969) > at > org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871) > at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) > at > org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911) > at > org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990) > at > org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838) > at >
[jira] [Commented] (ARIES-1794) java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy
[ https://issues.apache.org/jira/browse/ARIES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16449952#comment-16449952 ] Stefan Bischof commented on ARIES-1794: --- Hi Carlos, Sorry! There was a newer(SNAPSHOT) of an older commit in my local .m2. I'm not sure why this effects instantly after switching to the R7 Release. Everything is fine! Thank you for your work on rs-whiteboard! Is there any timeline for the release version? Great Job! > java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy > -- > > Key: ARIES-1794 > URL: https://issues.apache.org/jira/browse/ARIES-1794 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > > Hello, > when using OSGi R7 - org.osgi.util.function 1.1.0 > I got this Exception. > {code:java} > ! Failed to start bundle > org.apache.aries.jax.rs.whiteboard-0.0.1.201804171134, exception activator > error > org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi; > from: org.apache.aries.jax.rs.whiteboard.internal.utils.Utils:highestPer#118 > org.osgi.framework.BundleException: Activator start error in bundle > org.apache.aries.jax.rs.whiteboard [7]. > at org.apache.felix.framework.Felix.activateBundle(Felix.java:2428) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2284) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) > at aQute.launcher.Launcher.startBundles(Launcher.java:517) > at aQute.launcher.Launcher.activate(Launcher.java:423) > at aQute.launcher.Launcher.run(Launcher.java:301) > at aQute.launcher.Launcher.main(Launcher.java:147) > Caused by: java.lang.NoSuchMethodError: > org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi; > at > org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.highestPer(Utils.java:118) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.getAllServices(Whiteboard.java:236) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.(Whiteboard.java:154) > at > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.createWhiteboard(Whiteboard.java:161) > at > org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.runWhiteboard(CxfJaxrsBundleActivator.java:144) > at > org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.start(CxfJaxrsBundleActivator.java:86) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:2378) > ... 6 more{code} > > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (ARIES-1794) java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy
Stefan Bischof created ARIES-1794: - Summary: java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy Key: ARIES-1794 URL: https://issues.apache.org/jira/browse/ARIES-1794 Project: Aries Issue Type: Bug Components: jax-rs-whiteboard Affects Versions: jax-rs-whiteboard-1.0.0 Reporter: Stefan Bischof Hello, when using OSGi R7 - org.osgi.util.function 1.1.0 I got this Exception. {code:java} ! Failed to start bundle org.apache.aries.jax.rs.whiteboard-0.0.1.201804171134, exception activator error org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi; from: org.apache.aries.jax.rs.whiteboard.internal.utils.Utils:highestPer#118 org.osgi.framework.BundleException: Activator start error in bundle org.apache.aries.jax.rs.whiteboard [7]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:2428) at org.apache.felix.framework.Felix.startBundle(Felix.java:2284) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at aQute.launcher.Launcher.startBundles(Launcher.java:517) at aQute.launcher.Launcher.activate(Launcher.java:423) at aQute.launcher.Launcher.run(Launcher.java:301) at aQute.launcher.Launcher.main(Launcher.java:147) Caused by: java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi; at org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.highestPer(Utils.java:118) at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.getAllServices(Whiteboard.java:236) at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.(Whiteboard.java:154) at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.createWhiteboard(Whiteboard.java:161) at org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.runWhiteboard(CxfJaxrsBundleActivator.java:144) at org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.start(CxfJaxrsBundleActivator.java:86) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2378) ... 6 more{code} regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Closed] (ARIES-1785) Application without JAX_RS_EXTENSION_SELECT fetchs Extension
[ https://issues.apache.org/jira/browse/ARIES-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof closed ARIES-1785. - Resolution: Fixed Hi Carlos, it work for me as explained. Thank you. > Application without JAX_RS_EXTENSION_SELECT fetchs Extension > > > Key: ARIES-1785 > URL: https://issues.apache.org/jira/browse/ARIES-1785 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > Attachments: test.txt > > > Hi, > an application without any JAX_RS_EXTENSION_SELECT property fetchs a > extention. > see the attached test for more information. > (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Closed] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof closed ARIES-1754. - Resolution: Fixed @ComponentPropertyType Annotations just work with newer versions of bnd. Thank you and close this issue > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (ARIES-1785) Application without JAX_RS_EXTENSION_SELECT fetchs Extension
[ https://issues.apache.org/jira/browse/ARIES-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371112#comment-16371112 ] Stefan Bischof edited comment on ARIES-1785 at 2/21/18 9:28 AM: Hi Carlos, the RSWhiteboard should be able to handle this scenario: I have a extension "BasicAuthSecurityFilter" with the component-property "extension.security=true" Then I would add an Applications that should uses this BasicAuthSecurityFilter "osgi.jaxrs.extension.select=(extension.security=true)" But I have a second Application that *should not use BasicAuthSecurityFilter*. if I do "osgi.jaxrs.extension.select=(extension.security=*false*)" the Application will not activate if I do not use any "osgi.jaxrs.extension.select" it will have the BasicAuthSecurityFilter. Is there any option at the moment? I think the extension should decide that between an "global" or "select_only" option regards Stefan was (Author: bisch...@jena.de): Hi Carlos, the RSWhiteboard should be able to handle this scenario: I have a extension "BasicAuthSecurityFilter" with the component-property "extension.security=true" Then I would add an Applications that should uses this BasicAuthSecurityFilter "osgi.jaxrs.extension.select=(extension.security=true)" But I have a second Application that *should not use BasicAuthSecurityFilter*. if I do "osgi.jaxrs.extension.select=(extension.security=*false*)" the Application will not activate if I do not use any "osgi.jaxrs.extension.select" it will have the BasicAuthSecurityFilter. Is there any option at the moment? regards Stefan > Application without JAX_RS_EXTENSION_SELECT fetchs Extension > > > Key: ARIES-1785 > URL: https://issues.apache.org/jira/browse/ARIES-1785 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > Attachments: test.txt > > > Hi, > an application without any JAX_RS_EXTENSION_SELECT property fetchs a > extention. > see the attached test for more information. > (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ARIES-1784) @Component without (service=A.class) end in Nullpointer
[ https://issues.apache.org/jira/browse/ARIES-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371126#comment-16371126 ] Stefan Bischof commented on ARIES-1784: --- @Test public void testAppl() { DictionarypropertiesA = new Hashtable<>(); propertiesA.put(JAX_RS_APPLICATION_BASE, "/test-application"); ServiceRegistration serviceRegistrationA = bundleContext.registerService(Application.class, new Application(), propertiesA); _registrations.add(serviceRegistrationA); Dictionary propertiesR = new Hashtable<>(); propertiesR.put(JAX_RS_APPLICATION_SELECT, "(" + JAX_RS_APPLICATION_BASE + "=/test-application)"); Class c = Object.class;//or null? ServiceRegistration serviceRegistrationR = bundleContext.registerService(c, new TestAddon(), propertiesR); _registrations.add(serviceRegistrationR); getRuntimeDTO(); } > @Component without (service=A.class) end in Nullpointer > --- > > Key: ARIES-1784 > URL: https://issues.apache.org/jira/browse/ARIES-1784 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > > Hi, > when i hava a Ressource annotated with @Component but without > (service=A.class) and call AriesJaxrsServiceRuntime.getRuntimeDTO i get a in > Nullpointer > org.apache.aries.jax.rs.whiteboard.internal.CxfJaxrsServiceRegistrator.getStaticResourceC > lasses(CxfJaxrsServiceRegistrator.java:307 > Stacktrace: > Feb 20, 2018 1:50:50 PM org.apache.cxf.phase.PhaseInterceptorChain > doDefaultLogging > WARNUNG: Application > {openapi.rsw.hub.domain.org/} > OpenApiResource has thrown > exception, unwinding now > org.apache.cxf.interceptor.Fault > at > > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) > at > > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java > :59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerIntercep > tor.java:96) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:1 > 21) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java > :267) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.ja > va:234) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:191) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.ja > va:301) > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276 > ) > at > org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85) > at > org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav > a:79) > at > > org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128) > at > org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet. > java:49) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) > at > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) > at > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) > at > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at >
[jira] [Comment Edited] (ARIES-1784) @Component without (service=A.class) end in Nullpointer
[ https://issues.apache.org/jira/browse/ARIES-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371126#comment-16371126 ] Stefan Bischof edited comment on ARIES-1784 at 2/21/18 9:20 AM: {code:java} @Test public void testAppl() { DictionarypropertiesA = new Hashtable<>(); propertiesA.put(JAX_RS_APPLICATION_BASE, "/test-application"); ServiceRegistration serviceRegistrationA = bundleContext.registerService(Application.class, new Application(), propertiesA); _registrations.add(serviceRegistrationA); Dictionary propertiesR = new Hashtable<>(); propertiesR.put(JAX_RS_APPLICATION_SELECT, "(" + JAX_RS_APPLICATION_BASE + "=/test-application)"); Class c = Object.class;//or null? ServiceRegistration serviceRegistrationR = bundleContext.registerService(c, new TestAddon(), propertiesR); _registrations.add(serviceRegistrationR); getRuntimeDTO(); } {code} was (Author: bisch...@jena.de): @Test public void testAppl() { Dictionary propertiesA = new Hashtable<>(); propertiesA.put(JAX_RS_APPLICATION_BASE, "/test-application"); ServiceRegistration serviceRegistrationA = bundleContext.registerService(Application.class, new Application(), propertiesA); _registrations.add(serviceRegistrationA); Dictionary propertiesR = new Hashtable<>(); propertiesR.put(JAX_RS_APPLICATION_SELECT, "(" + JAX_RS_APPLICATION_BASE + "=/test-application)"); Class c = Object.class;//or null? ServiceRegistration serviceRegistrationR = bundleContext.registerService(c, new TestAddon(), propertiesR); _registrations.add(serviceRegistrationR); getRuntimeDTO(); } > @Component without (service=A.class) end in Nullpointer > --- > > Key: ARIES-1784 > URL: https://issues.apache.org/jira/browse/ARIES-1784 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > > Hi, > when i hava a Ressource annotated with @Component but without > (service=A.class) and call AriesJaxrsServiceRuntime.getRuntimeDTO i get a in > Nullpointer > org.apache.aries.jax.rs.whiteboard.internal.CxfJaxrsServiceRegistrator.getStaticResourceC > lasses(CxfJaxrsServiceRegistrator.java:307 > Stacktrace: > Feb 20, 2018 1:50:50 PM org.apache.cxf.phase.PhaseInterceptorChain > doDefaultLogging > WARNUNG: Application > {openapi.rsw.hub.domain.org/} > OpenApiResource has thrown > exception, unwinding now > org.apache.cxf.interceptor.Fault > at > > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) > at > > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java > :59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerIntercep > tor.java:96) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:1 > 21) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java > :267) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.ja > va:234) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:191) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.ja > va:301) > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276 > ) > at > org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85) > at >
[jira] [Commented] (ARIES-1785) Application without JAX_RS_EXTENSION_SELECT fetchs Extension
[ https://issues.apache.org/jira/browse/ARIES-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371112#comment-16371112 ] Stefan Bischof commented on ARIES-1785: --- Hi Carlos, the RSWhiteboard should be able to handle this scenario: I have a extension "BasicAuthSecurityFilter" with the component-property "extension.security=true" Then I would add an Applications that should uses this BasicAuthSecurityFilter "osgi.jaxrs.extension.select=(extension.security=true)" But I have a second Application that *should not use BasicAuthSecurityFilter*. if I do "osgi.jaxrs.extension.select=(extension.security=*false*)" the Application will not activate if I do not use any "osgi.jaxrs.extension.select" it will have the BasicAuthSecurityFilter. Is there any option at the moment? regards Stefan > Application without JAX_RS_EXTENSION_SELECT fetchs Extension > > > Key: ARIES-1785 > URL: https://issues.apache.org/jira/browse/ARIES-1785 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > Attachments: test.txt > > > Hi, > an application without any JAX_RS_EXTENSION_SELECT property fetchs a > extention. > see the attached test for more information. > (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARIES-1785) Application without JAX_RS_EXTENSION_SELECT fetchs Extension
[ https://issues.apache.org/jira/browse/ARIES-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-1785: -- Description: Hi, an application without any JAX_RS_EXTENSION_SELECT property fetchs a extention. see the attached test for more information. (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) regards was: Hi, an application without any JAX_RS_EXTENSION_SELECT property fetchs a extention. see the attached test for more information. regards > Application without JAX_RS_EXTENSION_SELECT fetchs Extension > > > Key: ARIES-1785 > URL: https://issues.apache.org/jira/browse/ARIES-1785 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 >Reporter: Stefan Bischof >Priority: Major > Attachments: test.txt > > > Hi, > an application without any JAX_RS_EXTENSION_SELECT property fetchs a > extention. > see the attached test for more information. > (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (ARIES-1784) @Component without (service=A.class) end in Nullpointer
Stefan Bischof created ARIES-1784: - Summary: @Component without (service=A.class) end in Nullpointer Key: ARIES-1784 URL: https://issues.apache.org/jira/browse/ARIES-1784 Project: Aries Issue Type: Bug Components: jax-rs-whiteboard Affects Versions: jax-rs-whiteboard-1.0.0 Reporter: Stefan Bischof Hi, when i hava a Ressource annotated with @Component but without (service=A.class) and call AriesJaxrsServiceRuntime.getRuntimeDTO i get a in Nullpointer org.apache.aries.jax.rs.whiteboard.internal.CxfJaxrsServiceRegistrator.getStaticResourceC lasses(CxfJaxrsServiceRegistrator.java:307 Stacktrace: Feb 20, 2018 1:50:50 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging WARNUNG: Application {openapi.rsw.hub.domain.org/} OpenApiResource has thrown exception, unwinding now org.apache.cxf.interceptor.Fault at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java :59) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerIntercep tor.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:1 21) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java :267) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.ja va:234) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:191) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.ja va:301) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276 ) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:79) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128) at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet. java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection .java:213) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:28 3) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(Execut eProduceConsume.java:303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduc eConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.ja va:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at
[jira] [Commented] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16247650#comment-16247650 ] Stefan Bischof commented on ARIES-1754: --- Hi Carlos, a missing "," on Import-Package:\ in the bnd file and a missing declaration of (service = OpenApiResource.class) Open but not blocking Points: - org.objectweb.asm maybe optional - with bundles so i need to let the Annotations - what is the License Problem With 2.1? so you can close the Issue Sorry! and Thank you! > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16243259#comment-16243259 ] Stefan Bischof commented on ARIES-1754: --- i think i fixes the problems -localmaven + false version -repository declared in _distro didnt work you should be able to start the launer -jaxrs.openapi -jaxrs.itest do you know which bundles are needes to run the @Jax... Whiteboard Annotations? > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16242020#comment-16242020 ] Stefan Bischof commented on ARIES-1754: --- Hi Calos, thank you for Updating the dependencys to Jaxrs 2.1 is org.objectweb.asm really nessesary? Maybe it could be declares as Optional. (Becaue it is for ws not rs?) http://cxf.apache.org/docs/21-migration-guide.html [ The +*JAX-WS *+frontend now "requires" asm 2.x or 3.x to be able to process some of the JAXB annotations on the SEI interface. If you don't use those annotations on the SEI, or if you have generated wrapper classes (either via wsdl2java or java2ws with -wrapperbean flag), you can remove the asm jar. If you leave asm jar, there can be conflicts with other apps that use asm. The predominant one is Hibernate. The "workaround" for Hibernate is to remove the asm 1.x jar they use and replace the cglib jar with the cglib-nodeps jar that includes a special internal version of asm that would not conflict with the 2.x/3.x version we need. ] > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16241184#comment-16241184 ] Stefan Bischof commented on ARIES-1754: --- Hi Carlo, in the org.bipolis.mambo.jaxrs.itest i got a org.apache.cxf.transport.servlet.ServletController invoke WARNUNG: Can't find the the request for http://localhost:8080/BasicApplication/RessourceInBasicApp/value's Observer if i request http://localhost:8080/BasicApplication/RessourceInBasicApp/value that should be org.bipolis.mambo.jaxrs.itest.example.basic.application.RessourceInBasicApp.java in the project org.bipolis.mambo.jaxrs.restconsole everything is fine http://localhost:8080/RestConsole/JaxRSWhiteboard/runtime Thanks. Stefan > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16240553#comment-16240553 ] Stefan Bischof commented on ARIES-1754: --- Uploaded https://github.com/bipolis/mambo not working is org.bipolis.mambo.jaxrs.openapi launche the bndrun the other 2 will work: org.bipolis.mambo.jaxrs.example org.bipolis.mambo.jaxrs.restconsole > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
[ https://issues.apache.org/jira/browse/ARIES-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bischof updated ARIES-1754: -- Description: 1. with the newest snapshot from Friday 10.11.2017 All reference of Applications ans Ressources without the .defaule Application can't be got from org.apache.aries.osgi.functional.CachingServiceReference 14:52:54.740 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f can't be got 14:52:54.745 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 can't be got (2.) Can you tell me with bundles so i need to let the Annotations work @JaxrsName(OpenApiApplication.APPLICATION_NAME) @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) 3. I got a null pointer by loading the getRuntimeDTO() when there war a Filter without name gegisteres. Will report it again, if this problem is solved was: 1. with the newest snapshot from Fiday 10.11.2017 All Applications without the .defaule Application can't be got from reference org.apache.aries.osgi.functional.CachingServiceReference 14:52:54.740 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f can't be got 14:52:54.745 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 can't be got (2.) Can you tell me with bundles so i need to let the Annotations work @JaxrsName(OpenApiApplication.APPLICATION_NAME) @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) 3.) I got a null pointer by loading the getRuntimeDTO() when there war a Filter without name gegisteres. Will report it again, if this problem is solved > Application an Ressource CachingServiceReference can't be got > - > > Key: ARIES-1754 > URL: https://issues.apache.org/jira/browse/ARIES-1754 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard >Affects Versions: jax-rs-whiteboard-1.0.0 > Environment: Framework Felix >Reporter: Stefan Bischof >Priority: Blocker > > 1. > with the newest snapshot from Friday 10.11.2017 > All reference of Applications ans Ressources without the .defaule Application > can't be got from org.apache.aries.osgi.functional.CachingServiceReference > 14:52:54.740 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from > reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f > can't be got > 14:52:54.745 [Timer-0] WARN > org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from > reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 > can't be got > (2.) > Can you tell me with bundles so i need to let the Annotations work > @JaxrsName(OpenApiApplication.APPLICATION_NAME) > @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) > 3. > I got a null pointer by loading the getRuntimeDTO() when there war a Filter > without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (ARIES-1754) Application an Ressource CachingServiceReference can't be got
Stefan Bischof created ARIES-1754: - Summary: Application an Ressource CachingServiceReference can't be got Key: ARIES-1754 URL: https://issues.apache.org/jira/browse/ARIES-1754 Project: Aries Issue Type: Bug Components: jax-rs-whiteboard Affects Versions: jax-rs-whiteboard-1.0.0 Environment: Framework Felix Reporter: Stefan Bischof Priority: Blocker 1. with the newest snapshot from Fiday 10.11.2017 All Applications without the .defaule Application can't be got from reference org.apache.aries.osgi.functional.CachingServiceReference 14:52:54.740 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Application from reference org.apache.aries.osgi.functional.CachingServiceReference@5369019f can't be got 14:52:54.745 [Timer-0] WARN org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Resource from reference org.apache.aries.osgi.functional.CachingServiceReference@464309e7 can't be got (2.) Can you tell me with bundles so i need to let the Annotations work @JaxrsName(OpenApiApplication.APPLICATION_NAME) @JaxrsApplicationBase("/" + OpenApiApplication.APPLICATION_NAME) 3.) I got a null pointer by loading the getRuntimeDTO() when there war a Filter without name gegisteres. Will report it again, if this problem is solved -- This message was sent by Atlassian JIRA (v6.4.14#64029)