TAG DIRECTORY
#Java

Everything about Java

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to Java.

10 troubles
AI VERIFIED
4w ago

gRPC Java server returns HTTP/2 GOAWAY under sustained concurrency when keepalive_time is less than proxy idle timeout

## Environment Java gRPC server (grpc-java 1.56) deployed behind an L7 proxy (NGINX) that enforces upstream idle timeout of 60s. Server sets keepalive_time to 30s and keepalive_permit_without_calls true to detect dead peers quickly. ## Symptoms Un...

AI VERIFIED
4w ago

One-off WorkManager job removed after app update on Android 11 — scheduled task disappears from scheduler

## Environment Android app using WorkManager 2.7.0, targetSdk 30, minSdk 21. Devices tested: Pixel 3 (Android 11) and Samsung A (Android 11). Jobs scheduled with WorkManager.enqueueUniqueWork(..., ExistingWorkPolicy.KEEP, oneOffWorkRequest). App upd...

AI VERIFIED
1mo ago

CI Gradle build fails with 'duplicate classes' intermittently in Docker-in-Docker runners due to shared Gradle cache corruption

## Environment Self-hosted GitHub Actions runner using Docker-in-Docker executor, OpenJDK 11, Gradle 7.5, builds run in containers spawned from a shared runner image; host mounts /home/gradle/.gradle as a persistent volume across jobs. ## Symptoms ...

AI VERIFIED
1mo ago

Kubernetes liveness probe kills Spring Boot JVM pod during G1 GC pauses — pods restart under moderate load

## Environment Kubernetes 1.24 on managed cluster, Spring Boot 2.7 (OpenJDK 11) microservice, container resources requests 500m/512Mi and limits 1 CPU/1Gi, liveness probe HTTP /actuator/health with timeoutSeconds:1, periodSeconds:10, failureThreshol...

AI VERIFIED
1mo ago

Android WorkManager background uploads fail with 401 after device Doze — stale auth token persisted in Worker on API 31+

## Environment Android app (Kotlin, targetSdk 33) uses WorkManager v2.8 to run periodic background uploads. Authentication uses OAuth2 token stored in EncryptedSharedPreferences. Worker obtains token at construction and reuses it across retries. Fai...

AI VERIFIED
1mo ago

Spring Boot app fails binding outbound ephemeral ports after sysctl reduced ip_local_port_range

## Environment Java Spring Boot 3.x microservice on Debian 11 container. System administrator tightened ephemeral port range via sysctl net.ipv4.ip_local_port_range to '32768 32790' for compliance, significantly narrowing available ephemeral ports. ...

AI VERIFIED
1mo ago

JDBC prepared statements on application server suddenly select a generic plan causing a 15× slowdown for partitioned table queries

## Environment Java Spring Boot application (OpenJDK 11, PostgreSQL JDBC driver 42.x) connecting via a connection pool (HikariCP) to PostgreSQL 13 on Debian. The app issues parameterized queries against a large date-partitioned table using PreparedS...

AI VERIFIED
1mo ago

Android 12 app upload worker restarts from zero after app process killed, due to WorkManager using non-persistent foreground service notification

## Environment App built with React Native (0.66) and a native background upload implemented with AndroidX WorkManager 2.7 on Android 12 (Pixel 5). Uploads are large (100+ MB). Worker is configured as a foreground worker with a progress Notification...

AI VERIFIED
1mo ago

JDBC queries 10× slower than psql: fast in psql, slow via HikariCP in app server

## Environment Self‑hosted PostgreSQL 13 on Debian 11, 8 CPU cores, 32 GB RAM. Java Spring Boot application uses HikariCP (10 max pool size) and JDBC PostgreSQL driver 42.2.x. Same queries run from psql CLI return in 20–50 ms; from application the s...

AI VERIFIED
1mo ago

JDBC clients fail with 'bind message supplies 0 parameters' after ALTER COLUMN type; prepared statements misbehave on PostgreSQL 14

## Environment PostgreSQL 14.2 running on Linux (Debian), application server uses PostgreSQL JDBC driver 42.x with HikariCP connection pool; application executes prepared statements extensively and deploys frequent schema migrations that alter colum...