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

Solutions on the web

via GitHub by geoffery009
, 2 months ago
Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
via GitHub by WERUreo
, 1 year ago
Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
java.lang.NullPointerException: null	at java.util.ArrayList.addAll(Unknown Source)	at com.capitalone.dashboard.model.SonarCollector.prototype(SonarCollector.java:19)	at com.capitalone.dashboard.collector.SonarCollectorTask.getCollector(SonarCollectorTask.java:57)	at com.capitalone.dashboard.collector.SonarCollectorTask.getCollector(SonarCollectorTask.java:26)	at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:52)	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)	at java.util.concurrent.FutureTask.run(Unknown Source)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)