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

via syncope-user by Jesal Dosa, 4 months ago
via syncope-user by Jesal Dosa, 1 year ago
via syncope-user by Jesal Dosa, 1 year ago
via apache.org by Unknown author, 2 years ago
via GitHub by goober
, 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(ArrayList.java:472)
at org.apache.syncope.console.pages.panels.ResourceMappingPanel.getResourceSchemaNames(ResourceMappingPanel.java:405)
at org.apache.syncope.console.pages.panels.ResourceMappingPanel.initResourceSchemaNames(ResourceMappingPanel.java:383)
at org.apache.syncope.console.pages.panels.ResourceMappingPanel.(ResourceMappingPanel.java:150)
at org.apache.syncope.console.pages.ResourceModalPage.(ResourceModalPage.java:66)
at org.apache.syncope.console.pages.Resources$1$1$1.createPage(Resources.java:151)
at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.createPage(ModalWindow.java:807)
at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.getWindowOpenJavaScript(ModalWindow.java:1054)
at org.apache.syncope.console.pages.Resources$1$1.onClick(Resources.java:157)
at org.apache.syncope.console.wicket.markup.html.form.ActionLinksPanel$3.onClick(ActionLinksPanel.java:119)
at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:86)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:184)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Once, 10 months ago
2 times, 1 year ago
56 times, 1 year ago
4 times, 1 year ago
133 times, 1 year ago

Write tip

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