[
https://issues.apache.org/jira/browse/KNOX-3343?focusedWorklogId=1024440&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1024440
]
ASF GitHub Bot logged work on KNOX-3343:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Jun/26 09:26
Start Date: 10/Jun/26 09:26
Worklog Time Spent: 10m
Work Description: smolnar82 merged PR #1254:
URL: https://github.com/apache/knox/pull/1254
Issue Time Tracking
-------------------
Worklog Id: (was: 1024440)
Time Spent: 20m (was: 10m)
> NPE in RemoteAuthFilter
> -----------------------
>
> Key: KNOX-3343
> URL: https://issues.apache.org/jira/browse/KNOX-3343
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 3.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Checking the Docker-based integration test logs, I found the following stack
> trace re-occurring:
> {code:java}
> Caused by: java.lang.NullPointerException: Cannot invoke "String.hashCode()"
> because "key" is null
> at
> org.apache.knox.gateway.filter.RemoteAuthFilter.hashCacheKey(RemoteAuthFilter.java:364)
> ~[gateway-provider-security-authc-remote-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
> at
> org.apache.knox.gateway.filter.RemoteAuthFilter.doFilter(RemoteAuthFilter.java:225)
> ~[gateway-provider-security-authc-remote-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
> at
> org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:391)
> ~[gateway-server-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
> at
> org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:305)
> ~[gateway-server-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
> at
> org.apache.knox.gateway.filter.XForwardedHeaderFilter.doFilter(XForwardedHeaderFilter.java:50)
> ~[gateway-server-xforwarded-filter-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
> at
> org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:59)
> ~[gateway-spi-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] {code}
> This needs to be fixed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)