java.lang.NullPointerException: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

java.lang.NullPointerException: null
at java.util.Collections$UnmodifiableCollection.(Collections.java:1026)
at java.util.Collections$UnmodifiableSet.(Collections.java:1128)
at java.util.Collections.unmodifiableSet(Collections.java:1118)
at pl.allegro.tech.hermes.consumers.supervisor.workload.SubscriptionAssignmentView.getAssignmentsForConsumerNode(SubscriptionAssignmentView.java:75)
at pl.allegro.tech.hermes.consumers.supervisor.workload.SubscriptionAssignmentView.getSubscriptionsForConsumerNode(SubscriptionAssignmentView.java:71)
at pl.allegro.tech.hermes.consumers.supervisor.workload.mirror.MirroringSupervisorController.assignedSubscriptions(MirroringSupervisorController.java:127)
at pl.allegro.tech.hermes.consumers.supervisor.monitor.ConsumersRuntimeMonitor.checkCorrectness(ConsumersRuntimeMonitor.java:46)
at pl.allegro.tech.hermes.consumers.supervisor.monitor.ConsumersRuntimeMonitor.run(ConsumersRuntimeMonitor.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Once, 8 months ago
2 times, 9 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.