Re: [PR] Bump org.springframework:spring-context from 5.2.9.RELEASE to 5.2.22.RELEASE [sling-org-apache-sling-models-impl]

2024-02-02 Thread via GitHub


sonarcloud[bot] commented on PR #49:
URL: 
https://github.com/apache/sling-org-apache-sling-models-impl/pull/49#issuecomment-1924899077

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl=49)
 **Quality Gate passed**  
   Kudos, no new issues were introduced!
   
   [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-models-impl=49=false=true)
  
   [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-models-impl=49=false=true)
  
   No data about Coverage  
   [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl=49=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl=49)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Bump org.springframework:spring-context from 5.2.9.RELEASE to 5.2.22.RELEASE [sling-org-apache-sling-models-impl]

2024-02-02 Thread via GitHub


dependabot[bot] opened a new pull request, #49:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/49

   Bumps 
[org.springframework:spring-context](https://github.com/spring-projects/spring-framework)
 from 5.2.9.RELEASE to 5.2.22.RELEASE.
   
   Release notes
   Sourced from https://github.com/spring-projects/spring-framework/releases;>org.springframework:spring-context's
 releases.
   
   v5.2.22.RELEASE
   :star: New Features
   
   Refine CachedIntrospectionResults property introspection https://redirect.github.com/spring-projects/spring-framework/issues/28446;>#28446
   
   :lady_beetle: Bug Fixes
   
   Ignore invalid STOMP frame https://redirect.github.com/spring-projects/spring-framework/issues/28444;>#28444
   
   v5.2.21.RELEASE
   :star: New Features
   
   Remove DNS lookups during websocket connection initiation https://redirect.github.com/spring-projects/spring-framework/issues/28281;>#28281
   
   :lady_beetle: Bug Fixes
   
   Improve documentation and matching algorithm in data binders https://redirect.github.com/spring-projects/spring-framework/issues/28334;>#28334
   CodeGenerationException thrown when using AnnotationMBeanExporter on JDK 
17 https://redirect.github.com/spring-projects/spring-framework/issues/28279;>#28279
   ResponseEntity objects are accumulated in ConcurrentReferenceHashMap https://redirect.github.com/spring-projects/spring-framework/issues/28273;>#28273
   NotWritablePropertyException when attempting to declaratively configure 
ClassLoader properties https://redirect.github.com/spring-projects/spring-framework/issues/28272;>#28272
   
   v5.2.20.RELEASE
   :star: New Features
   
   Restrict access to property paths on Class references https://redirect.github.com/spring-projects/spring-framework/issues/28262;>#28262
   Improve diagnostics in SpEL for large array creation https://redirect.github.com/spring-projects/spring-framework/issues/28257;>#28257
   
   v5.2.19.RELEASE
   :star: New Features
   
   Declare serialVersionUID on DefaultAopProxyFactory https://redirect.github.com/spring-projects/spring-framework/issues/27785;>#27785
   Use ByteArrayDecoder in DefaultClientResponse::createException https://redirect.github.com/spring-projects/spring-framework/issues/27667;>#27667
   
   :lady_beetle: Bug Fixes
   
   ProxyFactoryBean getObject called before setInterceptorNames, silently 
creating an invalid proxy [SPR-7582] https://redirect.github.com/spring-projects/spring-framework/issues/27817;>#27817
   Possible NPE in Spring MVC LogFormatUtils https://redirect.github.com/spring-projects/spring-framework/issues/27783;>#27783
   UndertowHeadersAdapter's remove() method violates Map contract https://redirect.github.com/spring-projects/spring-framework/issues/27593;>#27593
   Fix assertion failure messages in DefaultDataBuffer.checkIndex() https://redirect.github.com/spring-projects/spring-framework/issues/27577;>#27577
   
   :notebook_with_decorative_cover: Documentation
   
   Lazy annotation throws exception if non-required bean does not exist https://redirect.github.com/spring-projects/spring-framework/issues/27660;>#27660
   Incorrect Javadoc in [NamedParameter]JdbcOperations.queryForObject 
methods regarding exceptions https://redirect.github.com/spring-projects/spring-framework/issues/27581;>#27581
   DefaultResponseErrorHandler update javadoc comment https://redirect.github.com/spring-projects/spring-framework/issues/27571;>#27571
   
   :hammer: Dependency Upgrades
   
   Upgrade to Reactor Dysprosium-SR25 https://redirect.github.com/spring-projects/spring-framework/issues/27635;>#27635
   Upgrade to Log4j2 2.16.0 https://redirect.github.com/spring-projects/spring-framework/issues/27825;>#27825
   
   
   
   ... (truncated)
   
   
   Commits
   
   https://github.com/spring-projects/spring-framework/commit/8f4c17273499280394c6824d179e25702c8992f4;>8f4c172
 Release v5.2.22.RELEASE
   https://github.com/spring-projects/spring-framework/commit/9f238c997d914cf9162dac9801a2f56dae359a3f;>9f238c9
 Polishing
   https://github.com/spring-projects/spring-framework/commit/50177b1ad3485bd44239b1756f6c14607476fcf2;>50177b1
 Refine CachedIntrospectionResults property introspection
   https://github.com/spring-projects/spring-framework/commit/159a99bbafdd6c01871228113d7042c3f83f360f;>159a99b
 Ignore invalid STOMP frame
   https://github.com/spring-projects/spring-framework/commit/41e158c93de4c62bf3d8aa768592ded42b08f9ef;>41e158c
 Next development version (v5.2.22.BUILD-SNAPSHOT)
   https://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea;>833e750
 Improve documentation and matching algorithm in data binders
   https://github.com/spring-projects/spring-framework/commit/d70054d6864c78a300210490a0fb3af0e1f1b84f;>d70054d
 Upgrade to Log4j2 2.17.2
   https://github.com/spring-projects/spring-framework/commit/36e4951b5efef4bda9227e4ff41df14744aa7efb;>36e4951
 Polishing
   

Re: [PR] SLING-12241 Anonymous sling testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


etugarev commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1924212730

   Thanks @dulvac @rombert @bisswanger, fixed both


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12241) Anonymous sling testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17813749#comment-17813749
 ] 

Evgeny Tugarev commented on SLING-12241:


Good catch, [~rombert], fixed the title/description.

> Anonymous sling testing client throws NPE
> -
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When _null_ is passed as a user name to sling testing client, to mimic the 
> anonymous user, an NPE is thrown in FormBasedAuthInterceptor.
> to reproduce:
> {code:java}
> FormBasedAuthInterceptor interceptor = new 
> FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
> SlingClient anonymousClient = SlingClient.Builder.create(httpServer.getURI(), 
> null, "pass")
> .addInterceptorLast(interceptor).build();
> annonnymousClient.doGet(LOGIN_OK_PATH, 200); // NPE
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)


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

Evgeny Tugarev updated SLING-12241:
---
Description: 
When _null_ is passed as a user name to sling testing client, to mimic the 
anonymous user, an NPE is thrown in FormBasedAuthInterceptor.

to reproduce:
{code:java}
FormBasedAuthInterceptor interceptor = new 
FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
SlingClient anonymousClient = SlingClient.Builder.create(httpServer.getURI(), 
null, "pass")
.addInterceptorLast(interceptor).build();

annonnymousClient.doGet(LOGIN_OK_PATH, 200); // NPE
{code}
 

  was:
When _null_ is passed as a user name to sling testing client, to mimic the 
anonymous user, an NPE is thrown in FormBasedAuthInterceptor.

to reproduce:
{code:java}
FormBasedAuthInterceptor interceptor = new 
FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
"pass")
.addInterceptorLast(interceptor).build();

client.doGet(LOGIN_OK_PATH, 200); // NPE
{code}
 


> Anonymous testing client throws NPE
> ---
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When _null_ is passed as a user name to sling testing client, to mimic the 
> anonymous user, an NPE is thrown in FormBasedAuthInterceptor.
> to reproduce:
> {code:java}
> FormBasedAuthInterceptor interceptor = new 
> FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
> SlingClient anonymousClient = SlingClient.Builder.create(httpServer.getURI(), 
> null, "pass")
> .addInterceptorLast(interceptor).build();
> annonnymousClient.doGet(LOGIN_OK_PATH, 200); // NPE
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-12241) Anonymous sling testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)


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

Evgeny Tugarev updated SLING-12241:
---
Summary: Anonymous sling testing client throws NPE  (was: Anonymous testing 
client throws NPE)

> Anonymous sling testing client throws NPE
> -
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When _null_ is passed as a user name to sling testing client, to mimic the 
> anonymous user, an NPE is thrown in FormBasedAuthInterceptor.
> to reproduce:
> {code:java}
> FormBasedAuthInterceptor interceptor = new 
> FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
> SlingClient anonymousClient = SlingClient.Builder.create(httpServer.getURI(), 
> null, "pass")
> .addInterceptorLast(interceptor).build();
> annonnymousClient.doGet(LOGIN_OK_PATH, 200); // NPE
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)


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

Evgeny Tugarev updated SLING-12241:
---
Description: 
When null is passed as a user name to sling testing client, to mimic the 
anonymous user, an NPE is thrown in FormBasedAuthInterceptor.

to reproduce:
{code:java}
FormBasedAuthInterceptor interceptor = new 
FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
"pass")
.addInterceptorLast(interceptor).build();

client.doGet(LOGIN_OK_PATH, 200); // NPE
{code}
 

  was:
When using the AEM testing Clients: anonymous client to access content on a 
publish instance ( AEMCS)  the client throws an NPE

to reproduce:
{code:java}
 anonymousPublish = cqBaseClassRule.publishRule.getClient(CQClient.class, null, 
null);
 anonymousPublish.doGet("/graphql/execute.json", 204);
{code}
 


> Anonymous testing client throws NPE
> ---
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When null is passed as a user name to sling testing client, to mimic the 
> anonymous user, an NPE is thrown in FormBasedAuthInterceptor.
> to reproduce:
> {code:java}
> FormBasedAuthInterceptor interceptor = new 
> FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
> SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
> "pass")
> .addInterceptorLast(interceptor).build();
> client.doGet(LOGIN_OK_PATH, 200); // NPE
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)


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

Evgeny Tugarev updated SLING-12241:
---
Description: 
When _null_ is passed as a user name to sling testing client, to mimic the 
anonymous user, an NPE is thrown in FormBasedAuthInterceptor.

to reproduce:
{code:java}
FormBasedAuthInterceptor interceptor = new 
FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
"pass")
.addInterceptorLast(interceptor).build();

client.doGet(LOGIN_OK_PATH, 200); // NPE
{code}
 

  was:
When null is passed as a user name to sling testing client, to mimic the 
anonymous user, an NPE is thrown in FormBasedAuthInterceptor.

to reproduce:
{code:java}
FormBasedAuthInterceptor interceptor = new 
FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
"pass")
.addInterceptorLast(interceptor).build();

client.doGet(LOGIN_OK_PATH, 200); // NPE
{code}
 


> Anonymous testing client throws NPE
> ---
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When _null_ is passed as a user name to sling testing client, to mimic the 
> anonymous user, an NPE is thrown in FormBasedAuthInterceptor.
> to reproduce:
> {code:java}
> FormBasedAuthInterceptor interceptor = new 
> FormBasedAuthInterceptor(LOGIN_COOKIE_NAME); 
> SlingClient client = SlingClient.Builder.create(httpServer.getURI(), null, 
> "pass")
> .addInterceptorLast(interceptor).build();
> client.doGet(LOGIN_OK_PATH, 200); // NPE
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


dulvac commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1924188176

   @etugarev I merge it like that for now, but please edit the description for 
this PR and the JIRA ticket


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Andrei Dulvac (Jira)


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

Andrei Dulvac reassigned SLING-12241:
-

Assignee: Andrei Dulvac

> Anonymous testing client throws NPE
> ---
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Assignee: Andrei Dulvac
>Priority: Major
>
> When using the AEM testing Clients: anonymous client to access content on a 
> publish instance ( AEMCS)  the client throws an NPE
> to reproduce:
> {code:java}
>  anonymousPublish = cqBaseClassRule.publishRule.getClient(CQClient.class, 
> null, null);
>  anonymousPublish.doGet("/graphql/execute.json", 204);
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


dulvac merged PR #48:
URL: https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


dulvac commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1924183297

   Thanks a lot for the contribution, @etugarev !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


sonarcloud[bot] commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1923754257

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
 **Quality Gate passed**  
   Kudos, no new issues were introduced!
   
   [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [95.0% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_coverage=list)
  
   [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


sonarcloud[bot] commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1923742183

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
 **Quality Gate passed**  
   The SonarCloud Quality Gate passed, but some issues were introduced.
   
   [1 New 
issue](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [95.0% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_coverage=list)
  
   [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


sonarcloud[bot] commented on PR #48:
URL: 
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48#issuecomment-1923630921

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
 **Quality Gate passed**  
   The SonarCloud Quality Gate passed, but some issues were introduced.
   
   [3 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-testing-clients=48=false=true)
  
   [94.1% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_coverage=list)
  
   [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-testing-clients=48=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-testing-clients=48)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #1250 is FIXED

2024-02-02 Thread Apache Jenkins Server
Please see 
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/1250/
 for details.

No further emails will be sent until the status of the build is changed.

[PR] SLING-12241 Anonymous testing client throws NPE [sling-org-apache-sling-testing-clients]

2024-02-02 Thread via GitHub


etugarev opened a new pull request, #48:
URL: https://github.com/apache/sling-org-apache-sling-testing-clients/pull/48

   https://issues.apache.org/jira/browse/SLING-12241
   
   When using the AEM testing Clients: anonymous client to access content on a 
publish instance ( AEMCS)  the client throws an NPE
   
   to reproduce:
   
   ```
anonymousPublish = cqBaseClassRule.publishRule.getClient(CQClient.class, 
null, null);
anonymousPublish.doGet("/graphql/execute.json", 204);
   ```

   What is inside this PR
   
   - NPE fix
   - Added test coverage
   - Fixed compiler warnings
   - Added missing javadoc
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #1249 is BROKEN

2024-02-02 Thread Apache Jenkins Server
Please see 
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/1249/
 for details.

No further emails will be sent until the status of the build is changed.
Build log follows below:

[...truncated 101 lines...]
[Pipeline] checkout
The recommended git tool is: NONE
using credential sling-github-token
Fetching changes from the remote Git repository
 > git rev-parse --resolve-git-dir 
 > /home/jenkins/workspace/_org-apache-sling-starter_master@2/.git # timeout=10
Fetching without tags
 > git config remote.origin.url 
 > https://github.com/apache/sling-org-apache-sling-starter.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/sling-org-apache-sling-starter.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials Personal access token for Github 
repository access. Use with Apache Sling jobs only.
 > git fetch --no-tags --force --progress -- 
 > https://github.com/apache/sling-org-apache-sling-starter.git 
 > +refs/heads/master:refs/remotes/origin/master # timeout=10
Checking out Revision b85a9786606baeb278b984c921b3d8294c5f8862 (master)
Commit message: "chore(deps): update dependency 
org.apache.felix:org.apache.felix.http.jetty to v5.1.8 (#302)"
Cleaning workspace
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b85a9786606baeb278b984c921b3d8294c5f8862 # timeout=10
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10

GitHub has been notified of this commit’s build result

[Pipeline] withMaven
[withMaven] WARNING: You are running an old version of Maven (UNKNOWN), you 
should update to at least 3.8.x
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
+ mvn -U -B -e clean compile -Dit.startTimeoutSeconds=120
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="/home/jenkins/workspace/_org-apache-sling-starter_master@2@tmp/withMavenc3ee42cf/pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/home/jenkins/workspace/_org-apache-sling-starter_master@2@tmp/withMavenc3ee42cf"
 
[INFO] [jenkins-event-spy] Generate 
/home/jenkins/workspace/_org-apache-sling-starter_master@2@tmp/withMavenc3ee42cf/maven-spy-20240202-100300-7032873416184746601576.log.tmp
 ...
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[INFO] -< org.apache.sling:org.apache.sling.starter >--
[INFO] Building Apache Sling Starter 13-SNAPSHOT
[INFO]   from pom.xml
[INFO] [ jar ]-
[INFO] Downloading from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.integration-tests/13-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.integration-tests/13-SNAPSHOT/maven-metadata.xml
 (1.0 kB at 924 B/s)
[INFO] Downloading from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.test-services/13-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.test-services/13-SNAPSHOT/maven-metadata.xml
 (1.0 kB at 2.8 kB/s)
[INFO] Downloading from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.test-fragment/13-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from Nexus: 
https://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.launchpad.test-fragment/13-SNAPSHOT/maven-metadata.xml
 (1.0 kB at 2.7 kB/s)
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ org.apache.sling.starter ---
[INFO] Deleting /home/jenkins/workspace/_org-apache-sling-starter_master@2 
(includes = [sling/**, coverage.ec, launcher/**], excludes = [])
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-maven-version) @ 
org.apache.sling.starter ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-java-version) @ 
org.apache.sling.starter ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-sling-java-version) @ 
org.apache.sling.starter ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-explicit-scope) @ 
org.apache.sling.starter ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.RequireExplicitDependencyScope 
passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-scope-of-annotation-deps) @ 
org.apache.sling.starter ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies 
passed
[INFO] 
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ 
org.apache.sling.star

Re: [PR] chore(deps): update dependency org.apache.felix:org.apache.felix.http.jetty to v5.1.8 [sling-org-apache-sling-starter]

2024-02-02 Thread via GitHub


rombert merged PR #302:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/302


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] chore(deps): update dependency org.apache.sling:org.apache.sling.servlets.resolver to v2.11.0 [sling-org-apache-sling-starter]

2024-02-02 Thread via GitHub


rombert merged PR #303:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/303


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17813601#comment-17813601
 ] 

Robert Munteanu commented on SLING-12241:
-

Thanks for the report [~etugarev]. As it stands, this issue is not actionable 
to Sling, we don't have access to "CQClient.class" or to "AEMCS". Can you 
please rephrase this in a way that is applicable to Sling?

> Anonymous testing client throws NPE
> ---
>
> Key: SLING-12241
> URL: https://issues.apache.org/jira/browse/SLING-12241
> Project: Sling
>  Issue Type: Bug
>  Components: Apache Sling Testing Clients
>Affects Versions: Apache Sling Testing Clients 3.0.22
>Reporter: Evgeny Tugarev
>Priority: Major
>
> When using the AEM testing Clients: anonymous client to access content on a 
> publish instance ( AEMCS)  the client throws an NPE
> to reproduce:
> {code:java}
>  anonymousPublish = cqBaseClassRule.publishRule.getClient(CQClient.class, 
> null, null);
>  anonymousPublish.doGet("/graphql/execute.json", 204);
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12241) Anonymous testing client throws NPE

2024-02-02 Thread Evgeny Tugarev (Jira)
Evgeny Tugarev created SLING-12241:
--

 Summary: Anonymous testing client throws NPE
 Key: SLING-12241
 URL: https://issues.apache.org/jira/browse/SLING-12241
 Project: Sling
  Issue Type: Bug
  Components: Apache Sling Testing Clients
Affects Versions: Apache Sling Testing Clients 3.0.22
Reporter: Evgeny Tugarev


When using the AEM testing Clients: anonymous client to access content on a 
publish instance ( AEMCS)  the client throws an NPE

to reproduce:
{code:java}
 anonymousPublish = cqBaseClassRule.publishRule.getClient(CQClient.class, null, 
null);
 anonymousPublish.doGet("/graphql/execute.json", 204);
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)