You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2026/06/10 07:33:00 UTC
[jira] [Created] (KNOX-3343) NPE in RemoteAuthFilter
Sandor Molnar created KNOX-3343:
-----------------------------------
Summary: 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
Fix For: 3.0.0
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)